MKR_ENV_LoRaWAN module does not compile due to missing libs
When compiling the MKR_ENV_LoRaWAN module, I get the following error due to two missing libraries "LoraMessage.h" and "LoraEncoder.h":
Arduino: 1.8.11 (Mac OS X), Board: "Arduino MKR WAN 1310"
/Users/jonas/dev/repos/arduino-1300-mkr-wan/MKR_ENV_LoRaWAN/MKR_ENV_LoRaWAN.ino: In function 'void loop()':
MKR_ENV_LoRaWAN:221:1: error: 'LoraEncoder' was not declared in this scope
LoraEncoder encoder(buffer);
^~~~~~~~~~~
/Users/jonas/dev/repos/arduino-1300-mkr-wan/MKR_ENV_LoRaWAN/MKR_ENV_LoRaWAN.ino:221:1: note: suggested alternative: 'LoRaModem'
LoraEncoder encoder(buffer);
^~~~~~~~~~~
LoRaModem
MKR_ENV_LoRaWAN:264:3: error: 'encoder' was not declared in this scope
encoder.writeUint8(uvIndex); // 1 Byte
^~~~~~~
exit status 1
'LoraEncoder' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
My setup:
- Arduino IDE 1.8.11
- Installed libraries: MKRWAN 1.0.11, MKRENV 1.1.0
- OSX 10.15.2
- Arduino MKR WAN 1310 + MKR ENV Shield
Edited by Jonas