Hello,
I have some problems compiling the nbIOT_gps example from the Github. Should these be asked here or on Github?
Hendrie
Hello,
I have some problems compiling the nbIOT_gps example from the Github. Should these be asked here or on Github?
Hendrie
Thats exactly what a forum is for. So ask!
Hi Hendrie,
The most recent version ( https://github.com/janvl1234/Sodaq_NBIoT_examples ) should be able to compile. You have to install the “Sodaq_wdt” library.
What is the returned error when you try to compile te example ?
Regards,
Remi
It is sorted out already. I had to compile it twice. The first time i get these errors:
In file included from sketch/Sodaq_UBlox_GPS.cpp:21:0:
/home/boschie/arduino-1.8.3/hardware/arduino/avr/libraries/Wire/src/Wire.h: In member function 'uint8_t Sodaq_UBlox_GPS::read()':
/home/boschie/arduino-1.8.3/hardware/arduino/avr/libraries/Wire/src/Wire.h:65:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int, int)
uint8_t requestFrom(int, int, int);
^
/home/boschie/arduino-1.8.3/hardware/arduino/avr/libraries/Wire/src/Wire.h:62:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t, uint8_t);
^
Archiving built core (caching) in: /tmp/arduino_cache_580868/core/core_arduino_avr_leonardo_775ef81db757ab973a7e81717a07f10f.a
When compiled again there are no errors shown so I think it’s good.
(If not please let me know).
Regards,
Hendrie
Hi Hendrie,
I get the same warning compiling the source. But the code is working. You can check this by opening the Arduino Serial monitor and view the debug messages.
It will get the GPS position (if your signal is strong enough, indoor does not always work) and send the result in a text message to the network.
Regards,
Remi