| Home · All Classes · Grouped Classes · Annotated · Functions |
[Previous: Modem Emulator - Identification] [Next: Modem Emulator - Supplementary Services]
The AT commands in this section are used for accessing network services on GSM and similar networks.
AT+CIMI Request International Mobile Subscriber Identity
The AT+CIMI command retrieves the IMSI value from the SIM.
| Command | Possible Responses |
|---|---|
| AT+CIMI | <IMSI> |
| AT+CIMI | +CME ERROR: 10 |
An error will be returned if there is no SIM present, or the SIM is still being initialized and the IMSI is not available yet.
Conforms with: 3GPP TS 27.007.
AT+CNUM Subscriber Number
The AT+CNUM command retrieves the MSISDN's related to the subscriber from the SIM.
| Command | Possible Responses |
|---|---|
| AT+CNUM | +CNUM: [<alpha>],<number>,<type>[,<speed>,<service>[,<itc>]]
...
|
Execution command returns the MSISDN's related to the subscriber from the SIM. If the subscriber has different MSISDN's for different services, each MSISDN is returned on a separate line.
| <alpha> | String indicating the name of a phonebook entry corresponding to <number>. Usually this is empty. |
| <number> | String type phone number of calling address in format specified by <type>. |
| <type> | Type of address octet in integer format (refer 3GPP TS 24.008). |
| <speed> | GSM bearer speed value. See 3GPP TS 27.007 for more information. |
| <service> |
|
| <itc> |
|
Conforms with: 3GPP TS 27.007.
AT+COPS Operator Selection
The AT+COPS command is used to select operators, to request the current operator details, and to request a list of the available operators.
| Command | Possible Responses |
|---|---|
| AT+COPS=[<mode>[,<format>[,<oper>[,<AcT>]]]] | OK, +CME ERROR: <err> |
| AT+COPS? | +COPS: <mode>[,<format>,<oper>[,<AcT>]] |
| AT+COPS=? | +COPS: [list of supported (<stat>,long <oper>,short <oper>,numeric <oper>[,<AcT>])][,,(list of supported <mode>s),(list of supported <format>s)] |
Set command forces an attempt to select and register the network operator. <mode> is used to select whether the selection is done automatically by the MT or is forced by this command to use operator <oper>. If the selected operator is not available, no other operator shall be selected (except for <mode>=4). The selected operator name format shall apply to further read commands. <mode>=2 forces an attempt to deregister from the network.
Read command returns the current mode, the currently selected operator and the current access technology (AcT). If no operator is selected, <format>, <oper>, and <AcT> are omitted.
Test command returns a set of five parameters, each representing an operator present in the network. Each set consists of a <stat> integer indicating the availability of the operator, long and short alphanumeric names for the operator, the numeric name for the operator, and the access technology.
| <mode> |
|
| <format> |
|
| <oper> | String type indicating the name of the operator according to <format>. |
| <stat> |
|
| <AcT> |
|
Conforms with: 3GPP TS 27.007.
AT+CREG Network Registration
The AT+CREG command control the presentation of unsolicited network registration changes.
| Command | Possible Responses |
|---|---|
| AT+CREG=[<n>] | OK, +CME ERROR: 3 |
| AT+CREG? | +CREG: <n>,<stat>[,<lac>,<ci>] |
| AT+CREG=? | +CREG: (0-2) |
Set command controls the presentation of an unsolicited result code +CREG: <stat>[,<lac>,<ci>] when there is a change in the network registration status.
Read command returns the presentation value and the current network registration status.
| <n> |
|
| <stat> |
|
| <lac> | String type, indicating the two byte location area code in hexadecimal format. |
| <ci> | String type, indicating the two byte cell ID in hexadecimal format. |
Conforms with: 3GPP TS 27.007.
[Previous: Modem Emulator - Identification] [Next: Modem Emulator - Supplementary Services]
| Copyright © 2007 Trolltech | Trademarks | Qtopia 4.3.0 |