​AT Command cookbook

This chapter describes the different instructions used to control the u-blox SARA-R410M modem.

Modem configuration:

# Turn-off radio functionality, the module will deregister. > AT+CFUN=0 OK # Set MNO profile for Standard Europe > AT+UMNOPROF=100 +UMNOPROF: 100 OK # Reset the module. After a reboot, the MNO 100 profile settings are applied. > AT+CFUN=15 OK # Turn-off radio functionality, the module will deregister. > AT+CFUN=0 OK # Change RAT selection to NB-IoT. > AT+URAT=8 OK # Reset the module. After a reboot, the MNO 100 profile settings are applied. > AT+CFUN=15 OK # Turn-off radio functionality, the module will deregister. > AT+CFUN=0 OK # Set Band > AT+UBANDMASK=1,524420 OK # Reset the module. After a reboot, the MNO 100 profile settings are applied. > AT+CFUN=15 OK # Turn-off radio functionality, the module will deregister. > AT+CFUN=0 OK # Set APN name > AT+CGDCONT=1,"IP","" OK # Reset the module. After a reboot, the MNO 100 profile settings are applied. > AT+CFUN=15 OK # Set automatic operator selection > AT+COPS=0 OK

Read Available Operator Profiles

This AT-commands reads the operator profiles available on the device.

  • 19: Vodafone (used for Vodafone Germany only)

  • 197: Vodafone-global-roaming (used for roaming scenarios)



> AT+UMNOPROF=,1 OK > AT+UMNOPROF=? +UMNOPROF: 0: SW default 1: SIM ICCID select 2: ATT 7.1 6: China Telecom 7.0 31: DT 7.0 8: Sprint 7.0 100: Standard Europe 7.0 4: Telstra 7.0 21: TELUS 7.0 5: TMO 7.0 19: Vodafone 7.0 3: Verizon 7.0 197: Vodafone-global-roaming 7.2 OK

Vodafone Global Roaming Profile Activation (Before First Time Registration of the Device)

This AT-commands activate the Vodafone global roaming profile. Usually used for the initial attach of the device to a cell.

//activate the Vodafone global roaming profile > AT+UMNOPROF=197 OK //reboot the device > AT+CFUN=15 OK

Vodafone Germany Roaming Profile Activation (Before First Time Registration of the Device)

This AT-commands activate the Vodafone Germany profile. This should be used in Germany only. It results in a much faster initial attach. Usually only used for the initial attach of the device to a cell.

Full functional test of modem (Attach, UDP Socket, TX, RX, Detach)

This AT-commands performs a full E2E data transmission to the cloud. Please make sure that the proxy IP address (213.136.81.171) is whitelisted at the operators APN (Access Point Name).

Testing TCP connection (using ublox echo server)

The LED can be configured

This AT-commands configures the default LED operation

The status is indicated by LED:

  • RED: Device is powered on

  • GREEN: device is registered in the network

  • GREEN/RED alternating: device is registered in the network and roaming (this will be the usual pattern)



Testing MQTT connection

https://exelonix.atlassian.net/wiki/spaces/TD/pages/3785654273