jgromes / RadioLib

Universal wireless communication library for embedded devices
https://jgromes.github.io/RadioLib/
MIT License
1.48k stars 373 forks source link

LORAWAN Error message on uplink when node.downlink() is removed #888

Closed RonMeier closed 9 months ago

RonMeier commented 9 months ago

Describe the bug I noticed when testing LoRaWAN_End_Device_Reference.ino in case node.downlink() is taken out as I don't need a downlink It is also no longer possible to send an uplink From the second time the uplink is sent, the error message appears: [LoRaWAN] Sending uplink packet ... failed, code -1108 [LoRaWAN] Waiting for downlink ... failed, code -1108

Expected behavior No waiting for a downlink

Additional info (please complete):

jgromes commented 9 months ago

in case node.downlink() is taken out as I don't need a downlink

LoRaWAN requires you to open Rx windows after uplink. Without that, functionality like adaptive data rate will not work.

RonMeier commented 9 months ago

Ok I understand, Thank you very much for your response.