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

I can connect using LTE-M1 (I think!), but I’m not sure how to switch to NB-IoT…

The URAT and UBANDMASK options are no longer supported?

Is there an alternative AT+URAT=8 to set it to NB-IoT?

I noticed on other threads that UMNOPROF has to be set. Mine is 2 as the carrier is AT&T:

AT+UMNOPROF=?

+UMNOPROF: 
0: SW default
1: SIM ICCID select
2: ATT
6: China Telecom
31: DT
8: Sprint
100: Standard Europe
4: Telstra
21: TELUS
5: TMO
19: Vodafone
3: Verizon

AT+UMNOPROF?

+UMNOPROF: 2

AT+URAT?

+CME ERROR: Operation not supported

Thanks