Move Action In Phonebook +Cpbn - Multitech MMCModem GPRS (MTMMC-G) Reference Manual

Wireless gsm/gprs modems at commands reference guide
Table of Contents

Advertisement

AT+CPBP=<PhoneNumber> continued
Command
AT+WCOS=1
Note: Phonebook extended
AT+CPBP="Test"
Note: Read entries with "Test"

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.
Values:
<mode>
<loc>
<num>
<type>
<contact>
Syntax:
Command Syntax: AT+CPBN=<mode>
Response Syntax:
Command
AT+CPBN=?
Note: Test command
AT+CPBS="SM"
Note: ADN phonebook
AT+WCOS=0
Note: Phonebook not extended
AT+CPBN=0
Note: Read the first location
AT+WCOS=1
Note: Phonebook extended
AT+CPBN=2
Note: Read the next location
AT+CPBN=2
Note: Read the next location
AT+WCOS=0
Note: Phonebook not extended
AT+CPBN=3
Note: Read the previous location
AT+CPBN=1
Note: Read the last location
AT+CPBN=2
Note: Read the next location
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)
Possible responses
OK
+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.
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
5
Last item written (usable only if a write operation has been performed on the current
phonebook since the end of initialization
Location number
Phone number
TON/NPI (Type of address octet in integer format)
Contact structure
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>
Possible responses
+CPBN: (0-5)
OK
Note: Possible modes
OK
OK
+CPBN: 15,"+331290101",145,"Eric"
OK
Note: Display the first location
OK
+CPBN: 5,"+33147658987",145,"Frank",0
OK
Note: Display the second location, extended entry
+CPBN: 6,"+331290302",145,"Marc",0
OK
Note: Display the third location, extended entry
OK
+CPBN: 5,"+33147658987",145,"Frank"
OK
Note: Display the second location
+CPBN: 6,"+331290302",145,"Marc"
OK
Note: Display the last location
+CPBP: 15,"+331290101",145,"Eric"
OK
Note: Display the first location
Chapter 8 – Phonebook Commands
54

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents