I am expiriencing difficulties getting my NB1500 to work with the IOTCloud
The Sketch I am loading is the Sketch IOTcloud generates. I have other boards (OPTA and MKRwifi1010) working properly in the IOTcloud.
Firmware modem :
L0.0.00.00.05.06 [Feb 03 2018 13:00:41]
The following output can be read from the serial monitor (the board gets diconnected and reboots a few seconds after "connected to GPRS network")
***** Arduino IoT Cloud - configuration info *****
Device ID: ff087f1f-8f94-4a5e-9b62-04e6028bbd36
MQTT Broker: mqtts-sa.iot.arduino.cc:8883
SIM card ok
Connected to GPRS Network
***** Arduino IoT Cloud - configuration info *****
Device ID: ff087f1f-8f94-4a5e-9b62-04e6028bbd36
MQTT Broker: mqtts-sa.iot.arduino.cc:8883
SIM not present or wrong PIN
And sometimes the output is different, no disconection of the board and the output looks like this:
***** Arduino IoT Cloud - configuration info *****
Device ID: ff087f1f-8f94-4a5e-9b62-04e6028bbd36
MQTT Broker: mqtts-sa.iot.arduino.cc:8883
SIM card ok
GPRS.attachGPRS(): 4
Connected to GPRS Network
TimeServiceClass::sync Drift: -21 RTC value: 1701786005
ArduinoIoTCloudTCP::handle_ConnectMqttBroker could not connect to mqtts-sa.iot.arduino.cc:8883
ArduinoIoTCloudTCP::handle_ConnectMqttBroker 1 connection attempt at tick time 10102
ArduinoIoTCloudTCP::handle_ConnectMqttBroker could not connect to mqtts-sa.iot.arduino.cc:8883
ArduinoIoTCloudTCP::handle_ConnectMqttBroker 2 connection attempt at tick time 14230
ArduinoIoTCloudTCP::handle_ConnectMqttBroker could not connect to mqtts-sa.iot.arduino.cc:8883
ArduinoIoTCloudTCP::handle_ConnectMqttBroker 3 connection attempt at tick time 22359
GPRS.isAccessAlive(): 1
Connected to Cellular Network
ArduinoIoTCloudTCP::handle_ConnectMqttBroker could not connect to mqtts-sa.iot.arduino.cc:8883
ArduinoIoTCloudTCP::handle_ConnectMqttBroker 4 connection attempt at tick time 38488
GPRS.isAccessAlive(): 1
Connected to Cellular Network
Ran the ChooseRadioAccesTechnology (Chose option 2 - CAT M1 preferred, NB IoT as failover (default))
Ran the modemtest sketch, modem is functioning properply.
Connecting NB IoT / LTE Cat M1 network...OK
Attaching to GPRS...
OK
If your carrier uses a proxy, enter it, if not press enter:
Connecting and sending GET request to example.org...OK
Receiving response...OK
TEST COMPLETE!
Connecting NB IoT / LTE Cat M1 network...ERROR
Ran the tesGPRS sketch, all seems well until last line:
Ran NBScanNetworks sketch and left it for 20 min. or so:
NB IoT/LTE Cat M1 networks scanner
Modem IMEI: 356726100194810
Current carrier: KPN KPN
Signal Strength: 99 [0-31]
Scanning available networks. May take some seconds.
Current carrier:
Signal Strength: 31 [0-31]
Scanning available networks. May take some seconds.
> KPN
> 204 04
> 204 16
Current carrier: KPN KPN
Signal Strength: 16 [0-31]
Scanning available networks. May take some seconds.
> KPN
> 204 04
> 204 04
> 204 16
Current carrier: KPN KPN
Signal Strength: 17 [0-31]
Scanning available networks. May take some seconds.
Ran example sletches for sending and recieving SMS, both positive. Altough receiving a SMS took a while.
Bottom line, as far as i can tell, my modem and SIM are working properly but the board cannot seem to connect with the IOTcloud service for some reason. What can I do at this point to get this to work?
Kind regards Simon.