Время создания: 13.05.2015 10:14
Раздел: Компьютер - Аппаратное обеспечение - Мобильные телефоны - Siemens M50
ATE1 (only in case of RCCP mode)
AT+CPBS=SM (if available)
Reset pending locks (Phone Pin/Puk, Pin2/Puk2 ...) which are give as answer of AT+CPIN?
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
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.
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
- 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:
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
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).
Так же в этом разделе: