So a few a days ago I received my MKR1500NB + antenna + battery and started experimenting with it.
So I removed it from the foam, put in a SIM Card (which supports NarrowBand / LTE-M network in my country), installed the MKRNB library + drivers in the desktop IDE, as per instruction and fired up some examples, starting with the TestModem script.
Note: in the below testing I have disabled the battery and tried multiple power sources for USB, I have not seen a difference.
Initially this did not work and gave me the "Error: Could not get IMEI" message, only after I added a 90 second delay at the start of the loop() did it actually present me with a proper IMEI number. Seemingly the modem has a wake up time ?
Now to continue I opened and uploaded the "ChooseRadioAccessTechnology" example, and selected option 3 to prefer NB IoT with LTE-M as fallback. This all seemed to work from what I could tell (the selection of the band that is).
Now when it comes to actually trying to use connectivity, none of it works.
I loaded up the "GPRSUdpNtpClient" example, which from what I can tell just hangs after some point in the process (through Serial monitor)
The moment the command "nbAccess.begin(PINNUMBER)" is called, the arduino sketch freezes and fails to progress. ( I have tried adding the same 90 second delay here to no avail )
When enabling Debug Output on the NB object the following debug output is given:
Starting Arduino GPRS NTP client.
AT
OK
AT+CMEE=0
OK
AT+CFUN=0
OK
AT+CPIN?
+CPIN: READY
OK
AT+CMGF=1
OK
AT+UDCONF=1,1
OK
AT+CTZU=1
OK
AT+CGDCONT=1,"IP",""
OK
AT+UAUTHREQ=1,0
OK
AT+CFUN=1
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CEREG?
+CEREG: 0,0
OK
AT+CEREG?
+CEREG: 0,0
the last 3 lines then loop forever.
From my understanding +CEREG: 0,0 , effectively means no network is found to register on.
I'm not sure if my board is bad, or maybe the sim card is bad, either way it seems strange the entire sketch just hangs and fails to progress. Based on the examples it seems like unexpected behavior. I've read other posts where this behavior was related to insufficient power source, but I do not believe this to be the case. ( I tested on 4 different power sources which I know provide the required 2.1A )
If anyone has some advice I'd love to hear it.
Thanks in advance.