LoRaMAC  4.5.2
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 MlmeSchedUplinkInd : 1;
502  uint8_t MacDone : 1;
506  uint8_t NvmHandle : 1;
507  }Bits;
509 
513 typedef enum eLoRaMacRegion
514 {
556 
557 typedef struct sLoRaMacNvmDataGroup1
558 {
562  uint32_t AdrAckCounter;
566  TimerTime_t LastTxDoneTime;
570  TimerTime_t AggregatedTimeOff;
574  uint32_t LastRxMic;
591  uint32_t Crc32;
593 
594 typedef struct sLoRaMacNvmDataGroup2
595 {
596  /*
597  * LoRaMac region.
598  */
599  LoRaMacRegion_t Region;
600  /*
601  * LoRaMac parameters
602  */
603  LoRaMacParams_t MacParams;
604  /*
605  * LoRaMac default parameters
606  */
607  LoRaMacParams_t MacParamsDefaults;
616  /*
617  * Network ID ( 3 bytes )
618  */
619  uint32_t NetID;
620  /*
621  * Mote Address
622  */
623  uint32_t DevAddr;
627  MulticastCtx_t MulticastChannelList[LORAMAC_MAX_MC_CTX];
628  /*
629  * Actual device class
630  */
631  DeviceClass_t DeviceClass;
632  /*
633  * Indicates if the node is connected to
634  * a private or public network
635  */
636  bool PublicNetwork;
637  /*
638  * LoRaMac ADR control status
639  */
640  bool AdrCtrlOn;
641  /*
642  * Maximum duty cycle
643  * \remark Possibility to shutdown the device.
644  */
645  uint8_t MaxDCycle;
646  /*
647  * Enables/Disables duty cycle management (Test only)
648  */
649  bool DutyCycleOn;
650  /*
651  * Set to true, if the datarate was increased
652  * with a link adr request.
653  */
654  bool ChannelsDatarateChangedLinkAdrReq;
655  /*
656  * The stack will set this variable to true, if a downlink has been received.
657  */
658  bool DownlinkReceived;
659  /*
660  * Enables/disable FPort 224 processing (certification port)
661  */
662  bool IsCertPortOn;
663  /*
664  * Aggregated duty cycle management
665  */
666  uint16_t AggregatedDCycle;
667  /*
668  * Stores the time at LoRaMac initialization.
669  *
670  * \remark Used for the BACKOFF_DC computation.
671  */
672  SysTime_t InitializationTime;
673  /*
674  * Current LoRaWAN Version
675  */
676  Version_t Version;
677  /*
678  * End-Device network activation
679  */
680  ActivationType_t NetworkActivation;
684  uint32_t Crc32;
686 
691 typedef struct sLoRaMacNvmData
692 {
727 
751 typedef enum eMcps
752 {
769 }Mcps_t;
770 
774 typedef struct sRequestReturnParam
775 {
781  TimerTime_t DutyCycleWaitTime;
783 
787 typedef struct sMcpsReqUnconfirmed
788 {
795  uint8_t fPort;
799  void* fBuffer;
803  uint16_t fBufferSize;
807  int8_t Datarate;
809 
813 typedef struct sMcpsReqConfirmed
814 {
821  uint8_t fPort;
825  void* fBuffer;
829  uint16_t fBufferSize;
833  int8_t Datarate;
835 
839 typedef struct sMcpsReqProprietary
840 {
844  void* fBuffer;
848  uint16_t fBufferSize;
852  int8_t Datarate;
854 
858 typedef struct sMcpsReq
859 {
864 
869  {
882  }Req;
883 
888 }McpsReq_t;
889 
893 typedef struct sMcpsConfirm
894 {
906  uint8_t Datarate;
910  int8_t TxPower;
918  uint8_t NbTrans;
922  TimerTime_t TxTimeOnAir;
926  uint32_t UpLinkCounter;
930  uint32_t Channel;
932 
936 typedef struct sMcpsIndication
937 {
949  uint8_t Multicast;
953  uint8_t Port;
957  uint8_t RxDatarate;
961  uint8_t FramePending;
965  uint8_t* Buffer;
969  uint8_t BufferSize;
973  bool RxData;
977  int16_t Rssi;
981  int8_t Snr;
993  uint32_t DownLinkCounter;
997  uint32_t DevAddress;
1007  TimerTime_t ResponseTimeout;
1009 
1034 typedef enum eMlme
1035 {
1123 }Mlme_t;
1124 
1128 typedef struct sMlmeReqJoin
1129 {
1139  uint8_t Datarate;
1140 }MlmeReqJoin_t;
1141 
1145 typedef struct sMlmeReqTxCw
1146 {
1150  uint16_t Timeout;
1154  uint32_t Frequency;
1158  int8_t Power;
1159 }MlmeReqTxCw_t;
1160 
1164 typedef struct sMlmeReqPingSlotInfo
1165 {
1166  PingSlotInfo_t PingSlot;
1168 
1172 typedef struct sMlmeReqDeriveMcKEKey
1173 {
1181  uint16_t Nonce;
1185  uint8_t* DevEUI;
1187 
1191 typedef struct sMlmeReqDeriveMcSessionKeyPair
1192 {
1198 
1202 typedef struct sMlmeReq
1203 {
1208 
1213  {
1234  }Req;
1235 
1240 }MlmeReq_t;
1241 
1245 typedef struct sMlmeConfirm
1246 {
1258  TimerTime_t TxTimeOnAir;
1263  uint8_t DemodMargin;
1267  uint8_t NbGateways;
1271  uint8_t NbRetries;
1276  TimerTime_t BeaconTimingDelay;
1281 }MlmeConfirm_t;
1282 
1286 typedef struct sMlmeIndication
1287 {
1302 
1387 typedef enum eMib
1388 {
1798 }Mib_t;
1799 
1803 typedef union uMibParam
1804 {
1822  uint8_t* DevEui;
1828  uint8_t* JoinEui;
1834  uint8_t* SePin;
1846  uint32_t NetID;
1852  uint32_t DevAddr;
1858  uint8_t* AppKey;
1864  uint8_t* NwkKey;
1870  uint8_t* JSIntKey;
1876  uint8_t* JSEncKey;
1882  uint8_t* FNwkSIntKey;
1888  uint8_t* SNwkSIntKey;
1894  uint8_t* NwkSEncKey;
1900  uint8_t* AppSKey;
1906  uint8_t* McKEKey;
1912  uint8_t* McKey0;
1918  uint8_t* McAppSKey0;
1924  uint8_t* McNwkSKey0;
1930  uint8_t* McKey1;
1936  uint8_t* McAppSKey1;
1942  uint8_t* McNwkSKey1;
1948  uint8_t* McKey2;
1954  uint8_t* McAppSKey2;
1960  uint8_t* McNwkSKey2;
1966  uint8_t* McKey3;
1972  uint8_t* McAppSKey3;
1978  uint8_t* McNwkSKey3;
2020  uint16_t* ChannelsMask;
2038  uint32_t MaxRxWindow;
2044  uint32_t ReceiveDelay1;
2050  uint32_t ReceiveDelay2;
2110  uint8_t MinRxSymbols;
2130  /*
2131  * LoRaWAN MAC layer operating version when activated by ABP.
2132  *
2133  * Related MIB type: \ref MIB_ABP_LORAWAN_VERSION
2134  */
2135  Version_t AbpLrWanVersion;
2136  /*
2137  * LoRaWAN MAC regional parameter version.
2138  *
2139  * Related MIB type: \ref MIB_LORAWAN_VERSION
2140  */
2142  {
2143  Version_t LoRaWan;
2144  Version_t LoRaWanRegion;
2145  }LrWanVersion;
2151  uint32_t BeaconInterval;
2157  uint32_t BeaconReserved;
2163  uint32_t BeaconGuard;
2169  uint32_t BeaconWindow;
2181  uint32_t PingSlotWindow;
2232 }MibParam_t;
2233 
2237 typedef struct eMibRequestConfirm
2238 {
2243 
2249 
2253 typedef struct sLoRaMacTxInfo
2254 {
2265 
2269 typedef enum eLoRaMacStatus
2270 {
2334  LORAMAC_STATUS_NO_CHANNEL_FOUND,
2338  LORAMAC_STATUS_NO_FREE_CHANNEL_FOUND,
2380 
2385 typedef struct sLoRaMacPrimitives
2386 {
2392  void ( *MacMcpsConfirm )( McpsConfirm_t* McpsConfirm );
2398  void ( *MacMcpsIndication )( McpsIndication_t* McpsIndication );
2404  void ( *MacMlmeConfirm )( MlmeConfirm_t* MlmeConfirm );
2410  void ( *MacMlmeIndication )( MlmeIndication_t* MlmeIndication );
2412 
2416 typedef struct sLoRaMacCallback
2417 {
2426  uint8_t ( *GetBatteryLevel )( void );
2432  float ( *GetTemperatureLevel )( void );
2439  void ( *NvmDataChange )( uint16_t notifyFlags );
2446  void ( *MacProcessNotify )( void );
2448 
2449 
2453 static const uint8_t LoRaMacMaxEirpTable[] = { 8, 10, 12, 13, 14, 16, 18, 20, 21, 24, 26, 27, 29, 30, 33, 36 };
2454 
2478 
2487 
2496 
2502 bool LoRaMacIsBusy( void );
2503 
2509 void LoRaMacProcess( void );
2510 
2536 LoRaMacStatus_t LoRaMacQueryTxPossible( uint8_t size, LoRaMacTxInfo_t* txInfo );
2537 
2554 LoRaMacStatus_t LoRaMacChannelAdd( uint8_t id, ChannelParams_t params );
2555 
2569 
2584 
2598 
2607 uint8_t LoRaMacMcChannelGetGroupId( uint32_t mcAddress );
2608 
2624 LoRaMacStatus_t LoRaMacMcChannelSetupRxParams( AddressIdentifier_t groupID, McRxParams_t *rxParams, uint8_t *status );
2625 
2653 
2684 
2717 
2751 
2763 
2766 #ifdef __cplusplus
2767 }
2768 #endif
2769 
2770 #endif // __LORAMAC_H__
MIB_PING_SLOT_DATARATE
Definition: LoRaMac.h:1793
MIB_ABP_LORAWAN_VERSION
Definition: LoRaMac.h:1731
MibParam_t::McAppSKey0
uint8_t * McAppSKey0
Definition: LoRaMac.h:1918
LoRaMacNvmDataGroup1_t::LastTxDoneTime
TimerTime_t LastTxDoneTime
Definition: LoRaMac.h:566
MibParam_t::DevEui
uint8_t * DevEui
Definition: LoRaMac.h:1822
LoRaMacStop
LoRaMacStatus_t LoRaMacStop(void)
Stops LoRaMAC layer.
LoRaMacNvmDataGroup1_t::ChannelsDatarate
int8_t ChannelsDatarate
Definition: LoRaMac.h:582
MIB_NWK_KEY
Definition: LoRaMac.h:1448
MIB_MC_KEY_1
Definition: LoRaMac.h:1514
LORAMAC_REGION_US915
Definition: LoRaMac.h:550
McpsReq_t::Type
Mcps_t Type
Definition: LoRaMac.h:863
LoRaMacFlags_t::sMacFlagBits::McpsInd
uint8_t McpsInd
Definition: LoRaMac.h:486
LoRaMacDeInitialization
LoRaMacStatus_t LoRaMacDeInitialization(void)
LoRaMAC deinitialization.
MibParam_t::FNwkSIntKey
uint8_t * FNwkSIntKey
Definition: LoRaMac.h:1882
PingSlotInfo_t::sInfoFields
Definition: LoRaMac.h:321
LORAMAC_STATUS_LENGTH_ERROR
Definition: LoRaMac.h:2306
MIB_CHANNELS_DEFAULT_DATARATE
Definition: LoRaMac.h:1666
MibParam_t::ChannelsDefaultDatarate
int8_t ChannelsDefaultDatarate
Definition: LoRaMac.h:2074
RegionNvmDataGroup1_t
Definition: RegionNvm.h:89
MIB_BEACON_RESERVED
Definition: LoRaMac.h:1743
MIB_DEVICE_CLASS
Definition: LoRaMac.h:1394
LORAMAC_REGION_KR920
Definition: LoRaMac.h:542
McpsReq_t::uMcpsParam::Confirmed
McpsReqConfirmed_t Confirmed
Definition: LoRaMac.h:877
LORAMAC_STATUS_PARAMETER_INVALID
Definition: LoRaMac.h:2286
MIB_BEACON_SYMBOL_TO_EXPANSION_FACTOR
Definition: LoRaMac.h:1776
MibParam_t::Contexts
LoRaMacNvmData_t * Contexts
Definition: LoRaMac.h:2129
MIB_NVM_CTXS
Definition: LoRaMac.h:1727
LoRaMacFlags_t::sMacFlagBits::MlmeInd
uint8_t MlmeInd
Definition: LoRaMac.h:494
LoRaMacNvmData_t::SecureElement
SecureElementNvmData_t SecureElement
Definition: LoRaMac.h:711
LoRaMacMcpsRequest
LoRaMacStatus_t LoRaMacMcpsRequest(McpsReq_t *mcpsRequest)
LoRaMAC MCPS-Request.
LoRaMacNvmData_t::MacGroup1
LoRaMacNvmDataGroup1_t MacGroup1
Definition: LoRaMac.h:702
LoRaMacStatus_t
LoRaMacStatus_t
Definition: LoRaMac.h:2269
MIB_JOIN_EUI
Definition: LoRaMac.h:1412
LORAMAC_STATUS_REGION_NOT_SUPPORTED
Definition: LoRaMac.h:2311
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:2316
MibParam_t::EnablePublicNetwork
bool EnablePublicNetwork
Definition: LoRaMac.h:1984
LORAMAC_STATUS_NO_NETWORK_JOINED
Definition: LoRaMac.h:2302
MCPS_UNCONFIRMED
Definition: LoRaMac.h:756
MIB_CHANNELS
Definition: LoRaMac.h:1578
LoRaMacNvmData_t::RegionGroup1
RegionNvmDataGroup1_t RegionGroup1
Definition: LoRaMac.h:716
MIB_F_NWK_S_INT_KEY
Definition: LoRaMac.h:1466
MCPS_MULTICAST
Definition: LoRaMac.h:764
LoRaMacNvmDataGroup2_t
Definition: LoRaMac.h:594
MIB_DEFAULT_ANTENNA_GAIN
Definition: LoRaMac.h:1723
MlmeConfirm_t::MlmeRequest
Mlme_t MlmeRequest
Definition: LoRaMac.h:1250
LoRaMacNvmData_t::ClassB
LoRaMacClassBNvmData_t ClassB
Definition: LoRaMac.h:725
LORAMAC_EVENT_INFO_STATUS_BEACON_NOT_FOUND
Definition: LoRaMac.h:462
MLME_REJOIN_1
Definition: LoRaMac.h:1057
MIB_MC_KEY_2
Definition: LoRaMac.h:1532
MIB_BEACON_WINDOW
Definition: LoRaMac.h:1751
LoRaMacParams_t::AntennaGain
float AntennaGain
Definition: LoRaMac.h:304
MibParam_t::McAppSKey2
uint8_t * McAppSKey2
Definition: LoRaMac.h:1954
LoRaMacNvmData_t::MacGroup2
LoRaMacNvmDataGroup2_t MacGroup2
Definition: LoRaMac.h:707
LORAMAC_STATUS_CONFIRM_QUEUE_ERROR
Definition: LoRaMac.h:2370
RxChannelParams_t
Definition: LoRaMac.h:186
LoRaMacPrimitives_t
Definition: LoRaMac.h:2385
LoRaMacNvmDataGroup1_t::ChannelsTxPower
int8_t ChannelsTxPower
Definition: LoRaMac.h:578
MibParam_t::McKey1
uint8_t * McKey1
Definition: LoRaMac.h:1930
DeviceClass_t
DeviceClass_t
Definition: LoRaMacTypes.h:571
MLME_TXCW
Definition: LoRaMac.h:1069
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:1387
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:1300
MibParam_t::PingSlotSymbolToExpansionMax
uint32_t PingSlotSymbolToExpansionMax
Definition: LoRaMac.h:2199
MIB_DEV_ADDR
Definition: LoRaMac.h:1436
LoRaMacTypes.h
LoRa MAC layer internal types definition. Please do not include in application sources.
MlmeIndication_t
Definition: LoRaMac.h:1286
MLME_BEACON_TIMING
Definition: LoRaMac.h:1114
MIB_MC_NWK_S_KEY_0
Definition: LoRaMac.h:1508
MIB_ADR
Definition: LoRaMac.h:1424
MibParam_t::ChannelsMask
uint16_t * ChannelsMask
Definition: LoRaMac.h:2020
MibParam_t::BeaconGuard
uint32_t BeaconGuard
Definition: LoRaMac.h:2163
MLME_DERIVE_MC_KE_KEY
Definition: LoRaMac.h:1078
LoRaMacMcChannelGetGroupId
uint8_t LoRaMacMcChannelGetGroupId(uint32_t mcAddress)
LoRaMAC multicast channel get groupId from MC address.
LORAMAC_STATUS_DATARATE_INVALID
Definition: LoRaMac.h:2294
MIB_APP_KEY
Definition: LoRaMac.h:1442
MlmeConfirm_t::BeaconTimingDelay
TimerTime_t BeaconTimingDelay
Definition: LoRaMac.h:1276
ACTIVATION_TYPE_NONE
Definition: LoRaMac.h:172
MIB_MC_KEY_0
Definition: LoRaMac.h:1496
McpsConfirm_t::Channel
uint32_t Channel
Definition: LoRaMac.h:930
MibParam_t::SePin
uint8_t * SePin
Definition: LoRaMac.h:1834
MlmeReqJoin_t
Definition: LoRaMac.h:1128
LoRaMacNvmDataGroup2_t::ChannelsTxPowerDefault
int8_t ChannelsTxPowerDefault
Definition: LoRaMac.h:611
MIB_RECEIVE_DELAY_2
Definition: LoRaMac.h:1638
LORAMAC_EVENT_INFO_STATUS_ADDRESS_FAIL
Definition: LoRaMac.h:442
MIB_DEV_EUI
Definition: LoRaMac.h:1406
LoRaMacMcChannelSetup
LoRaMacStatus_t LoRaMacMcChannelSetup(McChannelParams_t *channel)
LoRaMAC multicast channel setup service.
MibParam_t::McNwkSKey0
uint8_t * McNwkSKey0
Definition: LoRaMac.h:1924
McpsIndication_t::Buffer
uint8_t * Buffer
Definition: LoRaMac.h:965
MibParam_t::AppSKey
uint8_t * AppSKey
Definition: LoRaMac.h:1900
MibParam_t::Class
DeviceClass_t Class
Definition: LoRaMac.h:1810
MibParam_t::McKey3
uint8_t * McKey3
Definition: LoRaMac.h:1966
BeaconInfo_t
Definition: LoRaMac.h:340
MibRequestConfirm_t::Type
Mib_t Type
Definition: LoRaMac.h:2242
MibParam_t::McAppSKey3
uint8_t * McAppSKey3
Definition: LoRaMac.h:1972
LORAMAC_EVENT_INFO_STATUS_RX1_TIMEOUT
Definition: LoRaMac.h:411
MibRequestConfirm_t::Param
MibParam_t Param
Definition: LoRaMac.h:2247
LORAMAC_STATUS_BUSY
Definition: LoRaMac.h:2278
BeaconInfo_t::sGwSpecific::InfoDesc
uint8_t InfoDesc
Definition: LoRaMac.h:383
MIB_BEACON_GUARD
Definition: LoRaMac.h:1747
MlmeReqJoin_t::NetworkActivation
ActivationType_t NetworkActivation
Definition: LoRaMac.h:1135
LORAMAC_REGION_AS923
Definition: LoRaMac.h:518
MlmeReq_t
Definition: LoRaMac.h:1202
MibParam_t::JoinEui
uint8_t * JoinEui
Definition: LoRaMac.h:1828
McpsIndication_t::DeviceTimeAnsReceived
bool DeviceTimeAnsReceived
Definition: LoRaMac.h:1001
LoRaMacRegion_t
LoRaMacRegion_t
Definition: LoRaMac.h:513
MibParam_t::Rx2DefaultChannel
RxChannelParams_t Rx2DefaultChannel
Definition: LoRaMac.h:2002
LoRaMacNvmDataGroup1_t::LastRxMic
uint32_t LastRxMic
Definition: LoRaMac.h:574
MlmeReq_t::uMlmeParam::Join
MlmeReqJoin_t Join
Definition: LoRaMac.h:1217
MibParam_t::BeaconSymbolToDefault
uint32_t BeaconSymbolToDefault
Definition: LoRaMac.h:2187
MibParam_t::BeaconInterval
uint32_t BeaconInterval
Definition: LoRaMac.h:2151
MIB_NETWORK_ACTIVATION
Definition: LoRaMac.h:1400
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:910
MibParam_t::NwkSEncKey
uint8_t * NwkSEncKey
Definition: LoRaMac.h:1894
MIB_CHANNELS_DEFAULT_TX_POWER
Definition: LoRaMac.h:1690
MibParam_t::SNwkSIntKey
uint8_t * SNwkSIntKey
Definition: LoRaMac.h:1888
MIB_CHANNELS_TX_POWER
Definition: LoRaMac.h:1682
MlmeReq_t::Type
Mlme_t Type
Definition: LoRaMac.h:1207
McpsIndication_t::ResponseTimeout
TimerTime_t ResponseTimeout
Definition: LoRaMac.h:1007
McpsReq_t::uMcpsParam::Proprietary
McpsReqProprietary_t Proprietary
Definition: LoRaMac.h:881
McpsReqUnconfirmed_t::Datarate
int8_t Datarate
Definition: LoRaMac.h:807
MibParam_t::McNwkSKey3
uint8_t * McNwkSKey3
Definition: LoRaMac.h:1978
MlmeReqDeriveMcSessionKeyPair_t
Definition: LoRaMac.h:1191
LORAMAC_STATUS_CRYPTO_ERROR
Definition: LoRaMac.h:2354
BeaconInfo_t::Time
SysTime_t Time
Definition: LoRaMac.h:346
MlmeReqDeriveMcKEKey_t
Definition: LoRaMac.h:1172
McpsIndication_t::DevAddress
uint32_t DevAddress
Definition: LoRaMac.h:997
McpsConfirm_t::UpLinkCounter
uint32_t UpLinkCounter
Definition: LoRaMac.h:926
LORAMAC_REGION_EU868
Definition: LoRaMac.h:538
MIB_MIN_RX_SYMBOLS
Definition: LoRaMac.h:1701
MIB_MC_APP_S_KEY_2
Definition: LoRaMac.h:1538
LORAMAC_STATUS_FREQ_AND_DR_INVALID
Definition: LoRaMac.h:2298
LoRaMacNvmDataGroup2_t::ChannelsDatarateDefault
int8_t ChannelsDatarateDefault
Definition: LoRaMac.h:615
LORAMAC_EVENT_INFO_STATUS_MIC_FAIL
Definition: LoRaMac.h:446
MIB_CHANNELS_MASK
Definition: LoRaMac.h:1608
MLME_REJOIN_0
Definition: LoRaMac.h:1051
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:898
LORAMAC_EVENT_INFO_STATUS_OK
Definition: LoRaMac.h:399
LORAMAC_REGION_IN865
Definition: LoRaMac.h:546
RX_SLOT_WIN_1
Definition: LoRaMac.h:210
MlmeReq_t::uMlmeParam::DeriveMcKEKey
MlmeReqDeriveMcKEKey_t DeriveMcKEKey
Definition: LoRaMac.h:1229
MibRequestConfirm_t
Definition: LoRaMac.h:2237
LoRaMacParams_t::MaxRxWindow
uint32_t MaxRxWindow
Definition: LoRaMac.h:256
McRxParams_t
Definition: LoRaMacTypes.h:802
McpsConfirm_t::NbTrans
uint8_t NbTrans
Definition: LoRaMac.h:918
MIB_BEACON_SYMBOL_TO_EXPANSION_MAX
Definition: LoRaMac.h:1767
MIB_APP_S_KEY
Definition: LoRaMac.h:1484
McpsConfirm_t::Status
LoRaMacEventInfoStatus_t Status
Definition: LoRaMac.h:902
MLME_PING_SLOT_INFO
Definition: LoRaMac.h:1108
LORAMAC_STATUS_BUSY_PING_SLOT_WINDOW_TIME
Definition: LoRaMac.h:2346
MLME_JOIN
Definition: LoRaMac.h:1045
McpsIndication_t::McpsIndication
Mcps_t McpsIndication
Definition: LoRaMac.h:941
LoRaMacParams_t::UplinkDwellTime
uint8_t UplinkDwellTime
Definition: LoRaMac.h:292
MIB_MC_NWK_S_KEY_2
Definition: LoRaMac.h:1544
MibParam_t::IsCertPortOn
bool IsCertPortOn
Definition: LoRaMac.h:2231
MibParam_t::ChannelsDefaultMask
uint16_t * ChannelsDefaultMask
Definition: LoRaMac.h:2026
MIB_PING_SLOT_WINDOW
Definition: LoRaMac.h:1759
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:1233
LORAMAC_EVENT_INFO_STATUS_TX_DR_PAYLOAD_SIZE_ERROR
Definition: LoRaMac.h:438
MulticastCtx_t
Definition: LoRaMacTypes.h:901
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:1781
McpsIndication_t::FramePending
uint8_t FramePending
Definition: LoRaMac.h:961
ActivationType_t
ActivationType_t
Definition: LoRaMac.h:167
McpsConfirm_t::AckReceived
bool AckReceived
Definition: LoRaMac.h:914
MibParam_t::RxCDefaultChannel
RxChannelParams_t RxCDefaultChannel
Definition: LoRaMac.h:2014
MIB_PUBLIC_NETWORK
Definition: LoRaMac.h:1570
MibParam_t::ChannelsMinTxDatarate
int8_t ChannelsMinTxDatarate
Definition: LoRaMac.h:2068
LoRaMacMcChannelDelete
LoRaMacStatus_t LoRaMacMcChannelDelete(AddressIdentifier_t groupID)
LoRaMAC multicast channel removal service.
McpsReqUnconfirmed_t::fBuffer
void * fBuffer
Definition: LoRaMac.h:799
MibParam_t::MulticastChannel
McChannelParams_t MulticastChannel
Definition: LoRaMac.h:2098
LoRaMacCryptoNvmData_t
Definition: LoRaMacCryptoNvm.h:85
LoRaMacFlags_t::sMacFlagBits::MacDone
uint8_t MacDone
Definition: LoRaMac.h:502
McpsReqProprietary_t
Definition: LoRaMac.h:839
MlmeReqTxCw_t::Timeout
uint16_t Timeout
Definition: LoRaMac.h:1150
MIB_BEACON_SYMBOL_TO_DEFAULT
Definition: LoRaMac.h:1763
LORAMAC_REGION_AU915
Definition: LoRaMac.h:522
SecureElementNvmData_t
Definition: secure-element-nvm.h:82
ChannelParams_t
Definition: LoRaMacTypes.h:1169
MibParam_t::McNwkSKey1
uint8_t * McNwkSKey1
Definition: LoRaMac.h:1942
LORAMAC_EVENT_INFO_STATUS_RX2_ERROR
Definition: LoRaMac.h:423
MLME_DERIVE_MC_KEY_PAIR
Definition: LoRaMac.h:1082
MibParam_t::McKEKey
uint8_t * McKEKey
Definition: LoRaMac.h:1906
McpsIndication_t::DownLinkCounter
uint32_t DownLinkCounter
Definition: LoRaMac.h:993
MlmeConfirm_t
Definition: LoRaMac.h:1245
PingSlotInfo_t::sInfoFields::RFU
uint8_t RFU
Definition: LoRaMac.h:331
LORAMAC_STATUS_MC_GROUP_UNDEFINED
Definition: LoRaMac.h:2374
BeaconInfo_t::Param
uint8_t Param
Definition: LoRaMac.h:373
MIB_LORAWAN_VERSION
Definition: LoRaMac.h:1735
MIB_IS_CERT_FPORT_ON
Definition: LoRaMac.h:1797
MlmeReqDeriveMcKEKey_t::Nonce
uint16_t Nonce
Definition: LoRaMac.h:1181
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:1876
MIB_MAX_BEACON_LESS_PERIOD
Definition: LoRaMac.h:1785
LoRaMacCallback_t
Definition: LoRaMac.h:2416
LoRaMacParams_t::Rx1DrOffset
uint8_t Rx1DrOffset
Definition: LoRaMac.h:280
McpsReqUnconfirmed_t::fPort
uint8_t fPort
Definition: LoRaMac.h:795
LORAMAC_REGION_CN779
Definition: LoRaMac.h:530
LORAMAC_EVENT_INFO_STATUS_RX2_TIMEOUT
Definition: LoRaMac.h:415
MIB_CHANNELS_DEFAULT_MASK
Definition: LoRaMac.h:1614
LORAMAC_STATUS_FREQUENCY_INVALID
Definition: LoRaMac.h:2290
MibParam_t::DevAddr
uint32_t DevAddr
Definition: LoRaMac.h:1852
MIB_RX2_DEFAULT_CHANNEL
Definition: LoRaMac.h:1590
BeaconInfo_t::Rssi
int16_t Rssi
Definition: LoRaMac.h:358
MIB_JOIN_ACCEPT_DELAY_2
Definition: LoRaMac.h:1650
MlmeReqDeriveMcKEKey_t::KeyID
KeyIdentifier_t KeyID
Definition: LoRaMac.h:1177
LoRaMacNvmDataGroup1_t::SrvAckRequested
bool SrvAckRequested
Definition: LoRaMac.h:587
MIB_SYSTEM_MAX_RX_ERROR
Definition: LoRaMac.h:1696
PingSlotInfo_t::Value
uint8_t Value
Definition: LoRaMac.h:317
AddressIdentifier_t
AddressIdentifier_t
Definition: LoRaMacTypes.h:775
LORAMAC_STATUS_FCNT_HANDLER_ERROR
Definition: LoRaMac.h:2358
LoRaMacNvmData_t::RegionGroup2
RegionNvmDataGroup2_t RegionGroup2
Definition: LoRaMac.h:721
LORAMAC_EVENT_INFO_STATUS_DOWNLINK_REPEATED
Definition: LoRaMac.h:433
MIB_RXC_CHANNEL
Definition: LoRaMac.h:1596
LORAMAC_EVENT_INFO_STATUS_ERROR
Definition: LoRaMac.h:403
MLME_UNKNOWN
Definition: LoRaMac.h:1039
MCPS_PROPRIETARY
Definition: LoRaMac.h:768
MIB_MAX_RX_WINDOW_DURATION
Definition: LoRaMac.h:1626
MIB_J_S_ENC_KEY
Definition: LoRaMac.h:1460
McpsIndication_t::BufferSize
uint8_t BufferSize
Definition: LoRaMac.h:969
MIB_RXC_DEFAULT_CHANNEL
Definition: LoRaMac.h:1602
MibParam_t::McKey0
uint8_t * McKey0
Definition: LoRaMac.h:1912
MIB_MC_APP_S_KEY_3
Definition: LoRaMac.h:1556
MIB_MC_APP_S_KEY_1
Definition: LoRaMac.h:1520
MibParam_t::DefaultAntennaGain
float DefaultAntennaGain
Definition: LoRaMac.h:2122
MLME_LINK_CHECK
Definition: LoRaMac.h:1063
MibParam_t::PingSlotSymbolToExpansionFactor
uint32_t PingSlotSymbolToExpansionFactor
Definition: LoRaMac.h:2213
MIB_RECEIVE_DELAY_1
Definition: LoRaMac.h:1632
MCPS_CONFIRMED
Definition: LoRaMac.h:760
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:2350
MlmeConfirm_t::NbRetries
uint8_t NbRetries
Definition: LoRaMac.h:1271
LoRaMacFlags_t::sMacFlagBits::NvmHandle
uint8_t NvmHandle
Definition: LoRaMac.h:506
LoRaMacNvmDataGroup1_t::AggregatedTimeOff
TimerTime_t AggregatedTimeOff
Definition: LoRaMac.h:570
MLME_DEVICE_TIME
Definition: LoRaMac.h:1088
MIB_CHANNELS_MIN_TX_DATARATE
Definition: LoRaMac.h:1658
LORAMAC_STATUS_CLASS_B_ERROR
Definition: LoRaMac.h:2366
McpsReqConfirmed_t
Definition: LoRaMac.h:813
LoRaMacFlags_t::sMacFlagBits::MlmeSchedUplinkInd
uint8_t MlmeSchedUplinkInd
Definition: LoRaMac.h:498
LORAMAC_MAX_MC_CTX
#define LORAMAC_MAX_MC_CTX
Definition: LoRaMacTypes.h:61
MIB_S_NWK_S_INT_KEY
Definition: LoRaMac.h:1472
MibParam_t::BeaconSymbolToExpansionFactor
uint32_t BeaconSymbolToExpansionFactor
Definition: LoRaMac.h:2206
LoRaMacChannelAdd
LoRaMacStatus_t LoRaMacChannelAdd(uint8_t id, ChannelParams_t params)
LoRaMAC channel add service.
McpsReq_t::uMcpsParam
Definition: LoRaMac.h:868
MlmeReqPingSlotInfo_t
Definition: LoRaMac.h:1164
MibParam_t::McAppSKey1
uint8_t * McAppSKey1
Definition: LoRaMac.h:1936
MlmeReqDeriveMcSessionKeyPair_t::GroupID
AddressIdentifier_t GroupID
Definition: LoRaMac.h:1196
MIB_RX2_CHANNEL
Definition: LoRaMac.h:1584
MIB_MC_KE_KEY
Definition: LoRaMac.h:1490
MibParam_t::PingSlotWindow
uint32_t PingSlotWindow
Definition: LoRaMac.h:2181
MIB_MC_NWK_S_KEY_1
Definition: LoRaMac.h:1526
MLME_BEACON_ACQUISITION
Definition: LoRaMac.h:1102
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:557
LoRaMacNvmDataGroup1_t::Crc32
uint32_t Crc32
Definition: LoRaMac.h:591
McpsIndication_t::RxData
bool RxData
Definition: LoRaMac.h:973
MibParam_t::ChannelList
ChannelParams_t * ChannelList
Definition: LoRaMac.h:1990
MibParam_t::AdrEnable
bool AdrEnable
Definition: LoRaMac.h:1840
MlmeReq_t::uMlmeParam
Definition: LoRaMac.h:1212
LORAMAC_REGION_RU864
Definition: LoRaMac.h:554
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:691
McpsConfirm_t
Definition: LoRaMac.h:893
Mlme_t
Mlme_t
LoRaMAC management services.
Definition: LoRaMac.h:1034
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:2086
McpsReqUnconfirmed_t::fBufferSize
uint16_t fBufferSize
Definition: LoRaMac.h:803
MIB_MC_APP_S_KEY_0
Definition: LoRaMac.h:1502
MlmeReqDeriveMcKEKey_t::DevEUI
uint8_t * DevEUI
Definition: LoRaMac.h:1185
MibParam_t::JSIntKey
uint8_t * JSIntKey
Definition: LoRaMac.h:1870
McpsIndication_t::Multicast
uint8_t Multicast
Definition: LoRaMac.h:949
McpsReq_t::ReqReturn
RequestReturnParam_t ReqReturn
Definition: LoRaMac.h:887
MLME_BEACON
Definition: LoRaMac.h:1095
KeyIdentifier_t
KeyIdentifier_t
Definition: LoRaMacTypes.h:672
LORAMAC_STATUS_DUTYCYCLE_RESTRICTED
Definition: LoRaMac.h:2330
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:1225
MibParam_t::AppKey
uint8_t * AppKey
Definition: LoRaMac.h:1858
MlmeReqTxCw_t::Power
int8_t Power
Definition: LoRaMac.h:1158
MibParam_t::BeaconWindowSlots
uint32_t BeaconWindowSlots
Definition: LoRaMac.h:2175
MibParam_t
Definition: LoRaMac.h:1803
MIB_MC_NWK_S_KEY_3
Definition: LoRaMac.h:1562
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:2282
LORAMAC_STATUS_OK
Definition: LoRaMac.h:2274
MibParam_t::BeaconReserved
uint32_t BeaconReserved
Definition: LoRaMac.h:2157
Mcps_t
Mcps_t
LoRaMAC data services.
Definition: LoRaMac.h:751
MIB_PING_SLOT_SYMBOL_TO_EXPANSION_MAX
Definition: LoRaMac.h:1771
MibParam_t::NetID
uint32_t NetID
Definition: LoRaMac.h:1846
LORAMAC_REGION_EU433
Definition: LoRaMac.h:534
LORAMAC_STATUS_BUSY_BEACON_RESERVED_TIME
Definition: LoRaMac.h:2342
McpsIndication_t::RxDatarate
uint8_t RxDatarate
Definition: LoRaMac.h:957
MlmeReq_t::uMlmeParam::TxCw
MlmeReqTxCw_t TxCw
Definition: LoRaMac.h:1221
MIB_SE_PIN
Definition: LoRaMac.h:1416
LORAMAC_STATUS_MAC_COMMAD_ERROR
Definition: LoRaMac.h:2362
LoRaMacNvmDataGroup1_t::AdrAckCounter
uint32_t AdrAckCounter
Definition: LoRaMac.h:562
MIB_J_S_INT_KEY
Definition: LoRaMac.h:1454
MIB_NET_ID
Definition: LoRaMac.h:1430
RequestReturnParam_t::DutyCycleWaitTime
TimerTime_t DutyCycleWaitTime
Definition: LoRaMac.h:781
MIB_CHANNELS_NB_TRANS
Definition: LoRaMac.h:1620
LoRaMacFlags_t::sMacFlagBits::McpsReq
uint8_t McpsReq
Definition: LoRaMac.h:482
MIB_BEACON_INTERVAL
Definition: LoRaMac.h:1739
MibParam_t::McKey2
uint8_t * McKey2
Definition: LoRaMac.h:1948
McpsConfirm_t::TxTimeOnAir
TimerTime_t TxTimeOnAir
Definition: LoRaMac.h:922
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:1674
McpsReq_t::uMcpsParam::Unconfirmed
McpsReqUnconfirmed_t Unconfirmed
Definition: LoRaMac.h:873
LoRaMacRxSlot_t
LoRaMacRxSlot_t
Definition: LoRaMac.h:205
LoRaMacParams_t::JoinAcceptDelay2
uint32_t JoinAcceptDelay2
Definition: LoRaMac.h:272
McpsReq_t
Definition: LoRaMac.h:858
MibParam_t::sLrWanVersion
Definition: LoRaMac.h:2141
MLME_BEACON_LOST
Definition: LoRaMac.h:1122
MIB_NWK_S_ENC_KEY
Definition: LoRaMac.h:1478
MlmeReqTxCw_t
Definition: LoRaMac.h:1145
LORAMAC_STATUS_ERROR
Definition: LoRaMac.h:2378
LoRaMacEventInfoStatus_t
LoRaMacEventInfoStatus_t
Definition: LoRaMac.h:394
MLME_SCHEDULE_UPLINK
Definition: LoRaMac.h:1074
MibParam_t::NwkKey
uint8_t * NwkKey
Definition: LoRaMac.h:1864
LORAMAC_EVENT_INFO_STATUS_TX_TIMEOUT
Definition: LoRaMac.h:407
MibParam_t::McNwkSKey2
uint8_t * McNwkSKey2
Definition: LoRaMac.h:1960
McpsReqUnconfirmed_t
Definition: LoRaMac.h:787
MlmeConfirm_t::DemodMargin
uint8_t DemodMargin
Definition: LoRaMac.h:1263
MibParam_t::BeaconWindow
uint32_t BeaconWindow
Definition: LoRaMac.h:2169
McpsIndication_t::Port
uint8_t Port
Definition: LoRaMac.h:953
MlmeConfirm_t::BeaconTimingChannel
uint8_t BeaconTimingChannel
Definition: LoRaMac.h:1280
MIB_BEACON_WINDOW_SLOTS
Definition: LoRaMac.h:1755
MIB_MC_KEY_3
Definition: LoRaMac.h:1550
LoRaMacTxInfo_t::MaxPossibleApplicationDataSize
uint8_t MaxPossibleApplicationDataSize
Definition: LoRaMac.h:2258
LoRaMacTxInfo_t
Definition: LoRaMac.h:2253
McpsIndication_t
Definition: LoRaMac.h:936
LoRaMacTxInfo_t::CurrentPossiblePayloadSize
uint8_t CurrentPossiblePayloadSize
Definition: LoRaMac.h:2263
MibParam_t::PingSlotDatarate
int8_t PingSlotDatarate
Definition: LoRaMac.h:2225
MibParam_t::BeaconSymbolToExpansionMax
uint32_t BeaconSymbolToExpansionMax
Definition: LoRaMac.h:2193
McChannelParams_t
Definition: LoRaMacTypes.h:836
MibParam_t::MaxBeaconLessPeriod
uint32_t MaxBeaconLessPeriod
Definition: LoRaMac.h:2219
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:774
MlmeConfirm_t::NbGateways
uint8_t NbGateways
Definition: LoRaMac.h:1267
MIB_ANTENNA_GAIN
Definition: LoRaMac.h:1712
LORAMAC_REGION_CN470
Definition: LoRaMac.h:526
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:1644
MlmeIndication_t::MlmeIndication
Mlme_t MlmeIndication
Definition: LoRaMac.h:1291
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:985
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:697