Multi-Tech Systems GPRS (MTMMC-G) ユーザーズマニュアル
Chapter 8 – Phonebook Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)
54
AT+CPBP=<PhoneNumber> continued
Command
Possible responses
AT+WCOS=1
Note: Phonebook extended
Note: Phonebook extended
OK
AT+CPBP=”Test”
Note: Read entries with “Test”
Note: Read entries with “Test”
+CPBF: 1,”0123456789”,129,”Test
ME”,”9876543210”,129,””,””,””,email@mail_address.com,”post address’,0
Note: Display locations with text field starting with “Test”, extended entry.
ME”,”9876543210”,129,””,””,””,email@mail_address.com,”post address’,0
Note: Display locations with text field starting with “Test”, extended entry.
Move Action in Phonebook +CPBN
Description:
This specific command performs a forward or backward move in the phonebook (in alphabetical order).
It is not allowed in the “EN” phonebook since it does not contain alphanumeric fields.
It is not allowed in the “EN” phonebook since it does not contain alphanumeric fields.
Values: <mode>
0 First
item
1 Last
item
2
Next valid item in alphabetical order
3
Previous valid item in alphabetical order
4
Last item read (usable only if a read operation has been performed on the current
phonebook since the end of initialization
phonebook since the end of initialization
5
Last item written (usable only if a write operation has been performed on the current
phonebook since the end of initialization
phonebook since the end of initialization
<loc> Location number
<num>
Phone number
<type>
TON/NPI (Type of address octet in integer format)
<contact>
Contact structure
Syntax:
Command Syntax: AT+CPBN=<mode>
Response Syntax:
•
The entry is stored in the ADN phonebook and AT+WCOS=0
<CR><LF> +CPBN=<loc>,<num>,<type>,<name>
•
The entry is stored in the ADN phonebook with AT+WCOS=1
<CR><LF> +CPBN=<loc>,<num>,<type>,<name>,<Phb_group>
•
The entry is stored in the Mobile Equipment phonebook with AT+WCOS=0
<CR><LF> +CPBN=<loc>,<num>,<type>,<name>
•
The entry is stored in the Mobile Equipment phonebook with AT+WCOS=1
<CR><LF> +CPBN=<loc>,<num>,<type>,<name>,<Contact>,<Phb_group>
Command
Possible responses
AT+CPBN=?
Note: Test command
Note: Test command
+CPBN: (0-5)
OK Note: Possible modes
OK Note: Possible modes
AT+CPBS=”SM”
Note: ADN phonebook
Note: ADN phonebook
OK
AT+WCOS=0
Note: Phonebook not extended
Note: Phonebook not extended
OK
AT+CPBN=0
Note: Read the first location
Note: Read the first location
+CPBN: 15,”+331290101”,145,”Eric”
OK Note: Display the first location
OK Note: Display the first location
AT+WCOS=1
Note: Phonebook extended
Note: Phonebook extended
OK
AT+CPBN=2
Note: Read the next location
Note: Read the next location
+CPBN: 5,”+33147658987”,145,”Frank”,0
OK
Note: Display the second location, extended entry
OK
Note: Display the second location, extended entry
AT+CPBN=2
Note: Read the next location
Note: Read the next location
+CPBN: 6,”+331290302”,145,”Marc”,0
OK Note: Display the third location, extended entry
OK Note: Display the third location, extended entry
AT+WCOS=0
Note: Phonebook not extended
Note: Phonebook not extended
OK
AT+CPBN=3
Note: Read the previous location
Note: Read the previous location
+CPBN: 5,”+33147658987”,145,”Frank”
OK Note: Display the second location
OK Note: Display the second location
AT+CPBN=1
Note: Read the last location
Note: Read the last location
+CPBN: 6,”+331290302”,145,”Marc”
OK Note: Display the last location
OK Note: Display the last location
AT+CPBN=2
Note: Read the next location
Note: Read the next location
+CPBP: 15,”+331290101”,145,”Eric”
OK Note: Display the first location
OK Note: Display the first location