kopia lustrzana https://github.com/jgromes/RadioLib
Merge branch 'master' of https://www.github.com/jgromes/RadioLib
commit
6d0c226e65
|
@ -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
|
||||||
|
|
Ładowanie…
Reference in New Issue