ESP32_LoRaWAN
ESP32_LoRaWAN copied to clipboard
OTAA sample doesn't compile
/Users/pprem/Documents/Arduino/libraries/ESP32_LoRaWAN-master/examples/OTAA/OTAA.ino: In function 'void loop()': OTAA:64:28: error: no matching function for call to 'LoRaClass::DeviceStateInit()' LoRa.DeviceStateInit(); ^ In file included from /Users/pprem/Documents/Arduino/libraries/ESP32_LoRaWAN-master/examples/OTAA/OTAA.ino:35:0: /Users/pprem/Documents/Arduino/libraries/ESP32_LoRaWAN-master/src/LoRa.h:87:8: note: candidate: void LoRaClass::DeviceStateInit(DeviceClass_t) void DeviceStateInit(DeviceClass_t CLASS); ^ /Users/pprem/Documents/Arduino/libraries/ESP32_LoRaWAN-master/src/LoRa.h:87:8: note: candidate expects 1 argument, 0 provided OTAA:94:24: error: 'IsLowPowerOn' was not declared in this scope LoRa.DeviceSleep(IsLowPowerOn,DebugLevel); ^ exit status 1 no matching function for call to 'LoRaClass::DeviceStateInit()'
Please update the library to the latest version.