Merge branch 'master' of https://www.github.com/jgromes/RadioLib
This commit is contained in:
commit
6d0c226e65
1 changed files with 3 additions and 0 deletions
|
@ -1497,6 +1497,9 @@ int16_t LoRaWANNode::downlink(uint8_t* data, size_t* len, LoRaWANEvent_t* event)
|
||||||
event->fPort = fPort;
|
event->fPort = fPort;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// clear the previous MAC commands, if any
|
||||||
|
memset(&(this->commandsDown), 0, sizeof(LoRaWANMacCommandQueue_t));
|
||||||
|
|
||||||
// process FOpts (if there are any)
|
// process FOpts (if there are any)
|
||||||
if(fOptsLen > 0) {
|
if(fOptsLen > 0) {
|
||||||
// there are some Fopts, decrypt them
|
// there are some Fopts, decrypt them
|
||||||
|
|
Loading…
Add table
Reference in a new issue