ESP32_LoRaWAN icon indicating copy to clipboard operation
ESP32_LoRaWAN copied to clipboard

OTAA sample doesn't compile

Open DeveloppeurPascal opened this issue 5 years ago • 1 comments

/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()'

DeveloppeurPascal avatar Sep 10 '19 12:09 DeveloppeurPascal

Please update the library to the latest version.

DestinyFxxker avatar Sep 16 '19 10:09 DestinyFxxker