xreef / EByte_LoRa_E220_Series_Library

Arduino LoRa EBYTE E220 LLCC68 device library complete and tested with Arduino, esp8266, esp32, STM32 and Raspberry Pi Pico (rp2040 boards)..
https://www.mischianti.org/category/my-libraries/lora-e220-llcc68-devices/
Other
80 stars 20 forks source link

waitCompleteResponse #12

Closed aschewski closed 1 year ago

aschewski commented 1 year ago

Hello Renzo. I had an issue where if I sent multiple messages within a few seconds, they would not arrive. I then set line 436 in LoRa_E220.cpp to result = this->waitCompleteResponse(200, 200). Now I can send messages quickly one after another. However, I don't understand the wait time? What is the purpose of the first and second value? Could you please explain it in detail? I would like to understand what negative effects reducing the values can have. Thank you in advance and greetings.

xreef commented 1 year ago

Hi aschewski, the first is needed if AUX never goes HIGH, and the second is used if you don't connect the AUX.

But if you don't connect the AUX not change the second value, if works for you a smaller value, It's only lucky.

If you need a faster response connect AUX, there isn't another way.

Bye Renzo

aschewski commented 1 year ago

OK! Thank you - I have now connected AUX and it works great. Thanks for the great library.