Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTAA sample doesn't compile #14

Open
DeveloppeurPascal opened this issue Sep 10, 2019 · 1 comment
Open

OTAA sample doesn't compile #14

DeveloppeurPascal opened this issue Sep 10, 2019 · 1 comment

Comments

@DeveloppeurPascal
Copy link

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

@DestinyFxxker
Copy link
Contributor

Please update the library to the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants