Hello guys,
I have a challenge where my message is quite “big” for LoRaWAN, however with 2 packets in DR_2 =~ sending 200 bytes for each it could solve my problem.
The point is, when I send a message it always go to the :
case DEVICE_STATE_SLEEP: { LoRa.DeviceSleep(CLASS,DebugLevel); break; }
Where the ESP32 goes to sleep and with that, I lose my data. I could write it in a RTC variable but is for me is not the best approach.
I have create a flag to make my device check if I have send the two messages already, and when I have sent just the first message it should go to the > DEVICE_STATE_INIT but is not working with this method.
Have someone experienced this kind of challenge with LoRaWAN ?