HelTecAutomation / ESP32_LoRaWAN

Transplanted from Semtech LoRaWAN(https://github.com/Lora-net/LoRaMac-node) protocol to "ESP32 + Arduino" platform. Use RTC, support deep sleep, only working with ESP32 + LoRa boards made by HelTec Automation(TM). Need a unique license to use it.
344 stars 108 forks source link

frame-counter did not increment" #89

Open henrytheshed opened 2 years ago

henrytheshed commented 2 years ago

I am running ESP32 Lorawan library on a LoRa WIFI 32 (V2) board. I am connecting to a RAK module connecte d to a raspberry Pi 4 running chirpstack gateway os. I am connecting using OTAA an EU868 region. Mostly I join then the payload messages update correctly and are displayed in the data section of the Chirpstack applications server. However from time to time I get the error: "frame-counter did not increment". Then the next messages contain the same erro usually 5 messages. Then I get a Join and the messages are accepted again.

I note that the library from which the HELTEC library was ported appears to have been updated more recently and doing a compatison of files shows they are very different now. I don't know if they have diverged. The original files used to port are showing changes a couple of months ago to fix a frame counter increment problem.

I also use this library with a number of CubeCell boards.

Might it be possible to review the libraries and do some updates?