Hi. I received my new Sodaq board last week. I connected it to allthingspeak without problems: data was loaded from the board to the pinboard correctly.
Today, I upload a new program from Arduino/examples/SODAQ NBIoT but, when I run the code in the Sodaq board, I have this message: “Failed to connect!”
Some of the code:
const char* apn = “nb.inetd.gdsp”;
const char* cdp = “IP”;
const uint8_t band = 20;
const char* forceOperator = “20404”;
if (nbiot.connect(apn, cdp, forceOperator, band)) {
DEBUG_STREAM.println("Connected succesfully!");
}
else {
DEBUG_STREAM.println("Failed to connect!");
return;
Thank you for the answer.
Let me know if you can help me again :
When I received the Sodaq Sara AFF Vodafone board, it came with a program preloaded that connect succesfully with vodafone.allthingstalk.com. After that, I changed that software with an arduino example.
In order to replace and test, could you main say me where can I download that “preloaded” program?