2 read phonebook entries +cpbr, 1 description, 2 syntax – Rainbow Electronics 900 User Manual

Page 60: Read phonebook entries +cpbr

Advertising
background image

FLYFOT-M260-MODULE

Page: 60 / 239

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.

8.2 Read phonebook entries +CPBR

8.2.1 Description

:

This command returns phonebook entries for a range of locations from the
current phonebook memory storage selected with +CPBS.
Note :
for all phonebook read commands (+CPBR, +CPBF, +CPBN, +CPBP, +CNUM),
the TON/NPI MSB of each number is set to 1 (ex : a TON/NPI stored as 17 is
displayed as 145).

8.2.2 Syntax

:

Command syntax : AT+CPBR=<first_entry>[,<last_entry>]
Command

Possible responses

AT+CPBR=?
Note: Test command

+CPBR: (1-100),40,12
OK
Note:+CPBS=”SM” ,100locations (from 1 to100),
max length for phone number is 40digits, 12
characters max for the text

AT+CPBR=?
Note: Test command

+CPBR: (1-100),19,30
OK
Note: +CPBS=”ME”,100locations (from 1 to100),
max length for phone number is 19digits, 30
characters max for the text

AT+CPBR?
AT+CPBR

+CME ERROR: 3
Note: The product can not support this command

AT+CPBR=10
Note: Read entry 10

+CPBR: 10,"12345678",129,"NON"
OK
Note: Display location 10

AT+CPBR=1,10
Note: Read entries from 1 to 10

+CPBR: 1,"13911133127",129,""
+CPBR: 2,"13511015868",129,"YING"
+CPBR: 3,"13520941547",129,"nm"
+CPBR: 4,"01064345558",129,"11"
+CPBR: 5,"13691580530",129,"22"
+CPBR: 6,"13911828812",129,"33"
+CPBR: 7,"13520941547",129,"44"
+CPBR: 8,"13521835820",129,""
+CPBR: 9,"13911133127",129,"LINYX"
+CPBR: 10,"12345678",129,"NON"
OK
Note: Display locations 1~10 with location,
number, type (TON/NPI), Text

AT+CPBR=11 +CPBR:

Advertising