WiFi LoRa 32 (V2) Class C example? (SOLVED)

Hi all!
In the GitHub Heltec’s repo I read that “The ESP32_LoRaWAN library provides a fairly complete LoRaWAN Class A and Class C implementation”.
The OTAA examples in the repo are in class A only, but I would like to test Class C also… Is there some similar example somewhere made to work in class C?
Many thanks!

Hi~
You only need to change a small part of the code to get an example of ClassC.

  1. Change the mode to “Class_C” at line 21 of the “LoRaMac-definitions.h” file.
    QQ%E6%88%AA%E5%9B%BE20190812130644
  2. Change the 54 line of the “board.h” file to “#define IsLowPowerOn 0”
    image

Saber,
Thank you very much!! It works perfectly, and your precious help is very appreciated.
Thanks again!