Practical Example 1.3.1 : Network Service Commands

The following example illustrates the various network related AT commands. In the example below, the TC65 terminal is powered up with the SIM pin activated. Network queries are sent before the network authentication takes place. The SIM pin is then entered and the same commands are issued again. The antenna is disconnected to illustrate the difference to the received signal strength. The antenna is then re-connected. The terminal is then manually de-registered from the network and various network related commands are issued. The terminal is then registered to the network again and a call is made to the terminal. More network queries are issued to the terminal. The call is ended and the terminal is then powered down gracefully.

^SYSSTART//URC indicating that the module has started up in normal operating mode

ati//Display product identification information – module and revision are presented

SIEMENS

TC65

REVISION 02.000

OK

at+cmee=2//Set mobile equipment error message format to verbose mode (strings)

OK

at+cpin?//Check whether network authentication is required. Module requires SIM PIN

+CPIN: SIM PIN

OK

at+cops?//Query present status of terminal’s network registration. Since no PIN was

+COPS: 0//entered, the terminal has not been authenticated on the network

OK

at+csq//Query quality of received signal strength and channel bit error rate

+CSQ: 28,0

OK

at+cpin=1234//Enter in SIM PIN - 1234

OK

at+cpin?//Check whether network authentication is required. Module ready for use

+CPIN: READY

OK

at+cops?//Query present status of terminal’s network registration. Terminal has been

+COPS: 0,0,"VodaCom-SA"//authenticated on the Vodacom Network

OK

at+csq//Query quality of received signal strength and channel bit error rate

+CSQ: 28,0

OK

//ANTENNA DISCONNECTED OVER HERE

at+csq//Query quality of received signal strength and channel bit error rate

+CSQ: 11,0//Signal strength has decreased due to the absence of an antenna. A value <10 is considered very low

//and in cases will produce erratic behavior of the terminal.

//ANTENNA RECONNECTED OVER HERE

at+csq//Query quality of received signal strength and channel bit error rate

+CSQ: 28,0

OK

at+creg=2//Set URCs to present themselves when there is a change in network registration

OK//or change of network cell

at+cops=2//Manually de-register from the network

OK

+CREG: 0//URC indicating that terminal is not registered

at+cops?//Query present status of terminal’s network registration. Terminal is de-registered

+COPS: 2//from the network

OK

at+csq//Query quality of received signal strength and the channel bit error rate

+CSQ: 28,0

OK

at^moni//Monitor IDLE mode and dedicated mode.

Serving Cell I Dedicated channel

chann rs dBm MCC MNC LAC cell NCC BCC PWR RXLev C1 I chann TS timAdv PWR dBm Q ChMod

32 54 -56 655 01 008D 3AB9 2 1 33 -103 46 I Limited Service

//Terminal camping on a cell, but is not registered to the network

OK

at+cops=0//Set operator selection to automatic

OK

+CREG: 2//URC indicating change in terminal’s network registration information. In this case,

//the terminal is not registered, but is currently searching for a new operator

+CREG: 1,"008D","3AB9"//Terminal registered to home network. The cell ID (<ci>) and location area code (<lac>)

// are also presented.

at+cops?

+COPS: 0,0,"VodaCom-SA"//Terminal is registered automatically onto the Vodacom network

OK

at+csq//Query quality of received signal strength and the channel bit error rate

+CSQ: 28,7

OK

at^moni

Serving Cell I Dedicated channel

chann rs dBm MCC MNC LAC cell NCC BCC PWR RXLev C1 I chann TS timAdv PWR dBm Q ChMod

32 55 -55 655 01 008D 3AB9 2 1 33 -103 47 I No connection

//Terminal is camping on a cell and registered to the network. The service state

//idle ie. there is no connection established or dedicated channel in use

OK

RING//URC indicating that a call is incoming

RING//URC indicating that a call is incoming

ata//Answer the call

OK

at^moni

Serving Cell I Dedicated channel

chann rs dBm MCC MNC LAC cell NCC BCC PWR RXLev C1 I chann TS timAdv PWR dBm Q ChMod

32 31 -79 655 01 008D 3AB9 2 1 33 -103 48 I 104 5 0 31 -79 0 S_FR //Terminal is connected ie. call in progress

OK

at+csq//Query quality of the received signal strength and the channel bit error rate

+CSQ: 13,0

OK

ath//Disconnect existing connection

OK

at^moni

Serving Cell I Dedicated channel

chann rs dBm MCC MNC LAC cell NCC BCC PWR RXLev C1 I chann TS timAdv PWR dBm Q ChMod

32 50 -60 655 01 008D 3AB9 2 1 33 -103 42 I No connection

//Terminal is camping on a cell and registered to the network. The service state

//idle ie. there is no connection established or dedicated channel in use

OK

at+csq//Query quality of the received signal strength and the channel bit error

+CSQ: 27,0

OK

at^smso//Shutdown terminal gracefully

^SMSO: MS OFF//Response indicating that the terminal is powering down

OK

+CREG: 0//URC indicating that terminal is no longer registered on the network

^SHUTDOWN//URC indicating that the terminal can be powered down in less than 1 second