LoRaMAC  4.6.0
Documentation of the API
LoRaMac.h
Go to the documentation of this file.
1 
66 #ifndef __LORAMAC_H__
67 #define __LORAMAC_H__
68 
69 #ifdef __cplusplus
70 extern "C"
71 {
72 #endif
73 
74 #include <stdint.h>
75 #include <stdbool.h>
76 
77 #include "timer.h"
78 #include "systime.h"
79 #include "LoRaMacTypes.h"
80 
81 #include "RegionNvm.h"
82 #include "LoRaMacCryptoNvm.h"
83 #include "secure-element-nvm.h"
84 #include "LoRaMacClassBNvm.h"
85 
89 #define MAX_ACK_RETRIES 8
90 
94 #define UP_LINK 0
95 
99 #define DOWN_LINK 1
100 
104 #define LORA_MAC_MLME_CONFIRM_QUEUE_LEN 5
105 
109 #define LORAMAC_CRYPTO_MULTICAST_KEYS 127
110 
114 #define LORA_MAC_COMMAND_MAX_LENGTH 128
115 
116 
120 #define LORAMAC_NVM_NOTIFY_FLAG_NONE 0x00
121 
125 #define LORAMAC_NVM_NOTIFY_FLAG_CRYPTO 0x01
126 
130 #define LORAMAC_NVM_NOTIFY_FLAG_MAC_GROUP1 0x02
131 
135 #define LORAMAC_NVM_NOTIFY_FLAG_MAC_GROUP2 0x04
136 
140 #define LORAMAC_NVM_NOTIFY_FLAG_SECURE_ELEMENT 0x08
141 
145 #define LORAMAC_NVM_NOTIFY_FLAG_REGION_GROUP1 0x10
146 
150 #define LORAMAC_NVM_NOTIFY_FLAG_REGION_GROUP2 0x20
151 
155 #define LORAMAC_NVM_NOTIFY_FLAG_CLASS_B 0x40
156 
162 #define LORAMAC_CERT_FPORT 224
163 
167 typedef enum eActivationType
168 {
182 
186 typedef struct sRxChannelParams
187 {
191  uint32_t Frequency;
199  uint8_t Datarate;
201 
205 typedef enum eLoRaMacRxSlot
206 {
236 
240 typedef struct sLoRaMacParams
241 {
252  uint8_t MinRxSymbols;
256  uint32_t MaxRxWindow;
260  uint32_t ReceiveDelay1;
264  uint32_t ReceiveDelay2;
280  uint8_t Rx1DrOffset;
300  float MaxEirp;
304  float AntennaGain;
306 
312 typedef union uPingSlotInfo
313 {
317  uint8_t Value;
321  struct sInfoFields
322  {
327  uint8_t Periodicity : 3;
331  uint8_t RFU : 5;
332  }Fields;
334 
340 typedef struct sBeaconInfo
341 {
346  SysTime_t Time;
350  uint32_t Frequency;
354  uint8_t Datarate;
358  int16_t Rssi;
362  int8_t Snr;
373  uint8_t Param;
378  struct sGwSpecific
379  {
383  uint8_t InfoDesc;
387  uint8_t Info[6];
388  }GwSpecific;
389 }BeaconInfo_t;
390 
394 typedef enum eLoRaMacEventInfoStatus
395 {
464 
468 typedef union eLoRaMacFlags_t
469 {
473  uint8_t Value;
478  {
482  uint8_t McpsReq : 1;
486  uint8_t McpsInd : 1;
490  uint8_t MlmeReq : 1;
494  uint8_t MlmeInd : 1;
498  uint8_t MacDone : 1;
502  uint8_t NvmHandle : 1;
503  }Bits;
505 
509 typedef enum eLoRaMacRegion
510 {
552 
553 typedef struct sLoRaMacNvmDataGroup1
554 {
558  uint32_t AdrAckCounter;
562  TimerTime_t LastTxDoneTime;
566  TimerTime_t AggregatedTimeOff;
570  uint32_t LastRxMic;
603  uint32_t Crc32;
605 
606 typedef struct sLoRaMacNvmDataGroup2
607 {
608  /*
609  * LoRaMac region.
610  */
611  LoRaMacRegion_t Region;
612  /*
613  * LoRaMac parameters
614  */
615  LoRaMacParams_t MacParams;
616  /*
617  * LoRaMac default parameters
618  */
619  LoRaMacParams_t MacParamsDefaults;
628  /*
629  * Network ID ( 3 bytes )
630  */
631  uint32_t NetID;
632  /*
633  * Mote Address
634  */
635  uint32_t DevAddr;
639  MulticastCtx_t MulticastChannelList[LORAMAC_MAX_MC_CTX];
640  /*
641  * Actual device class
642  */
643  DeviceClass_t DeviceClass;
644  /*
645  * Indicates if the node is connected to
646  * a private or public network
647  */
648  bool PublicNetwork;
649  /*
650  * LoRaMac ADR control status
651  */
652  bool AdrCtrlOn;
653  /*
654  * Maximum duty cycle
655  * \remark Possibility to shutdown the device.
656  */
657  uint8_t MaxDCycle;
658  /*
659  * Enables/Disables duty cycle management (Test only)
660  */
661  bool DutyCycleOn;
662  /*
663  * Set to true, if the datarate was increased
664  * with a link adr request.
665  */
666  bool ChannelsDatarateChangedLinkAdrReq;
667  /*
668  * The stack will set this variable to true, if a downlink has been received.
669  */
670  bool DownlinkReceived;
671  /*
672  * Enables/disable FPort 224 processing (certification port)
673  */
674  bool IsCertPortOn;
675  /*
676  * Aggregated duty cycle management
677  */
678  uint16_t AggregatedDCycle;
679  /*
680  * Stores the time at LoRaMac initialization.
681  *
682  * \remark Used for the BACKOFF_DC computation.
683  */
684  SysTime_t InitializationTime;
685  /*
686  * Current LoRaWAN Version
687  */
688  Version_t Version;
689  /*
690  * End-Device network activation
691  */
692  ActivationType_t NetworkActivation;
729  uint32_t Crc32;
731 
736 typedef struct sLoRaMacNvmData
737 {
772 
796 typedef enum eMcps
797 {
814 }Mcps_t;
815 
819 typedef struct sRequestReturnParam
820 {
826  TimerTime_t DutyCycleWaitTime;
828 
832 typedef struct sMcpsReqUnconfirmed
833 {
840  uint8_t fPort;
844  void* fBuffer;
848  uint16_t fBufferSize;
852  int8_t Datarate;
854 
858 typedef struct sMcpsReqConfirmed
859 {
866  uint8_t fPort;
870  void* fBuffer;
874  uint16_t fBufferSize;
878  int8_t Datarate;
880 
884 typedef struct sMcpsReqProprietary
885 {
889  void* fBuffer;
893  uint16_t fBufferSize;
897  int8_t Datarate;
899 
903 typedef struct sMcpsReq
904 {
909 
914  {
927  }Req;
928 
933 }McpsReq_t;
934 
938 typedef struct sMcpsConfirm
939 {
951  uint8_t Datarate;
955  int8_t TxPower;
963  uint8_t NbTrans;
967  TimerTime_t TxTimeOnAir;
971  uint32_t UpLinkCounter;
975  uint32_t Channel;
977 
981 typedef struct sMcpsIndication
982 {
994  uint8_t Multicast;
998  uint8_t Port;
1002  uint8_t RxDatarate;
1010  uint8_t* Buffer;
1014  uint8_t BufferSize;
1018  bool RxData;
1022  int16_t Rssi;
1026  int8_t Snr;
1042  uint32_t DevAddress;
1052  TimerTime_t ResponseTimeout;
1054 
1081 typedef enum eMlme
1082 {
1172 }Mlme_t;
1173 
1177 typedef struct sMlmeReqJoin
1178 {
1188  uint8_t Datarate;
1189 }MlmeReqJoin_t;
1190 
1194 typedef struct sMlmeReqTxCw
1195 {
1199  uint16_t Timeout;
1203  uint32_t Frequency;
1207  int8_t Power;
1208 }MlmeReqTxCw_t;
1209 
1213 typedef struct sMlmeReqPingSlotInfo
1214 {
1215  PingSlotInfo_t PingSlot;
1217 
1221 typedef struct sMlmeReqDeriveMcKEKey
1222 {
1230  uint16_t Nonce;
1234  uint8_t* DevEUI;
1236 
1240 typedef struct sMlmeReqDeriveMcSessionKeyPair
1241 {
1247 
1251 typedef struct sMlmeReq
1252 {
1257 
1262  {
1283  }Req;
1284 
1289 }MlmeReq_t;
1290 
1294 typedef struct sMlmeConfirm
1295 {
1307  TimerTime_t TxTimeOnAir;
1312  uint8_t DemodMargin;
1316  uint8_t NbGateways;
1320  uint8_t NbRetries;
1325  TimerTime_t BeaconTimingDelay;
1330 }MlmeConfirm_t;
1331 
1335 typedef struct sMlmeIndication
1336 {
1351 
1439 typedef enum eMib
1440 {
1862 }Mib_t;
1863 
1867 typedef union uMibParam
1868 {
1886  uint8_t* DevEui;
1892  uint8_t* JoinEui;
1898  uint8_t* SePin;
1910  uint32_t NetID;
1916  uint32_t DevAddr;
1922  uint8_t* AppKey;
1928  uint8_t* NwkKey;
1934  uint8_t* JSIntKey;
1940  uint8_t* JSEncKey;
1946  uint8_t* FNwkSIntKey;
1952  uint8_t* SNwkSIntKey;
1958  uint8_t* NwkSEncKey;
1964  uint8_t* AppSKey;
1970  uint8_t* McKEKey;
1976  uint8_t* McKey0;
1982  uint8_t* McAppSKey0;
1988  uint8_t* McNwkSKey0;
1994  uint8_t* McKey1;
2000  uint8_t* McAppSKey1;
2006  uint8_t* McNwkSKey1;
2012  uint8_t* McKey2;
2018  uint8_t* McAppSKey2;
2024  uint8_t* McNwkSKey2;
2030  uint8_t* McKey3;
2036  uint8_t* McAppSKey3;
2042  uint8_t* McNwkSKey3;
2084  uint16_t* ChannelsMask;
2102  uint32_t MaxRxWindow;
2108  uint32_t ReceiveDelay1;
2114  uint32_t ReceiveDelay2;
2174  uint8_t MinRxSymbols;
2194  /*
2195  * LoRaWAN MAC layer operating version when activated by ABP.
2196  *
2197  * Related MIB type: \ref MIB_ABP_LORAWAN_VERSION
2198  */
2199  Version_t AbpLrWanVersion;
2200  /*
2201  * LoRaWAN MAC regional parameter version.
2202  *
2203  * Related MIB type: \ref MIB_LORAWAN_VERSION
2204  */
2206  {
2207  Version_t LoRaWan;
2208  Version_t LoRaWanRegion;
2209  }LrWanVersion;
2227  uint32_t BeaconInterval;
2233  uint32_t BeaconReserved;
2239  uint32_t BeaconGuard;
2245  uint32_t BeaconWindow;
2257  uint32_t PingSlotWindow;
2308 }MibParam_t;
2309 
2313 typedef struct eMibRequestConfirm
2314 {
2319 
2325 
2329 typedef struct sLoRaMacTxInfo
2330 {
2341 
2345 typedef enum eLoRaMacStatus
2346 {
2410  LORAMAC_STATUS_NO_CHANNEL_FOUND,
2414  LORAMAC_STATUS_NO_FREE_CHANNEL_FOUND,
2456 
2461 typedef struct sLoRaMacPrimitives
2462 {
2468  void ( *MacMcpsConfirm )( McpsConfirm_t* McpsConfirm );
2474  void ( *MacMcpsIndication )( McpsIndication_t* McpsIndication );
2480  void ( *MacMlmeConfirm )( MlmeConfirm_t* MlmeConfirm );
2486  void ( *MacMlmeIndication )( MlmeIndication_t* MlmeIndication );
2488 
2492 typedef struct sLoRaMacCallback
2493 {
2502  uint8_t ( *GetBatteryLevel )( void );
2508  float ( *GetTemperatureLevel )( void );
2515  void ( *NvmDataChange )( uint16_t notifyFlags );
2522  void ( *MacProcessNotify )( void );
2524 
2525 
2529 static const uint8_t LoRaMacMaxEirpTable[] = { 8, 10, 12, 13, 14, 16, 18, 20, 21, 24, 26, 27, 29, 30, 33, 36 };
2530 
2554 
2563 
2572 
2578 bool LoRaMacIsBusy( void );
2579 
2585 void LoRaMacProcess( void );
2586 
2612 LoRaMacStatus_t LoRaMacQueryTxPossible( uint8_t size, LoRaMacTxInfo_t* txInfo );
2613 
2630 LoRaMacStatus_t LoRaMacChannelAdd( uint8_t id, ChannelParams_t params );
2631 
2645 
2660 
2674 
2683 uint8_t LoRaMacMcChannelGetGroupId( uint32_t mcAddress );
2684 
2700 LoRaMacStatus_t LoRaMacMcChannelSetupRxParams( AddressIdentifier_t groupID, McRxParams_t *rxParams, uint8_t *status );
2701 
2729 
2760 
2793 
2827 
2839 
2842 #ifdef __cplusplus
2843 }
2844 #endif
2845 
2846 #endif // __LORAMAC_H__
MIB_PING_SLOT_DATARATE
Definition: LoRaMac.h:1857
MIB_ABP_LORAWAN_VERSION
Definition: LoRaMac.h:1783
MibParam_t::McAppSKey0
uint8_t * McAppSKey0
Definition: LoRaMac.h:1982
LoRaMacNvmDataGroup1_t::LastTxDoneTime
TimerTime_t LastTxDoneTime
Definition: LoRaMac.h:562
MibParam_t::DevEui
uint8_t * DevEui
Definition: LoRaMac.h:1886
MIB_REJOIN_0_CYCLE
Definition: LoRaMac.h:1791
LoRaMacStop
LoRaMacStatus_t LoRaMacStop(void)
Stops LoRaMAC layer.
LoRaMacNvmDataGroup1_t::ChannelsDatarate
int8_t ChannelsDatarate
Definition: LoRaMac.h:578
MIB_NWK_KEY
Definition: LoRaMac.h:1500
MIB_MC_KEY_1
Definition: LoRaMac.h:1566
MIB_REJOIN_2_CYCLE
Definition: LoRaMac.h:1799
LORAMAC_REGION_US915
Definition: LoRaMac.h:546
McpsReq_t::Type
Mcps_t Type
Definition: LoRaMac.h:908
LoRaMacFlags_t::sMacFlagBits::McpsInd
uint8_t McpsInd
Definition: LoRaMac.h:486
LoRaMacNvmDataGroup2_t::ForceRejoinMaxRetries
uint8_t ForceRejoinMaxRetries
Definition: LoRaMac.h:703
LoRaMacDeInitialization
LoRaMacStatus_t LoRaMacDeInitialization(void)
LoRaMAC deinitialization.
MibParam_t::FNwkSIntKey
uint8_t * FNwkSIntKey
Definition: LoRaMac.h:1946
PingSlotInfo_t::sInfoFields
Definition: LoRaMac.h:321
LORAMAC_STATUS_LENGTH_ERROR
Definition: LoRaMac.h:2382
MIB_CHANNELS_DEFAULT_DATARATE
Definition: LoRaMac.h:1718
MibParam_t::ChannelsDefaultDatarate
int8_t ChannelsDefaultDatarate
Definition: LoRaMac.h:2138
RegionNvmDataGroup1_t
Definition: RegionNvm.h:89
MIB_BEACON_RESERVED
Definition: LoRaMac.h:1807
MIB_DEVICE_CLASS
Definition: LoRaMac.h:1446
LORAMAC_REGION_KR920
Definition: LoRaMac.h:538
McpsReq_t::uMcpsParam::Confirmed
McpsReqConfirmed_t Confirmed
Definition: LoRaMac.h:922
LORAMAC_STATUS_PARAMETER_INVALID
Definition: LoRaMac.h:2362
MIB_BEACON_SYMBOL_TO_EXPANSION_FACTOR
Definition: LoRaMac.h:1840
MibParam_t::Contexts
LoRaMacNvmData_t * Contexts
Definition: LoRaMac.h:2193
MIB_NVM_CTXS
Definition: LoRaMac.h:1779
LoRaMacFlags_t::sMacFlagBits::MlmeInd
uint8_t MlmeInd
Definition: LoRaMac.h:494
LoRaMacNvmData_t::SecureElement
SecureElementNvmData_t SecureElement
Definition: LoRaMac.h:756
LoRaMacMcpsRequest
LoRaMacStatus_t LoRaMacMcpsRequest(McpsReq_t *mcpsRequest)
LoRaMAC MCPS-Request.
LoRaMacNvmData_t::MacGroup1
LoRaMacNvmDataGroup1_t MacGroup1
Definition: LoRaMac.h:747
LoRaMacStatus_t
LoRaMacStatus_t
Definition: LoRaMac.h:2345
MIB_JOIN_EUI
Definition: LoRaMac.h:1464
LORAMAC_STATUS_REGION_NOT_SUPPORTED
Definition: LoRaMac.h:2387
RX_SLOT_WIN_CLASS_B_PING_SLOT
Definition: LoRaMac.h:226
LoRaMacParams_t::ReceiveDelay2
uint32_t ReceiveDelay2
Definition: LoRaMac.h:264
LORAMAC_STATUS_SKIPPED_APP_DATA
Definition: LoRaMac.h:2392
MibParam_t::EnablePublicNetwork
bool EnablePublicNetwork
Definition: LoRaMac.h:2048
LORAMAC_STATUS_NO_NETWORK_JOINED
Definition: LoRaMac.h:2378
MCPS_UNCONFIRMED
Definition: LoRaMac.h:801
MIB_CHANNELS
Definition: LoRaMac.h:1630
LoRaMacNvmData_t::RegionGroup1
RegionNvmDataGroup1_t RegionGroup1
Definition: LoRaMac.h:761
MIB_F_NWK_S_INT_KEY
Definition: LoRaMac.h:1518
MCPS_MULTICAST
Definition: LoRaMac.h:809
LoRaMacNvmDataGroup2_t
Definition: LoRaMac.h:606
MIB_DEFAULT_ANTENNA_GAIN
Definition: LoRaMac.h:1775
MlmeConfirm_t::MlmeRequest
Mlme_t MlmeRequest
Definition: LoRaMac.h:1299
LoRaMacNvmData_t::ClassB
LoRaMacClassBNvmData_t ClassB
Definition: LoRaMac.h:770
LORAMAC_EVENT_INFO_STATUS_BEACON_NOT_FOUND
Definition: LoRaMac.h:462
MLME_REJOIN_1
Definition: LoRaMac.h:1104
MIB_MC_KEY_2
Definition: LoRaMac.h:1584
MIB_BEACON_WINDOW
Definition: LoRaMac.h:1815
LoRaMacParams_t::AntennaGain
float AntennaGain
Definition: LoRaMac.h:304
MibParam_t::McAppSKey2
uint8_t * McAppSKey2
Definition: LoRaMac.h:2018
LoRaMacNvmData_t::MacGroup2
LoRaMacNvmDataGroup2_t MacGroup2
Definition: LoRaMac.h:752
LORAMAC_STATUS_CONFIRM_QUEUE_ERROR
Definition: LoRaMac.h:2446
RxChannelParams_t
Definition: LoRaMac.h:186
LoRaMacPrimitives_t
Definition: LoRaMac.h:2461
LoRaMacNvmDataGroup1_t::ChannelsTxPower
int8_t ChannelsTxPower
Definition: LoRaMac.h:574
MibParam_t::McKey1
uint8_t * McKey1
Definition: LoRaMac.h:1994
DeviceClass_t
DeviceClass_t
Definition: LoRaMacTypes.h:571
MLME_TXCW
Definition: LoRaMac.h:1116
secure-element-nvm.h
Secure Element non-volatile data.
RxChannelParams_t::Datarate
uint8_t Datarate
Definition: LoRaMac.h:199
LoRaMacFlags_t
Definition: LoRaMac.h:468
Mib_t
Mib_t
Definition: LoRaMac.h:1439
LoRaMacParams_t::Rx2Channel
RxChannelParams_t Rx2Channel
Definition: LoRaMac.h:284
ACTIVATION_TYPE_OTAA
Definition: LoRaMac.h:180
RX_SLOT_WIN_CLASS_C
Definition: LoRaMac.h:218
MlmeIndication_t::BeaconInfo
BeaconInfo_t BeaconInfo
Definition: LoRaMac.h:1349
MibParam_t::PingSlotSymbolToExpansionMax
uint32_t PingSlotSymbolToExpansionMax
Definition: LoRaMac.h:2275
MIB_DEV_ADDR
Definition: LoRaMac.h:1488
LoRaMacTypes.h
LoRa MAC layer internal types definition. Please do not include in application sources.
MlmeIndication_t
Definition: LoRaMac.h:1335
LoRaMacNvmDataGroup2_t::Rejoin1CycleInSec
uint32_t Rejoin1CycleInSec
Definition: LoRaMac.h:716
LoRaMacNvmDataGroup2_t::Rejoin0UplinksLimit
uint32_t Rejoin0UplinksLimit
Definition: LoRaMac.h:698
MLME_BEACON_TIMING
Definition: LoRaMac.h:1156
MIB_MC_NWK_S_KEY_0
Definition: LoRaMac.h:1560
MIB_ADR
Definition: LoRaMac.h:1476
MibParam_t::ChannelsMask
uint16_t * ChannelsMask
Definition: LoRaMac.h:2084
MibParam_t::BeaconGuard
uint32_t BeaconGuard
Definition: LoRaMac.h:2239
MLME_DERIVE_MC_KE_KEY
Definition: LoRaMac.h:1120
LoRaMacMcChannelGetGroupId
uint8_t LoRaMacMcChannelGetGroupId(uint32_t mcAddress)
LoRaMAC multicast channel get groupId from MC address.
LORAMAC_STATUS_DATARATE_INVALID
Definition: LoRaMac.h:2370
MIB_APP_KEY
Definition: LoRaMac.h:1494
MlmeConfirm_t::BeaconTimingDelay
TimerTime_t BeaconTimingDelay
Definition: LoRaMac.h:1325
ACTIVATION_TYPE_NONE
Definition: LoRaMac.h:172
MIB_MC_KEY_0
Definition: LoRaMac.h:1548
McpsConfirm_t::Channel
uint32_t Channel
Definition: LoRaMac.h:975
MibParam_t::SePin
uint8_t * SePin
Definition: LoRaMac.h:1898
MlmeReqJoin_t
Definition: LoRaMac.h:1177
LoRaMacNvmDataGroup2_t::ChannelsTxPowerDefault
int8_t ChannelsTxPowerDefault
Definition: LoRaMac.h:623
MIB_RECEIVE_DELAY_2
Definition: LoRaMac.h:1690
LORAMAC_EVENT_INFO_STATUS_ADDRESS_FAIL
Definition: LoRaMac.h:442
MIB_DEV_EUI
Definition: LoRaMac.h:1458
LoRaMacMcChannelSetup
LoRaMacStatus_t LoRaMacMcChannelSetup(McChannelParams_t *channel)
LoRaMAC multicast channel setup service.
MibParam_t::McNwkSKey0
uint8_t * McNwkSKey0
Definition: LoRaMac.h:1988
McpsIndication_t::Buffer
uint8_t * Buffer
Definition: LoRaMac.h:1010
MibParam_t::AppSKey
uint8_t * AppSKey
Definition: LoRaMac.h:1964
MibParam_t::Class
DeviceClass_t Class
Definition: LoRaMac.h:1874
MibParam_t::McKey3
uint8_t * McKey3
Definition: LoRaMac.h:2030
LoRaMacNvmDataGroup2_t::ForceRejoinType
uint8_t ForceRejoinType
Definition: LoRaMac.h:708
BeaconInfo_t
Definition: LoRaMac.h:340
MibRequestConfirm_t::Type
Mib_t Type
Definition: LoRaMac.h:2318
MibParam_t::McAppSKey3
uint8_t * McAppSKey3
Definition: LoRaMac.h:2036
LORAMAC_EVENT_INFO_STATUS_RX1_TIMEOUT
Definition: LoRaMac.h:411
MibRequestConfirm_t::Param
MibParam_t Param
Definition: LoRaMac.h:2323
LORAMAC_STATUS_BUSY
Definition: LoRaMac.h:2354
BeaconInfo_t::sGwSpecific::InfoDesc
uint8_t InfoDesc
Definition: LoRaMac.h:383
MIB_BEACON_GUARD
Definition: LoRaMac.h:1811
MlmeReqJoin_t::NetworkActivation
ActivationType_t NetworkActivation
Definition: LoRaMac.h:1184
LORAMAC_REGION_AS923
Definition: LoRaMac.h:514
MlmeReq_t
Definition: LoRaMac.h:1251
MibParam_t::JoinEui
uint8_t * JoinEui
Definition: LoRaMac.h:1892
McpsIndication_t::DeviceTimeAnsReceived
bool DeviceTimeAnsReceived
Definition: LoRaMac.h:1046
LoRaMacRegion_t
LoRaMacRegion_t
Definition: LoRaMac.h:509
MibParam_t::Rx2DefaultChannel
RxChannelParams_t Rx2DefaultChannel
Definition: LoRaMac.h:2066
LoRaMacNvmDataGroup1_t::LastRxMic
uint32_t LastRxMic
Definition: LoRaMac.h:570
MlmeReq_t::uMlmeParam::Join
MlmeReqJoin_t Join
Definition: LoRaMac.h:1266
MibParam_t::BeaconSymbolToDefault
uint32_t BeaconSymbolToDefault
Definition: LoRaMac.h:2263
MibParam_t::BeaconInterval
uint32_t BeaconInterval
Definition: LoRaMac.h:2227
MIB_NETWORK_ACTIVATION
Definition: LoRaMac.h:1452
LoRaMacIsBusy
bool LoRaMacIsBusy(void)
Returns a value indicating if the MAC layer is busy or not.
LoRaMacParams_t::MinRxSymbols
uint8_t MinRxSymbols
Definition: LoRaMac.h:252
LoRaMacChannelRemove
LoRaMacStatus_t LoRaMacChannelRemove(uint8_t id)
LoRaMAC channel remove service.
McpsConfirm_t::TxPower
int8_t TxPower
Definition: LoRaMac.h:955
MibParam_t::NwkSEncKey
uint8_t * NwkSEncKey
Definition: LoRaMac.h:1958
MIB_CHANNELS_DEFAULT_TX_POWER
Definition: LoRaMac.h:1742
MibParam_t::SNwkSIntKey
uint8_t * SNwkSIntKey
Definition: LoRaMac.h:1952
MIB_CHANNELS_TX_POWER
Definition: LoRaMac.h:1734
MlmeReq_t::Type
Mlme_t Type
Definition: LoRaMac.h:1256
McpsIndication_t::ResponseTimeout
TimerTime_t ResponseTimeout
Definition: LoRaMac.h:1052
McpsReq_t::uMcpsParam::Proprietary
McpsReqProprietary_t Proprietary
Definition: LoRaMac.h:926
McpsReqUnconfirmed_t::Datarate
int8_t Datarate
Definition: LoRaMac.h:852
MibParam_t::McNwkSKey3
uint8_t * McNwkSKey3
Definition: LoRaMac.h:2042
MlmeReqDeriveMcSessionKeyPair_t
Definition: LoRaMac.h:1240
LORAMAC_STATUS_CRYPTO_ERROR
Definition: LoRaMac.h:2430
BeaconInfo_t::Time
SysTime_t Time
Definition: LoRaMac.h:346
MlmeReqDeriveMcKEKey_t
Definition: LoRaMac.h:1221
McpsIndication_t::DevAddress
uint32_t DevAddress
Definition: LoRaMac.h:1042
McpsConfirm_t::UpLinkCounter
uint32_t UpLinkCounter
Definition: LoRaMac.h:971
LORAMAC_REGION_EU868
Definition: LoRaMac.h:534
MIB_MIN_RX_SYMBOLS
Definition: LoRaMac.h:1753
MIB_MC_APP_S_KEY_2
Definition: LoRaMac.h:1590
LORAMAC_STATUS_FREQ_AND_DR_INVALID
Definition: LoRaMac.h:2374
LoRaMacNvmDataGroup1_t::RekeyIndUplinksCounter
uint16_t RekeyIndUplinksCounter
Definition: LoRaMac.h:599
LoRaMacNvmDataGroup2_t::ChannelsDatarateDefault
int8_t ChannelsDatarateDefault
Definition: LoRaMac.h:627
LORAMAC_EVENT_INFO_STATUS_MIC_FAIL
Definition: LoRaMac.h:446
MIB_CHANNELS_MASK
Definition: LoRaMac.h:1660
MLME_REJOIN_0
Definition: LoRaMac.h:1098
LoRaMacProcess
void LoRaMacProcess(void)
LORAMAC_EVENT_INFO_STATUS_RX1_ERROR
Definition: LoRaMac.h:419
LoRaMacCryptoNvm.h
LoRa MAC layer cryptographic NVM data.
McpsConfirm_t::McpsRequest
Mcps_t McpsRequest
Definition: LoRaMac.h:943
LORAMAC_EVENT_INFO_STATUS_OK
Definition: LoRaMac.h:399
LORAMAC_REGION_IN865
Definition: LoRaMac.h:542
RX_SLOT_WIN_1
Definition: LoRaMac.h:210
MlmeReq_t::uMlmeParam::DeriveMcKEKey
MlmeReqDeriveMcKEKey_t DeriveMcKEKey
Definition: LoRaMac.h:1278
MibRequestConfirm_t
Definition: LoRaMac.h:2313
LoRaMacParams_t::MaxRxWindow
uint32_t MaxRxWindow
Definition: LoRaMac.h:256
McpsConfirm_t::NbTrans
uint8_t NbTrans
Definition: LoRaMac.h:963
MIB_BEACON_SYMBOL_TO_EXPANSION_MAX
Definition: LoRaMac.h:1831
MIB_APP_S_KEY
Definition: LoRaMac.h:1536
MIB_REJOIN_1_CYCLE
Definition: LoRaMac.h:1795
McpsConfirm_t::Status
LoRaMacEventInfoStatus_t Status
Definition: LoRaMac.h:947
MLME_PING_SLOT_INFO
Definition: LoRaMac.h:1150
LORAMAC_STATUS_BUSY_PING_SLOT_WINDOW_TIME
Definition: LoRaMac.h:2422
MLME_JOIN
Definition: LoRaMac.h:1092
McpsIndication_t::McpsIndication
Mcps_t McpsIndication
Definition: LoRaMac.h:986
LoRaMacParams_t::UplinkDwellTime
uint8_t UplinkDwellTime
Definition: LoRaMac.h:292
MIB_MC_NWK_S_KEY_2
Definition: LoRaMac.h:1596
MibParam_t::IsCertPortOn
bool IsCertPortOn
Definition: LoRaMac.h:2307
MibParam_t::ChannelsDefaultMask
uint16_t * ChannelsDefaultMask
Definition: LoRaMac.h:2090
MIB_PING_SLOT_WINDOW
Definition: LoRaMac.h:1823
LoRaMacParams_t::MaxEirp
float MaxEirp
Definition: LoRaMac.h:300
RX_SLOT_NONE
Definition: LoRaMac.h:234
MlmeReq_t::uMlmeParam::DeriveMcSessionKeyPair
MlmeReqDeriveMcSessionKeyPair_t DeriveMcSessionKeyPair
Definition: LoRaMac.h:1282
LORAMAC_EVENT_INFO_STATUS_TX_DR_PAYLOAD_SIZE_ERROR
Definition: LoRaMac.h:438
MulticastCtx_t
Definition: LoRaMacTypes.h:912
RX_SLOT_WIN_2
Definition: LoRaMac.h:214
LoRaMacClassBNvm.h
LoRa MAC Class B non-volatile data.
MIB_PING_SLOT_SYMBOL_TO_EXPANSION_FACTOR
Definition: LoRaMac.h:1845
ActivationType_t
ActivationType_t
Definition: LoRaMac.h:167
McpsConfirm_t::AckReceived
bool AckReceived
Definition: LoRaMac.h:959
MibParam_t::RxCDefaultChannel
RxChannelParams_t RxCDefaultChannel
Definition: LoRaMac.h:2078
MIB_PUBLIC_NETWORK
Definition: LoRaMac.h:1622
MibParam_t::ChannelsMinTxDatarate
int8_t ChannelsMinTxDatarate
Definition: LoRaMac.h:2132
LoRaMacMcChannelDelete
LoRaMacStatus_t LoRaMacMcChannelDelete(AddressIdentifier_t groupID)
LoRaMAC multicast channel removal service.
McpsReqUnconfirmed_t::fBuffer
void * fBuffer
Definition: LoRaMac.h:844
MibParam_t::MulticastChannel
McChannelParams_t MulticastChannel
Definition: LoRaMac.h:2162
LoRaMacCryptoNvmData_t
Definition: LoRaMacCryptoNvm.h:84
LoRaMacFlags_t::sMacFlagBits::MacDone
uint8_t MacDone
Definition: LoRaMac.h:498
McpsReqProprietary_t
Definition: LoRaMac.h:884
MlmeReqTxCw_t::Timeout
uint16_t Timeout
Definition: LoRaMac.h:1199
MIB_BEACON_SYMBOL_TO_DEFAULT
Definition: LoRaMac.h:1827
LORAMAC_REGION_AU915
Definition: LoRaMac.h:518
SecureElementNvmData_t
Definition: secure-element-nvm.h:82
ChannelParams_t
Definition: LoRaMacTypes.h:1220
MibParam_t::McNwkSKey1
uint8_t * McNwkSKey1
Definition: LoRaMac.h:2006
LoRaMacNvmDataGroup2_t::Rejoin0CycleInSec
uint32_t Rejoin0CycleInSec
Definition: LoRaMac.h:712
LORAMAC_EVENT_INFO_STATUS_RX2_ERROR
Definition: LoRaMac.h:423
MLME_DERIVE_MC_KEY_PAIR
Definition: LoRaMac.h:1124
MibParam_t::McKEKey
uint8_t * McKEKey
Definition: LoRaMac.h:1970
LoRaMacNvmDataGroup2_t::IsRejoinAcceptPending
bool IsRejoinAcceptPending
Definition: LoRaMac.h:725
McpsIndication_t::DownLinkCounter
uint32_t DownLinkCounter
Definition: LoRaMac.h:1038
MlmeConfirm_t
Definition: LoRaMac.h:1294
PingSlotInfo_t::sInfoFields::RFU
uint8_t RFU
Definition: LoRaMac.h:331
LORAMAC_STATUS_MC_GROUP_UNDEFINED
Definition: LoRaMac.h:2450
BeaconInfo_t::Param
uint8_t Param
Definition: LoRaMac.h:373
MIB_LORAWAN_VERSION
Definition: LoRaMac.h:1787
MIB_IS_CERT_FPORT_ON
Definition: LoRaMac.h:1861
MlmeReqDeriveMcKEKey_t::Nonce
uint16_t Nonce
Definition: LoRaMac.h:1230
LORAMAC_EVENT_INFO_STATUS_MULTICAST_FAIL
Definition: LoRaMac.h:450
ACTIVATION_TYPE_ABP
Definition: LoRaMac.h:176
RX_SLOT_WIN_CLASS_C_MULTICAST
Definition: LoRaMac.h:222
MibParam_t::JSEncKey
uint8_t * JSEncKey
Definition: LoRaMac.h:1940
MIB_MAX_BEACON_LESS_PERIOD
Definition: LoRaMac.h:1849
LoRaMacCallback_t
Definition: LoRaMac.h:2492
LoRaMacParams_t::Rx1DrOffset
uint8_t Rx1DrOffset
Definition: LoRaMac.h:280
McpsReqUnconfirmed_t::fPort
uint8_t fPort
Definition: LoRaMac.h:840
LORAMAC_REGION_CN779
Definition: LoRaMac.h:526
LORAMAC_EVENT_INFO_STATUS_RX2_TIMEOUT
Definition: LoRaMac.h:415
MIB_CHANNELS_DEFAULT_MASK
Definition: LoRaMac.h:1666
LORAMAC_STATUS_FREQUENCY_INVALID
Definition: LoRaMac.h:2366
MibParam_t::DevAddr
uint32_t DevAddr
Definition: LoRaMac.h:1916
MIB_RX2_DEFAULT_CHANNEL
Definition: LoRaMac.h:1642
BeaconInfo_t::Rssi
int16_t Rssi
Definition: LoRaMac.h:358
MIB_JOIN_ACCEPT_DELAY_2
Definition: LoRaMac.h:1702
MlmeReqDeriveMcKEKey_t::KeyID
KeyIdentifier_t KeyID
Definition: LoRaMac.h:1226
LoRaMacNvmDataGroup1_t::SrvAckRequested
bool SrvAckRequested
Definition: LoRaMac.h:583
MIB_SYSTEM_MAX_RX_ERROR
Definition: LoRaMac.h:1748
PingSlotInfo_t::Value
uint8_t Value
Definition: LoRaMac.h:317
AddressIdentifier_t
AddressIdentifier_t
Definition: LoRaMacTypes.h:783
LORAMAC_STATUS_FCNT_HANDLER_ERROR
Definition: LoRaMac.h:2434
LoRaMacNvmData_t::RegionGroup2
RegionNvmDataGroup2_t RegionGroup2
Definition: LoRaMac.h:766
LORAMAC_EVENT_INFO_STATUS_DOWNLINK_REPEATED
Definition: LoRaMac.h:433
MIB_RXC_CHANNEL
Definition: LoRaMac.h:1648
LORAMAC_EVENT_INFO_STATUS_ERROR
Definition: LoRaMac.h:403
MLME_UNKNOWN
Definition: LoRaMac.h:1086
MCPS_PROPRIETARY
Definition: LoRaMac.h:813
MIB_MAX_RX_WINDOW_DURATION
Definition: LoRaMac.h:1678
MIB_J_S_ENC_KEY
Definition: LoRaMac.h:1512
McpsIndication_t::BufferSize
uint8_t BufferSize
Definition: LoRaMac.h:1014
MIB_RXC_DEFAULT_CHANNEL
Definition: LoRaMac.h:1654
MibParam_t::McKey0
uint8_t * McKey0
Definition: LoRaMac.h:1976
MIB_MC_APP_S_KEY_3
Definition: LoRaMac.h:1608
MIB_MC_APP_S_KEY_1
Definition: LoRaMac.h:1572
MibParam_t::DefaultAntennaGain
float DefaultAntennaGain
Definition: LoRaMac.h:2186
MLME_LINK_CHECK
Definition: LoRaMac.h:1110
MibParam_t::PingSlotSymbolToExpansionFactor
uint32_t PingSlotSymbolToExpansionFactor
Definition: LoRaMac.h:2289
MIB_RECEIVE_DELAY_1
Definition: LoRaMac.h:1684
MCPS_CONFIRMED
Definition: LoRaMac.h:805
LoRaMacParams_t::ChannelsNbTrans
uint8_t ChannelsNbTrans
Definition: LoRaMac.h:276
RegionNvmDataGroup2_t
Definition: RegionNvm.h:118
BeaconInfo_t::Snr
int8_t Snr
Definition: LoRaMac.h:362
LORAMAC_STATUS_BUSY_UPLINK_COLLISION
Definition: LoRaMac.h:2426
MlmeConfirm_t::NbRetries
uint8_t NbRetries
Definition: LoRaMac.h:1320
LoRaMacFlags_t::sMacFlagBits::NvmHandle
uint8_t NvmHandle
Definition: LoRaMac.h:502
LoRaMacNvmDataGroup1_t::AggregatedTimeOff
TimerTime_t AggregatedTimeOff
Definition: LoRaMac.h:566
MLME_DEVICE_TIME
Definition: LoRaMac.h:1130
MIB_CHANNELS_MIN_TX_DATARATE
Definition: LoRaMac.h:1710
LORAMAC_STATUS_CLASS_B_ERROR
Definition: LoRaMac.h:2442
McpsReqConfirmed_t
Definition: LoRaMac.h:858
LORAMAC_MAX_MC_CTX
#define LORAMAC_MAX_MC_CTX
Definition: LoRaMacTypes.h:61
MIB_S_NWK_S_INT_KEY
Definition: LoRaMac.h:1524
MibParam_t::BeaconSymbolToExpansionFactor
uint32_t BeaconSymbolToExpansionFactor
Definition: LoRaMac.h:2282
LoRaMacChannelAdd
LoRaMacStatus_t LoRaMacChannelAdd(uint8_t id, ChannelParams_t params)
LoRaMAC channel add service.
McpsReq_t::uMcpsParam
Definition: LoRaMac.h:913
MlmeReqPingSlotInfo_t
Definition: LoRaMac.h:1213
MibParam_t::McAppSKey1
uint8_t * McAppSKey1
Definition: LoRaMac.h:2000
MlmeReqDeriveMcSessionKeyPair_t::GroupID
AddressIdentifier_t GroupID
Definition: LoRaMac.h:1245
MIB_RX2_CHANNEL
Definition: LoRaMac.h:1636
MIB_MC_KE_KEY
Definition: LoRaMac.h:1542
MibParam_t::PingSlotWindow
uint32_t PingSlotWindow
Definition: LoRaMac.h:2257
MIB_MC_NWK_S_KEY_1
Definition: LoRaMac.h:1578
MLME_BEACON_ACQUISITION
Definition: LoRaMac.h:1144
RxChannelParams_t::Frequency
uint32_t Frequency
Definition: LoRaMac.h:191
PingSlotInfo_t::sInfoFields::Periodicity
uint8_t Periodicity
Definition: LoRaMac.h:327
LoRaMacNvmDataGroup1_t
Definition: LoRaMac.h:553
LoRaMacNvmDataGroup1_t::Crc32
uint32_t Crc32
Definition: LoRaMac.h:603
McpsIndication_t::RxData
bool RxData
Definition: LoRaMac.h:1018
MibParam_t::ChannelList
ChannelParams_t * ChannelList
Definition: LoRaMac.h:2054
MibParam_t::AdrEnable
bool AdrEnable
Definition: LoRaMac.h:1904
MlmeReq_t::uMlmeParam
Definition: LoRaMac.h:1261
LORAMAC_REGION_RU864
Definition: LoRaMac.h:550
LoRaMacParams_t::RxCChannel
RxChannelParams_t RxCChannel
Definition: LoRaMac.h:288
LoRaMacParams_t::DownlinkDwellTime
uint8_t DownlinkDwellTime
Definition: LoRaMac.h:296
LoRaMacNvmData_t
Definition: LoRaMac.h:736
McpsConfirm_t
Definition: LoRaMac.h:938
Mlme_t
Mlme_t
LoRaMAC management services.
Definition: LoRaMac.h:1081
LoRaMacQueryTxPossible
LoRaMacStatus_t LoRaMacQueryTxPossible(uint8_t size, LoRaMacTxInfo_t *txInfo)
Queries the LoRaMAC if it is possible to send the next frame with a given application data payload si...
MibParam_t::ChannelsDefaultTxPower
int8_t ChannelsDefaultTxPower
Definition: LoRaMac.h:2150
McpsReqUnconfirmed_t::fBufferSize
uint16_t fBufferSize
Definition: LoRaMac.h:848
MIB_MC_APP_S_KEY_0
Definition: LoRaMac.h:1554
MlmeReqDeriveMcKEKey_t::DevEUI
uint8_t * DevEUI
Definition: LoRaMac.h:1234
MibParam_t::JSIntKey
uint8_t * JSIntKey
Definition: LoRaMac.h:1934
McpsIndication_t::Multicast
uint8_t Multicast
Definition: LoRaMac.h:994
McpsReq_t::ReqReturn
RequestReturnParam_t ReqReturn
Definition: LoRaMac.h:932
MLME_BEACON
Definition: LoRaMac.h:1137
KeyIdentifier_t
KeyIdentifier_t
Definition: LoRaMacTypes.h:680
LORAMAC_STATUS_DUTYCYCLE_RESTRICTED
Definition: LoRaMac.h:2406
LORAMAC_EVENT_INFO_STATUS_JOIN_FAIL
Definition: LoRaMac.h:427
RX_SLOT_WIN_CLASS_B_MULTICAST_SLOT
Definition: LoRaMac.h:230
LoRaMacMlmeRequest
LoRaMacStatus_t LoRaMacMlmeRequest(MlmeReq_t *mlmeRequest)
LoRaMAC MLME-Request.
PingSlotInfo_t
Definition: LoRaMac.h:312
MlmeReq_t::uMlmeParam::PingSlotInfo
MlmeReqPingSlotInfo_t PingSlotInfo
Definition: LoRaMac.h:1274
MibParam_t::AppKey
uint8_t * AppKey
Definition: LoRaMac.h:1922
MlmeReqTxCw_t::Power
int8_t Power
Definition: LoRaMac.h:1207
MibParam_t::BeaconWindowSlots
uint32_t BeaconWindowSlots
Definition: LoRaMac.h:2251
MibParam_t
Definition: LoRaMac.h:1867
MIB_MC_NWK_S_KEY_3
Definition: LoRaMac.h:1614
LoRaMacFlags_t::sMacFlagBits::MlmeReq
uint8_t MlmeReq
Definition: LoRaMac.h:490
BeaconInfo_t::sGwSpecific
Definition: LoRaMac.h:378
LORAMAC_STATUS_SERVICE_UNKNOWN
Definition: LoRaMac.h:2358
LORAMAC_STATUS_OK
Definition: LoRaMac.h:2350
MibParam_t::BeaconReserved
uint32_t BeaconReserved
Definition: LoRaMac.h:2233
Mcps_t
Mcps_t
LoRaMAC data services.
Definition: LoRaMac.h:796
MIB_PING_SLOT_SYMBOL_TO_EXPANSION_MAX
Definition: LoRaMac.h:1835
MibParam_t::NetID
uint32_t NetID
Definition: LoRaMac.h:1910
LORAMAC_REGION_EU433
Definition: LoRaMac.h:530
LORAMAC_STATUS_BUSY_BEACON_RESERVED_TIME
Definition: LoRaMac.h:2418
McpsIndication_t::RxDatarate
uint8_t RxDatarate
Definition: LoRaMac.h:1002
MlmeReq_t::uMlmeParam::TxCw
MlmeReqTxCw_t TxCw
Definition: LoRaMac.h:1270
MIB_SE_PIN
Definition: LoRaMac.h:1468
LORAMAC_STATUS_MAC_COMMAD_ERROR
Definition: LoRaMac.h:2438
LoRaMacNvmDataGroup1_t::AdrAckCounter
uint32_t AdrAckCounter
Definition: LoRaMac.h:558
MIB_J_S_INT_KEY
Definition: LoRaMac.h:1506
MIB_NET_ID
Definition: LoRaMac.h:1482
RequestReturnParam_t::DutyCycleWaitTime
TimerTime_t DutyCycleWaitTime
Definition: LoRaMac.h:826
LoRaMacNvmDataGroup2_t::Rejoin2CycleInSec
uint32_t Rejoin2CycleInSec
Definition: LoRaMac.h:720
MIB_CHANNELS_NB_TRANS
Definition: LoRaMac.h:1672
LoRaMacFlags_t::sMacFlagBits::McpsReq
uint8_t McpsReq
Definition: LoRaMac.h:482
MIB_BEACON_INTERVAL
Definition: LoRaMac.h:1803
MibParam_t::McKey2
uint8_t * McKey2
Definition: LoRaMac.h:2012
McpsConfirm_t::TxTimeOnAir
TimerTime_t TxTimeOnAir
Definition: LoRaMac.h:967
LoRaMacMibGetRequestConfirm
LoRaMacStatus_t LoRaMacMibGetRequestConfirm(MibRequestConfirm_t *mibGet)
LoRaMAC MIB-Get.
LoRaMacParams_t::ReceiveDelay1
uint32_t ReceiveDelay1
Definition: LoRaMac.h:260
LoRaMacParams_t
Definition: LoRaMac.h:240
MIB_CHANNELS_DATARATE
Definition: LoRaMac.h:1726
McpsReq_t::uMcpsParam::Unconfirmed
McpsReqUnconfirmed_t Unconfirmed
Definition: LoRaMac.h:918
LoRaMacNvmDataGroup1_t::ForceRejoinRetriesCounter
uint8_t ForceRejoinRetriesCounter
Definition: LoRaMac.h:593
LoRaMacRxSlot_t
LoRaMacRxSlot_t
Definition: LoRaMac.h:205
LoRaMacParams_t::JoinAcceptDelay2
uint32_t JoinAcceptDelay2
Definition: LoRaMac.h:272
McpsReq_t
Definition: LoRaMac.h:903
MibParam_t::sLrWanVersion
Definition: LoRaMac.h:2205
MLME_BEACON_LOST
Definition: LoRaMac.h:1164
MIB_NWK_S_ENC_KEY
Definition: LoRaMac.h:1530
MlmeReqTxCw_t
Definition: LoRaMac.h:1194
LORAMAC_STATUS_ERROR
Definition: LoRaMac.h:2454
LoRaMacEventInfoStatus_t
LoRaMacEventInfoStatus_t
Definition: LoRaMac.h:394
MibParam_t::NwkKey
uint8_t * NwkKey
Definition: LoRaMac.h:1928
LORAMAC_EVENT_INFO_STATUS_TX_TIMEOUT
Definition: LoRaMac.h:407
MibParam_t::McNwkSKey2
uint8_t * McNwkSKey2
Definition: LoRaMac.h:2024
MLME_REVERT_JOIN
Definition: LoRaMac.h:1171
McpsReqUnconfirmed_t
Definition: LoRaMac.h:832
MlmeConfirm_t::DemodMargin
uint8_t DemodMargin
Definition: LoRaMac.h:1312
MibParam_t::BeaconWindow
uint32_t BeaconWindow
Definition: LoRaMac.h:2245
McpsIndication_t::Port
uint8_t Port
Definition: LoRaMac.h:998
MlmeConfirm_t::BeaconTimingChannel
uint8_t BeaconTimingChannel
Definition: LoRaMac.h:1329
MIB_BEACON_WINDOW_SLOTS
Definition: LoRaMac.h:1819
MIB_MC_KEY_3
Definition: LoRaMac.h:1602
LoRaMacTxInfo_t::MaxPossibleApplicationDataSize
uint8_t MaxPossibleApplicationDataSize
Definition: LoRaMac.h:2334
LoRaMacTxInfo_t
Definition: LoRaMac.h:2329
McpsIndication_t
Definition: LoRaMac.h:981
McRxParams_t
Definition: LoRaMacTypes.h:810
LoRaMacTxInfo_t::CurrentPossiblePayloadSize
uint8_t CurrentPossiblePayloadSize
Definition: LoRaMac.h:2339
MibParam_t::PingSlotDatarate
int8_t PingSlotDatarate
Definition: LoRaMac.h:2301
MibParam_t::BeaconSymbolToExpansionMax
uint32_t BeaconSymbolToExpansionMax
Definition: LoRaMac.h:2269
McChannelParams_t
Definition: LoRaMacTypes.h:851
MibParam_t::MaxBeaconLessPeriod
uint32_t MaxBeaconLessPeriod
Definition: LoRaMac.h:2295
LoRaMacStart
LoRaMacStatus_t LoRaMacStart(void)
Starts LoRaMAC layer.
LoRaMacMcChannelSetupRxParams
LoRaMacStatus_t LoRaMacMcChannelSetupRxParams(AddressIdentifier_t groupID, McRxParams_t *rxParams, uint8_t *status)
LoRaMAC multicast channel Rx parameters setup service.
RequestReturnParam_t
Definition: LoRaMac.h:819
MlmeConfirm_t::NbGateways
uint8_t NbGateways
Definition: LoRaMac.h:1316
McpsIndication_t::IsUplinkTxPending
uint8_t IsUplinkTxPending
Definition: LoRaMac.h:1006
MIB_ANTENNA_GAIN
Definition: LoRaMac.h:1764
LORAMAC_REGION_CN470
Definition: LoRaMac.h:522
LoRaMacInitialization
LoRaMacStatus_t LoRaMacInitialization(LoRaMacPrimitives_t *primitives, LoRaMacCallback_t *callbacks, LoRaMacRegion_t region)
LoRaMAC layer initialization.
LORAMAC_EVENT_INFO_STATUS_BEACON_LOST
Definition: LoRaMac.h:458
MIB_JOIN_ACCEPT_DELAY_1
Definition: LoRaMac.h:1696
MlmeIndication_t::MlmeIndication
Mlme_t MlmeIndication
Definition: LoRaMac.h:1340
LoRaMacNvmDataGroup1_t::Rejoin0UplinksCounter
uint32_t Rejoin0UplinksCounter
Definition: LoRaMac.h:588
LoRaMacMibSetRequestConfirm
LoRaMacStatus_t LoRaMacMibSetRequestConfirm(MibRequestConfirm_t *mibSet)
LoRaMAC MIB-Set.
LoRaMacClassBNvmData_t
Definition: LoRaMacClassBNvm.h:104
LoRaMacParams_t::JoinAcceptDelay1
uint32_t JoinAcceptDelay1
Definition: LoRaMac.h:268
RegionNvm.h
Region independent non-volatile data.
LoRaMacFlags_t::sMacFlagBits
Definition: LoRaMac.h:477
McpsIndication_t::RxSlot
LoRaMacRxSlot_t RxSlot
Definition: LoRaMac.h:1030
LORAMAC_EVENT_INFO_STATUS_BEACON_LOCKED
Definition: LoRaMac.h:454
LoRaMacParams_t::SystemMaxRxError
uint32_t SystemMaxRxError
Definition: LoRaMac.h:247
LoRaMacNvmData_t::Crypto
LoRaMacCryptoNvmData_t Crypto
Definition: LoRaMac.h:742