3 phonebook entry read by index – Rainbow Electronics GM862-QUAD-PY User Manual

Page 35

Advertising
background image





GM862-QUAD / PY Software User Guide

1vv0300747 Rev. 3 - 10/07/07

Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved

page 35 of 96

AT+CPBF="FAUSTO"<cr>
response:
+CME ERROR: 22
or if extended error codes are disabled simply
response:
ERROR

3.1.3 Phonebook entry read by Index

As first thing, you must select the desired storage as active (see par.3.1.1.1). Then:

send command

AT+CPBR=<index><cr>

where:
<index> is the index number of the desired PB record to be read.

wait for response in the format:

+CPBR= <index>,"<number>",<type>,"<name>"
OK

where:
<index> is the record number on the PB;
<Number> is the phone number;
<type> is the type of number:

145 – international numbering scheme
129 – national numbering scheme

<Name> is the alphanumeric name associated with the number.

or in the case the index number does not correspond to a written record:

+CME ERROR: 22 or simply ERROR.


For example:
1- Let's assume you want to select the "SM" normal phonebook for operations,
command:
AT+CPBS="SM"<cr>
response
OK

- Now you might want to look for the entry at the position index = 7
command:
AT+CPBR=7<cr>
the response may look like:
+CPBR= 7,"+39404192369",145,"Fabio"

OK

Advertising