Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InformationDownlink ¶
type InformationDownlink struct { MType lorawan.MType `json:"-"` //per FPending FOptsReceived []lorawan.Payload `json:"-"` ACK bool `json:"-"` DataPayload []byte `json:"-"` FPending bool `json:"-"` DwellTime lorawan.DwellTime `json:"-"` }
Downlink set with info of resp
func GetDownlink ¶
func GetDownlink(phy lorawan.PHYPayload, disableCounter bool, counter uint32, NwkSKey [16]byte, AppSKey [16]byte) (*InformationDownlink, error)
type ReceivedDownlink ¶
type ReceivedDownlink struct { Mutex sync.Mutex Downlink *lorawan.PHYPayload Notify *sync.Cond IsOpen bool }
func (*ReceivedDownlink) Close ¶
func (b *ReceivedDownlink) Close()
func (*ReceivedDownlink) Open ¶
func (b *ReceivedDownlink) Open()
func (*ReceivedDownlink) Pull ¶
func (b *ReceivedDownlink) Pull() *lorawan.PHYPayload
func (*ReceivedDownlink) Push ¶
func (b *ReceivedDownlink) Push(data *lorawan.PHYPayload)
func (*ReceivedDownlink) Signal ¶
func (b *ReceivedDownlink) Signal()
func (*ReceivedDownlink) Wait ¶
func (b *ReceivedDownlink) Wait()
Click to show internal directories.
Click to hide internal directories.