Reference implementation and documentation of a LoRa network node.
MacGroup2.DutyCycleOn
changeGroupId
in order to avoid out of bounds accessLoRaMacMc*
functionsLoRaMacIsBusy
return false if the MAC is stoppedSystemMaxRxError
provided value is in the range 0..500 msMacGroup2
LoRaMacClassBProcessMulticastSlot()
RegionGroup2
in RestoreNvmData
ScheduleTx
LastDownFCnt
update takes place for LoRaWAN 1.1.xmemset
the TX/RX buffer when radio is set to receive modeReJoinType0Req
, ReJoinType1Req
, ReJoinType2Req
handlingProcessRadioRxDone
- Security
struct
HardFault_Handler
for Cortex-M0 targetsRxParamSetupReq
and JoinAccept
FOptsLen
filed checkACTIVE_REGION
pre-processing checkclassBParams.NetworkActivation
variable initializationLmHandlerDeviceTimeReq
API to be publicly accessibleUSE_LRWAN_1_1_X_CRYPTO
pre-processing directive is usedJoinNonce
is checkedDeviceTimeAns
.LmHandlerParams_t
PingSlotPeriodicity
field type from bool
to uint8_t
periodic-uplink-lpp
project default LoRaWAN class selectionMLME_SCHEDULE_UPLINK
notificationLORAWAN_DEFAULT_CLASS
Request->ReqReturn.DutyCycleWaitTime
to ensure that a valid value is always returnedREG_RX_GAIN
and REG_TX_MODULATION
to the radio registers retention listLmHandler
handles the packages transmissionsOnTxPeriodicityChanged
callback implementation in order to directly apply the requested changeLmHandler
initialization to apply user default data rateIrqFired
global variable is handled by RadioIrqProcess
TimerStop( &RxTimeoutTimer )
on RadioIrqProcess
implementationSUCCESS
/FAIL
definition by an enumeration LMN_STATUS_OK
/LMN_STATUS_ERROR
src/system/gps.c
HasFix variable type from double
to bool
FPort224DisableReq
command NVM handlingCLASS_B_C_RESP_TIMEOUT
expiresLmhpCompliance.c
periodicity
array size computationLoRaMacMibGetRequestConfirm
MIB_SE_PIN
handlingAS923_FREQ_OFFSET_HZ
parameterRtcMs2Tick
conversion on SAMR34MLME_SCHEDULE_UPLINK
handling.fuota-test-01
exampleNewChannelReq
amd DlChannelReq
handling to ignore command for AU915
, CN470
and US915
regionsSX126xSetLoRaSymbNumTimeout
to round up the timeout to the nearest possible number of symbol.GetNextLowerTxDr
function implementation.FifoLevel
IRQ instead of FifoEmpty
IRQRISING
to RISING_FALLING
edge.
USB_POWER
ping-pong
and rx-sensi
examples to use the right FSK_BANDWIDTH
and FSK_AFC_BANDWIDTH
parametersRegionIN865RxParamSetupReq
DrOffset
verificationAU915_MAX_RX1_DR_OFFSET
value to 5 instead of 6AU915_MAX_RX1_DR_OFFSET
value to 5 instead of 6FRAGMENTATION_FRAG_SESSION_SETUP_REQ
checks which verify FragNb
and FragSize
validity.SX126xSetOperatingMode
on SX126xSetTxContinuousWave
and SX126xSetTxInfinitePreamble
functionsSX126xIoRfSwitchInit
)RegionXXInitDefaults
. Fixes an issue on US based bands where the channels mask was not being reset.JoinAccept
max payload size (33) by LORAMAC_JOIN_ACCEPT_FRAME_MAX_SIZE
definition.IsChannelFree API
in order to provide reception bandwidthRegionCommonComputeSymbolTimeLoRa
, RegionCommonComputeSymbolTimeFsk
and RegionCommonComputeRxWindowParameters
API implementations to use integer divisions instead of double division.SX126xSetLoRaSymbNumTimeout
to call the workaround only if the number of symbols is equal to or higher than 64.{
after extern "C"
in cmac.h
fileFragSessionStatusAns
message construction for Received&index
fieldLoRaMacCryptoHandleJoinAccept
function DevNonce
, RJCount0
and RJCount1
handling.LoRaMacCrypto.c
conditional pre-processing.Rx1Frequency
reset for dynamic channel plansAS923_1_JP
sub planUSE_RADIO_DEBUG
directive is definedSX126xClearIrqStatus
call to only clear read flagsSecureElementProcessJoinAccept
API to the secure-element.h
LoRaMacDeInitialization
API to ease dynamic region changeMOTE_MAC_TX_PARAM_SETUP_ANS
as sticky MAC commandCHANGELOG.md
fileLmhpFragmentation
implementationCommissioning.h
files to a single one located under src/apps/LoRaMac/common
directoryRadio.TimeOnAir
API in order to be independent of the current hardware settingsse-identity.h
fileMlmeRequest
and McpsRequest
APIs to report back when the next transmission is possibleResetMacParameters
to perform a complete re-initialization of the regional layer after processing the join acceptGEN_APP_KEY
support as it is equivalent to LoRaWAN 1.1.x APP_KEY
readme.md
fileSX126xGetRandom
API implementationRadioStandby
in LoRa modem case inside RadioSetRxConfig
APILoRaSymbNumTimeout
handlingPHY_BEACON_CHANNEL_FREQ
for AU915 regionSRV_MAC_DEVICE_TIME_ANS
, SRV_MAC_PING_SLOT_INFO_ANS
and SRV_MAC_BEACON_TIMING_ANS
processing to be executed only if corresponding MLME request is queuedFCntUp
counter could sometimes be incremented by 2 instead of 1