Connecting SARA R410M to NB-IOT on AT&T in the USA

Hello

I’ve got a SODAQ AFF R410M with an AT&T Sim card. I’m trying to modify the NB_IOT test script to connect.

My connection parameters are:

const char* apn = "m2mNB16.com.attz";
const char* cdp = "";
const char* forceOperator = "0"; // optional - depends on SIM / network

I’m getting a “Failed to connect!” message.

The APN is from this website… https://support.marketplace.iot.attcompute.com/help/what-apn-or-how-can-i-find-the-apn-that-i-need-to-use-for-my-device

I’m not sure what the CDP is - AT&T has been contacted for this, though I’m not sure how important it is?

Still learning AT commands so I’m not sure what to make of them, but I’ve tried the following…

AT+CGATT?

+CGATT: 1

AT+CSQ

+CSQ: 22,99

AT+CGDCONT=?

+CGDCONT: (1-8,100-179),"IP",,,(0-2),(0-4),(0-1),(0-1)
+CGDCONT: (1-8,100-179),"PPP",,,(0-2),(0-4),(0-1),(0-1)
+CGDCONT: (1-8,100-179),"IPV6",,,(0-2),(0-4),(0-1),(0-1)
+CGDCONT: (1-8,100-179),"IPV4V6",,,(0-2),(0-4),(0-1),(0-1)

AT+COPS=?

+COPS: (1,"313 100","313 100","313100",8),(1,"311 480","311 480","311480",8),(2,"AT&T","AT&T","310410",8),(1,"311 480","311 480","311480",9),,(0,1,2,3,4),(0,1,2)

AT+COPS?

+COPS: 0,0,"AT&T",8

AT+CREG?

+CREG: 0,1

AT+CGREG?

+CGREG: 0,4

AT+CGATT?

+CGATT: 1

ati9

L0.0.00.00.05.06,A.02.01

It looks like I’m a few firmware versions behind, though I’m not sure where to download the latest one?

Thanks in advance.

Send us an email, we will reply with the latest firmware file and required tools.

Best regards,
Jan

Thanks @Jan

What email address am I best contacting?

Many thanks
Craig

info at sodaq dot com

Since the firmware upgrade, my board appears to be a little unstable?

I’m running the passthrough scirpt and I’m seeing repeated +PACSP0…

In the latest firmware PSM is enabled by default.
This can cause issues with your sketch and with sending AT commands

Here you can find the commands to turn them off:
https://support.sodaq.com/Boards/Sara_AFF/Examples/passthrough/#general-r4-commands

Best regards,
Jan