Onethinx LoRaWAN module
macStatus_t Union Reference

#include <OnethinxCore01.h>

Data Fields

struct {
   macErrors_e   errorStatus: 8
 MAC Errors. More...
 
   uint8_t   bytesToRead: 8
 Total bytes in Receive buffer. More...
 
   uint8_t   __pad0__: 1
 reserved More...
 
   bool   MACcmdReceived: 1
 The MAC received a MAC command (implemented since Stack version 0x000000BC) More...
 
   bool   confDown: 1
 Is a confirmed downlink received? (implemented since Stack version 0x000000B5) More...
 
   bool   isConfigured: 1
 The MAC is configured? More...
 
   bool   messageReceived: 1
 The MAC received a message. More...
 
   bool   isJoined: 1
 Is Device Joined? More...
 
   bool   isBusy: 1
 Is the MAC busy? More...
 
   bool   isPublicNetwork: 1
 True for LoRaWAN Public Network. More...
 
   uint32_t   devAddr
 The Device address received when joining the network. More...
 
   uint8_t   Margin
 The Demodulation Margin (in dB above the demodulation floor) for last LinkCheckReq command (implemented since Stack version 0x000000BC) More...
 
   uint8_t   GwCnt
 The number of gateways that successfully received the last LinkCheckReq command (implemented since Stack version 0x000000BC) More...
 
   uint8_t   fPort
 The port number of the last received packet (implemented since Stack version 0x000000BC) More...
 
}; 
 
uint8_t reserved [16]
 

Field Documentation

◆ 

struct { ... }

◆ __pad0__

uint8_t __pad0__

reserved

◆ bytesToRead

uint8_t bytesToRead

Total bytes in Receive buffer.

◆ confDown

bool confDown

Is a confirmed downlink received? (implemented since Stack version 0x000000B5)

◆ devAddr

uint32_t devAddr

The Device address received when joining the network.

◆ errorStatus

macErrors_e errorStatus

MAC Errors.

◆ fPort

uint8_t fPort

The port number of the last received packet (implemented since Stack version 0x000000BC)

◆ GwCnt

uint8_t GwCnt

The number of gateways that successfully received the last LinkCheckReq command (implemented since Stack version 0x000000BC)

◆ isBusy

bool isBusy

Is the MAC busy?

◆ isConfigured

bool isConfigured

The MAC is configured?

◆ isJoined

bool isJoined

Is Device Joined?

◆ isPublicNetwork

bool isPublicNetwork

True for LoRaWAN Public Network.

◆ MACcmdReceived

bool MACcmdReceived

The MAC received a MAC command (implemented since Stack version 0x000000BC)

◆ Margin

uint8_t Margin

The Demodulation Margin (in dB above the demodulation floor) for last LinkCheckReq command (implemented since Stack version 0x000000BC)

◆ messageReceived

bool messageReceived

The MAC received a message.

◆ reserved

uint8_t reserved[16]