MKR NB 1500 Unable to connect to IOT Cloud - NO PIN, Username or Password

Hello we are unable to get an Arduino MKR NB 1500 To connect to the Arduino IOT Cloud using the samples on the IOT Cloud Editor.

We are using a SIM which has no PIN,Username or Password.

We have been able to use library examples to confirm that the board works. We have used the examples: TestGPRS, NBScanNetworks, NBSSLWebClient to connect to the internet. The only modification that was required was to set the PINNUMBER[] to ""

All these examples were successful confirming the board and SIM card is working as intended.

We have tried to get the IOT Sample code by modifying the thingsProperties.h as follows

  1. Changing the GPRS_APN,PINNUMBER,GPRS_LOGIN_Password to ""
  2. Changing the line NBConnectionHandler ArduinoIoTPreferredConnection(NULL);

But this was not successful. We get the error "SIM not present or wrong PIN" which indicates a connection issue looking at the code.

Thanks in Advance for your help.

Hi I have this problem to, with exactly the same symptoms.

The samples
TestGPRS
NBScanNetworks
NBSSLWebClient

All work which means the hardware and SIM card are fine.

However when using the "IOT" cloud my device doesnt connect.

I have tried changing the line in thingsProperties.h to

NBConnectionHandler ArduinoIoTPreferredConnection(NULL);

but it did not help. I just get ther error ""SIM not present or wrong PIN"
There is a SIM present (it worked with the previous samples, and there is no PIN)

Any ideas?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.