I'm trying to compile an arduino code, using different librairies: lmic, CayenneLPP, DHT sensor and ArduinoJson.
This code is a simply program to retrieve sensor data and send them to Lora Server. Similar to ttn-abp.ino but using DHT and CayenneLPP.
First, I tried to use the Arduino IDE to download IBM LMIC Framework Version 1.5.0+arduino-2. But no succeeding (error while donwloading), I used the Github repo.
When I compile, an error involving calcBcnRxWindowFromMillis, table_get_ostime, table_get_u4, in lmic.c, appears.
I tried to use the LMIC library provided in Arduino IDE: MCCI LoRaWAN LMIC 3.0.99.
The code compile well but no data are transmit by the Lora Shield.
Another partner working on this project use this repo and the same code compile. So I guess I must use it.
I already try to reinstall all the librairies and Arduino IDE.
So, I felt on this closed issue: issue 234.
After trying platformio, it works well now. But I don't think this is a good remediation and a solution can maybe found to use this library with Arduino IDE.
Hi there,
I'm trying to compile an arduino code, using different librairies: lmic, CayenneLPP, DHT sensor and ArduinoJson.
This code is a simply program to retrieve sensor data and send them to Lora Server. Similar to ttn-abp.ino but using DHT and CayenneLPP.
First, I tried to use the Arduino IDE to download IBM LMIC Framework Version 1.5.0+arduino-2. But no succeeding (error while donwloading), I used the Github repo.
When I compile, an error involving calcBcnRxWindowFromMillis, table_get_ostime, table_get_u4, in lmic.c, appears.
I tried to use the LMIC library provided in Arduino IDE: MCCI LoRaWAN LMIC 3.0.99. The code compile well but no data are transmit by the Lora Shield.
Another partner working on this project use this repo and the same code compile. So I guess I must use it.
I already try to reinstall all the librairies and Arduino IDE.
Version and others info: