|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Сотовый телефон Siemens - AT-команды для работы с SIM-картой, звонками, записной книжкой
Время создания: 13.05.2015 10:14
Раздел: Компьютер - Аппаратное обеспечение - Мобильные телефоны - Siemens M50
Запись: xintrea/mytetra_syncro/master/base/1431501245zza8w1jyhl/text.html на raw.github.com
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ATE1 (only in case of RCCP mode) ATQ0 ATV1 AT+CREG=0 AT+CLIP=0 AT+CRC=0 AT+CAOC=0 AT+CMEE=0 AT+CPBS=SM (if available) AT+COPS=0 AT+VTS=1 AT+CSCS="GSM" AT+CSSN=0,0 AT^SCKS=0 Reset pending locks (Phone Pin/Puk, Pin2/Puk2 ...) which are give as answer of AT+CPIN? AT+CSMS=0 AT+CNMI=0,0,0,0,1 AT^SMGO=0 AT+CSCB=0 Features of the Telephone-Book Memory
Writing to the FDN Phonebook / FDN Replacement Writing to the fix-dialing number phonebook is protected by PIN2. A Write sequence (to e.g. record 5) runs as follows: AT+CMEE=2 //Activate expanded error message OK AT+CPBS=? // Listing of available telephone books +CPBS: (“FD”,”SM”,”LD”) OK AT+CPBS=”FD” // Selection of the FDN telephone book OK AT+CPBW=5,"1234",,”test” // A Write to record 5 is attempted... +CME ERROR: SIM PIN2 REQUIRED // ... PIN2 is required for this purpose
... In addition, if there is no FDN phonebook available on the SIM, it is possible to activate a feature which activates FDN-like behavior for the ”SM” and ”ME” phonebooks (FDN replacement). (Currently this feature can only be activated via the MMI lock/device lock/excluding telephone book.) In this case, the Write to the ”SM” and ”ME” phonebooks is ensured by the device code (PH-SIM PIN and PH-SIM PUK, respectively). The sequence for entering the device code is analogous to the above example. Special hints for using +CPBR/+CPBW command String parameters ,like the <text> in +CPBW command shall be entered using quotation marks `"` ( Ascii=Windows=GSM=0x22).e.g. "Doe Joe" It is possible to enter string parameters without `"` but not recommended, because following problems may occure: If no `"` are used: - SPACEs (Space, Blank, Ascii=Windows=GSM=0x20) are skipped. E.g. at+cpbw=1,"123",,K. H. results in "K.H." L at+cpbw=1,"123",,"K. H."SPACEs are kept J - No `,` (Ascii=Windows=GSM=0x2C) and `;` (Ascii=Windows=GSM=0x3B) in <text> is possible, because this characters are used as separator of parameters/commands. E.g. at+cpbw=1,"123",,Kurz,Helmut result in ERROR L at+cpbw=1,"123",,"Kurz,Helmut" J But there are also some points to note when using quotation marks `"`: There are some characters which cannot be entered in normal way: e.g. quotation mark `"` character itself, because this is interpreted as the end of the <text> To make this (and some other special characters) possible to be entered, the character with hex value 0x5c is used as escape character. In the ASCII character set this is equal the `\` ,like proposed in V.25ter. (Ascii=Windows=0x5C) Unfortunately there is no `\` in GSM character set. The 0x5C equals the `Ö` The escape sequence has the following structure: - The sequence beginns with the escape character 0x5C (ASCII=Windows=`\', GSM=`Ö`) - The special character follows and is entered 2 Byte representation of the GSM chacter set value . e.g. the 2 Byte representation of the `@` (GSM=0x00) is `00` Following special characters shall be entered by using the escape sequence:
Examples: GSM string wanted String in AT+CPBW String in AT+CPBW in Phonebook Command(GSM) Command (Hex) Ölhändler "Ö5ClhÖ7Bndler" 22 5C 35 43 6C 68 7B 6E 64 6C 65 72 22 "Eddi" Kurz "Ö22EddiÖ22 Kurz" 22 5C 32 32 45 64 64 69 5C 32 32 20 4B 75 72 7A 22 Oòo "OÖ08o" 22 4F 5C 30 38 6F 22
Note: When reading phonebook records, there is NO replacement. Every character will appear in normal GSM character set notation (like the left column in the example above). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Так же в этом разделе:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|