Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Next »

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

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.

//Set the Vodafone profile
> AT+UMNOPROF=19
OK
 
//Module reboot for saving changed profile
> AT+CFUN=15
OK

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).

// Start network registration
> AT+CFUN=1
OK
> AT+CEREG=2
OK
 
// Wait till registered to network
> AT+CEREG?
+CEREG: 2,5,"AB7D","790066",9
OK
 
// Open UDP socket
> AT+USOCR=17
+USOCR: 0
OK
 
// Transmit "Test" to Exelonix UDP proxy
> AT+USOST=0,"213.136.81.171",9876,4,"Test"
+USOST: 0,4
OK
 
// Data indication (seems to be unreliable)
+UUSORF=0,3
 
// Receive response data "400"
> AT+USORF=0,3
+USORF: 0,"213.136.81.171",9876,3,"400"
OK
 
// Close socket
> AT+USOCL=0
OK
 
// Disable modem
> AT+CFUN=0

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)


/ GPIO2, red LED: global LED enable
> AT+UGPIOC=23,0,1
OK
 
// GPIO1, green LED: Power, Attached
> AT+UGPIOC=16,2
OK
 
// Reset the device to make setting effective
> AT+CFUN=15
OK


  • No labels