ublox SARA N2/N3 series

AT command guide for: SARA N2 and N3 series

Please be aware that we cannot guarantee for the completeness and accuracy of this page. For detailed information and latest versions of the AT command guides, please always refer to the supplier's specifications and manuals.
You can contact us at 📧 docwriters (at) iotcreators (dot) com in case this collection doesn't work for you!

Vendor's AT commands manual

https://www.u-blox.com/sites/default/files/SARA-N2-N3_ATCommands_UBX-16014887.pdf

General AT Commands

PurposeCommand String
Configure/start a manual network selectionAT+COPS=[,[,[,]]]

For example: AT+COPS=1,2,"26201"
Check the received signal qualityAT+NUESTATS
Check the supported/configured bands of the UEAT+NBAND?
Check the network registration statusAT+CEREG?
Configure the APN for IP-based connectionAT+CGDCONT=1,"IP","<APN_name>"
Configure/activate the PSM modeAT+CPSMS=[[,<Requested_Periodic-RAU>[,<Requested_GPRS-READYtimer>[,<Requested_Periodic-TAU>[,<Requested_Active-Time>]]]]]

For example: AT+CPSMS=1,,,”01000001”,”00000101”
Initialization and resuming of firmware over the air (FOTA) updatesAT+UCOAPFWT=0

Note: This AT command is used to resume FOTA transfer after interruption:
AT+UCOAPFWT=<remaining_blocks>
Check the firmware versionAT+CGMR
Modify the supported bands of the UEAT+NBAND=n[,n[,n[...]]]

For example: AT+NBAND=8,20
Switch ON / OFF the transceiverAT+CFUN=1

AT Commands for Communication Protocols

PurposeCommand String
Configure/activate Rel. 13 Early Release Assistance IndicatorAT+NSOSTF=,<remote_addr>,<remote_port>,,,

For example: AT+NSOSTF=1,192.158.5.1,1024,0x200,2,AB30
Configure/activate the eDRX modeAT+CEDRXS=[,[,[,<Requested_eDRX_value>]]]

For example: AT+CEDRXS=1,5,"0101"
Modify eDRX parametersStep 1: Set eDRX value:
AT++CEDRXS=[,[,[,<Requested_eDRX_value>]]]

For example: AT+CEDRXS=1,5,0101

Step 2: Change Paging Transmission Window:
AT+NPTWEDRXS=[,[,[,< Requested_Paging_time_window>[,<Requested_eDRX_value>]]]]

For example: AT+NPTWEDRXS=1,5, 1110,0101
Create a TCP/UDP socket and send data to remote via socketAT+NSOCR=,,[,]

For example: AT+NSOCR=DGRAM,17, 5685,1
Send data to remote via socketAT+NSOST=,<remote_addr>,<remote_port>,,

For example: AT+NSOST=1,192.158.5.1,1024,2,AB30