Show / Hide Table of Contents

    Class IU880BModem

    Represents a physical iMST IU880B iU880B LoRa Modem.

    Inheritance
    System.Object
    IU880BModem
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FosterBuster.IU880B
    Assembly: IU880B.dll
    Syntax
    public sealed class IU880BModem

    Constructors

    | Improve this Doc View Source

    IU880BModem(IOptions<IU880BOptions>, ILoggerFactory, PortFinder)

    Initializes a new instance of the IU880BModem class.

    Declaration
    public IU880BModem(IOptions<IU880BOptions> options, ILoggerFactory loggerFactory, PortFinder portfinder)
    Parameters
    Type Name Description
    Microsoft.Extensions.Options.IOptions<IU880BOptions> options

    options object.

    Microsoft.Extensions.Logging.ILoggerFactory loggerFactory

    loggerfactory.

    PortFinder portfinder

    port finder.

    Methods

    | Improve this Doc View Source

    SetReceiver(Func<RxHciMessage, Task>)

    Set the action to be triggered, when new data is available.

    Declaration
    public void SetReceiver(Func<RxHciMessage, Task> onData)
    Parameters
    Type Name Description
    System.Func<RxHciMessage, System.Threading.Tasks.Task> onData

    the action to be triggered.

    | Improve this Doc View Source

    TransmitMessage(TxHciMessage)

    Transmits the passed message to the physical modem.

    Declaration
    public Task TransmitMessage(TxHciMessage message)
    Parameters
    Type Name Description
    TxHciMessage message

    the message to be sent.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX