Class LoraDevice
Implements lora device capabilities
Inheritance
System.Object
LoraDevice
Assembly: cs.temp.dll.dll
Syntax
public class LoraDevice : RfDevice<LoraMessage>, RfTransmiter, RfReceiver
Properties
DeviceId
Declaration
public override int DeviceId { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Protocol
Declaration
public override string Protocol { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
ChangeId(Int32)
Declaration
public void ChangeId(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
GetTransmiterParams()
Declaration
public override RfTransmitterParams GetTransmiterParams()
Returns
Overrides
OnReceive(LoraMessage)
Declaration
protected override void OnReceive(LoraMessage msg)
Parameters
Overrides
Marus.Communications.Rf.RfDevice<Marus.Communications.Rf.LoraMessage>.OnReceive(Marus.Communications.Rf.LoraMessage)
Send(LoraMessage, Action<LoraMessage>, Action<LoraMessage>)
Declaration
protected override void Send(LoraMessage msg, Action<LoraMessage> onAcknowledgeCallback = null, Action<LoraMessage> onTimeoutCallback = null)
Parameters
Overrides
Marus.Communications.Rf.RfDevice<Marus.Communications.Rf.LoraMessage>.Send(Marus.Communications.Rf.LoraMessage, Action<Marus.Communications.Rf.LoraMessage>, Action<Marus.Communications.Rf.LoraMessage>)
Events
OnReceiveEvent
Declaration
public event Action<LoraDevice, LoraMessage> OnReceiveEvent
Event Type
Implements