Specifications
AT command set for XX Siemens mobile phones and modems
__________________________________________________________________________________________
Document No.: A30880-A10-A001-XX-
D376
Revision: Master R75
Revision Date: 29. September.2004
125
In addition, if there is no FDN phonebook available on the SIM, it is possible to activate a feature which
activates an 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.
3.1.4 How to use special characters in certain commands ( e. g., AT+CPBW)
String parameters like <text> in certain commands (like, for instance, AT+CPBW) should be entered using
quotation marks `"` (Ascii=Windows=GSM =0x22), since the following problems may occur if the quotation
marks are omitted:
- SPACEs (Space, Blank, Ascii=Windows=GSM =0x20) are skipped.
E.g. at+cpbw=1,"123",,K. H. results in "K.H." !
at+cpbw=1,"123",,"K. H." spaces are retained ☺
- Commas (`,`) (Ascii=Windows=GSM =0x2C) and semicolons (`;`)(Ascii=Windows=GSM =0x3B) are
prohibited and must not be used in <text>, because they are used as separators between parameters and
commands.
E.g. at+cpbw=1,"123",,Kurz,Helmut results in ERROR !
at+cpbw=1,"123",,"Kurz,Helmut" ☺
To be able, however, to enter quotation marks (and some other special characters) in string parameters you will
have to use the Escape character (hex value 0x5c). While “0x5c” denotes the backslash (`\`) in the ASCII
character set (Ascii=Windows=0x5C), in the GSM character set “0x5C” denotes the `Ö` character.
The escape sequence thus has the following structure:
- The sequence begins with the escape character 0x5C
(ASCII=Windows=`\', GSM =`Ö`)
- The special character follows and is entered as a 2 Byte representation of the GSM chacter set value .
e.g. the 2 Byte representation of the `@` (GSM =0x00) is `00`
Table 3-2 lists the special characters that should be entered using the escape sequence:
GSM Char GSM hex value ASCII char. 3 byte esc. seq.(hex) Note
Ö 0x5C \ 0x5C 0x35 0x43 Backslash
" 0x22 “ 0x5C 0x32 0x32 String delimiter
ò 0x08 BSP 0x5C 0x30 0x38 Backspace
@ 0x00 NULL 0x5C 0x30 0x30 GSM NULL
Table 3-2: Using escape characters in commands
Examples of using escape characters in GSM commands are listed in Table 3-3:
Desired phonebook entry
<text> in AT+CPBW command (hex)
Ölhändler 0x22 0x5C 0x35 0x43 0x6C 0x68 0x7B 0x6E 0x64 0x6C 0x65
0x72 0x22
“Eddi" Kurz 0x22 0x5C 0x32 0x32 0x45 0x64 0x64 0x69 0x5C 0x32 0x32
0x20 0x4B 0x75 0x72 0x7A 0x22
Oòo 0x22 0x4F 0x5C 0x30 0x38 0x6F 0x22
0x22 0x5C 0x30 0x30 0x41 0x64 0x72 0x2E 0x22
[no problems with strlen()]
@Adr.
22 00 41 64 72 2E 22
(may cause problems with strlen() in application)