Handle zero-length downlink in Arduino_LoRaWAN::NetRxComplete
terrillmoore opened this issue · comments
When reviewing arduino-lmic docs, discovered that the proper form for checking for RX is:
if (LMIC.dataLen != 0 || LMIC.dataBeg != 0)
Right now we only have
if (LMIC.dataLen != 0)
which means that zero-length downlinks are not indicated to the client.
Labeled as a bug because I didn't intend to suppress zero-length downlinks.