Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

Modem Emulator - Network

The AT commands in this section are used for accessing network services on GSM and similar networks.

AT+CAOC Advice of Charge

The AT+CAOC command enables the subscriber to get information about the cost of calls.

CommandPossible Responses
AT+CAOC[=<mode>]
  • [+CAOC: <ccm>]
  • +CME ERROR: <err>
AT+CAOC?+CAOC: <mode>
AT+CAOC=?[+CAOC:(list of supported <mode>s)

The <mode> parameter can take the following values:

  • 0 Query CCM value
  • 1 Deactivate the unsolicited reporting of CCM value
  • 2 Activate the unsolicited reporting of CCM value

The unsolicited result code +CCCM: <ccm> is sent when the CCM value changes, but not more than every ten seconds, if enabled.

<ccm> is a string type; 3 bytes of the current call meter value in hexadecimal format.

Conforms with: 3GPP TS 27.007.

AT+CPLS Selection of Preferred PLMN List

The AT+CPLS command can be used to select one PLMN Selector With Access Technology list from the SIM card or active application in the UICC, which is used by the AT+CPOL command.

CommandPossible Responses
+CPLS=<list>+CME ERROR: <err>
+CPLS?
  • +CPLS: <list>
  • +CME ERROR: <err>
+CPLS=?
  • +CPLS: (list of supported <list>s)
  • +CME ERROR: <err>

The <list> parameter can take the following values:

0User controlled PLMN Selector With Access Technology list
1Operator controlled PLMN Selector With Access Technology list
2HPLMN Selector With Access Technology list

Conforms with: 3GPP TS 27.007.

/sa AT+CPOL

AT+CPOL Preferred PLMN List

The AT+CPOL command is used to edit the PLMN Selector With Access Technology lists in the SIM card or active application in the UICC.

CommandPossible Responses
+CPOL=[<index>][,<format>[,<oper>[,<GSM_AcT>, <GSM_Compact_AcT>,<UTRAN_AcT>]]]+CME ERROR: <err>
+CPOL?
  • +CPOL: <index1>,<format>,<oper1>[,<GSM_AcT1>,<GSM_Compact_AcT1>,<UTRAN_AcT1>] [<CR><LF>+CPOL: <index2>,<format>,<oper2>[,<GSM_AcT2>,<GSM_Compact_AcT2>,<UTRAN_AcT2>]
  • +CME ERROR: <err>
+CPOL=?
  • +CPOL:(list of supported <index>s),list of supported <format>s)
  • +CME ERROR: <err>

Conforms with: 3GPP TS 27.007.

/sa AT+CPLS

AT+CNUM Subscriber Number

The AT+CNUM command retrieves the MSISDN's related to the subscriber from the SIM.

CommandPossible Responses
AT+CNUM
    +CNUM: [<alpha>],<number>,<type>[,<speed>,<service>[,<itc>]]
    ...
AT+CNUM=?

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>
  • Asynchronous modem
  • Synchronous modem
  • PAD access
  • Packet access
  • Voice
  • Reserved for future use: Fax
<itc>
  • 0 3.1 kHz
  • 1 UDI

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.

CommandPossible 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>
  • 0 automatic
  • 1 manual
  • 2 deregister from the network
  • 3 set only <format>
  • 4 manual/automatic; if manual selection fails, use automatic
<format>
  • 0 long format alphanumeric <oper>
  • 1 short format alphanumeric <oper>
  • 2 numeric <oper>
<oper>String type indicating the name of the operator according to <format>.
<stat>
  • 0 unknown
  • 1 available
  • 2 current
  • 3 forbidden
<AcT>
  • 0 GSM
  • 1 GSM Compact
  • 2 UTRAN

Conforms with: 3GPP TS 27.007.

AT+CREG Network Registration

The AT+CREG command control the presentation of unsolicited network registration changes.

CommandPossible 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>
  • 0 disable network registration result code
  • 1 enable network registration unsolicited result code +CREG: <stat>
  • 2 enable network registration unsolicited result code +CREG: <stat>[,<lac>,<ci>]
<stat>
  • 0 not registered and not currently searching for a network
  • 1 registered, home network
  • 2 not registered and searching for a network
  • 3 registration denied
  • 4 unknown
  • 5 registered, roaming
<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.

AT+CTFR Call Deflection

The AT+CTFR command causes an incoming alerting call to be forwarded to a specific number.

Call Deflection is only available to Teleservice 11.

CommandPossible Responses
AT+CTFR=<number>[,<type>[,<subaddr>[,<satype>]]]+CME ERROR: <err>
AT+CTFR=?

The <type>,<subaddr> and <satype> parameters are ignored in this implementation. The <number> parameter is a string type phone number.

Conforms with: 3GPP TS 27.007.

AT+CIMI Request International Mobile Subscriber Identity

The AT+CIMI command retrieves the IMSI value from the SIM.

CommandPossible Responses
AT+CIMI
  • <IMSI>
  • +CME ERROR: 10
AT+CIMI=?

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.

[Previous: Modem Emulator - Identification] [Next: Modem Emulator - Supplementary Services]

Publicité

Best Of

Actualités les plus lues

Semaine
Mois
Année
  1. Microsoft ouvre aux autres compilateurs C++ AMP, la spécification pour la conception d'applications parallèles C++ utilisant le GPU 22
  2. « Quelque chose ne va vraiment pas avec les développeurs "modernes" », un développeur à "l'ancienne" critique la multiplication des bibliothèques 38
  3. Les développeurs ignorent-ils trop les failles découvertes dans leur code ? Prenez-vous en compte les remarques des autres ? 17
  4. RIM : « 13 % des développeurs ont gagné plus de 100 000 $ sur l'AppWord », Qt et open-source au menu du BlackBerry DevCon Europe 0
  5. BlackBerry 10 : premières images du prochain OS de RIM qui devrait intégrer des widgets et des tuiles inspirées de Windows Phone 0
  6. Quelles nouveautés de C++11 Visual C++ doit-il rapidement intégrer ? Donnez-nous votre avis 10
  7. Adieu qmake, bienvenue qbs : Qt Building Suite, un outil déclaratif et extensible pour la compilation de projets Qt 17
Page suivante

Le Qt Quarterly au hasard

Logo

Le repérage des paires de parenthèses avec QSyntaxHighlighter

Qt Quarterly est la revue trimestrielle proposée par Nokia et à destination des développeurs Qt. Ces articles d'une grande qualité technique sont rédigés par des experts Qt. Lire l'article.

Communauté

Ressources

Liens utiles

Contact

  • Vous souhaitez rejoindre la rédaction ou proposer un tutoriel, une traduction, une question... ? Postez dans le forum Contribuez ou contactez-nous par MP ou par email (voir en bas de page).

Qt dans le magazine

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtextended4.4
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web