beautypg.com

Move action in phonebook +cpbn – Multi-Tech Systems MMCModem GPRS (MTMMC-G) User Manual

Page 54

background image

Chapter 8 – Phonebook Commands

Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)

54


AT+CPBP= continued

Command

Possible responses

AT+WCOS=1
Note: Phonebook extended

OK

AT+CPBP=”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.


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:

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

Syntax:

Command Syntax: AT+CPBN=

Response Syntax:

The entry is stored in the ADN phonebook and AT+WCOS=0

+CPBN=,,,

The entry is stored in the ADN phonebook with AT+WCOS=1

+CPBN=,,,,

The entry is stored in the Mobile Equipment phonebook with AT+WCOS=0

+CPBN=,,,

The entry is stored in the Mobile Equipment phonebook with AT+WCOS=1

+CPBN=,,,,,

Command

Possible responses

AT+CPBN=?
Note: Test command

+CPBN: (0-5)
OK Note: Possible modes

AT+CPBS=”SM”
Note: ADN phonebook

OK

AT+WCOS=0
Note: Phonebook not extended

OK

AT+CPBN=0
Note: Read the first location

+CPBN: 15,”+331290101”,145,”Eric”
OK Note: Display the first location

AT+WCOS=1
Note: Phonebook extended

OK

AT+CPBN=2
Note: Read the next location

+CPBN: 5,”+33147658987”,145,”Frank”,0
OK
Note: Display the second location, extended entry

AT+CPBN=2
Note: Read the next location

+CPBN: 6,”+331290302”,145,”Marc”,0
OK Note: Display the third location, extended entry

AT+WCOS=0
Note: Phonebook not extended

OK

AT+CPBN=3
Note: Read the previous location

+CPBN: 5,”+33147658987”,145,”Frank”
OK Note: Display the second location

AT+CPBN=1
Note: Read the last location

+CPBN: 6,”+331290302”,145,”Marc”
OK Note: Display the last location

AT+CPBN=2
Note: Read the next location

+CPBP: 15,”+331290101”,145,”Eric”
OK Note: Display the first location

This manual is related to the following products: