beautypg.com

Westermo GS-01 User Manual

Page 23

background image

23

6195-2201

+CPBF – Find phonebook entries

This command returns phonebook entries which alphanumeric field start with a given
string. The AT+CPBF= ”” command can be used to display all phonebook entries sorted
in alphabetical order.

Application to GSM

AT+CPBF=?

Test command

GSM to application

+CPBF: 20,10

Max length of 20 for phone

OK

10 characters for the text

Application to GSM

AT+CPBF= ”E”

Read entries with ”E”

GSM to application

+CPBF: 12,”112”,129,

Display locations with text

”Emergency”

field starting with ”E”

+CPBF: 15,”+331290101”,
145, ”Eric”
OK

Application to GSM

AT+CPBF=”H”

Read entries with ”H”

GSM to application

+CME ERROR: 22

Entry not found

+CPBW – Write phonebook entry

This command writes phonebook entry in location number in the current phone-
book memory storage.

Application to GSM

AT+CPBW=?

Test command

GSM to application

+CPBW: (1-50),20,

50 locations, phone length=20,

(129,145),10

TON/NPI of 129 or 145, text
length=10

OK

Application to GSM

AT+CPBW=3

Erase location 3

GSM to application

OK

Location 3 erased

Application to GSM

AT+CPBW=5,

Write at location 5

”112”,129 ,”SOS”

GSM to application

OK

Location 5 written

Application to GSM

AT+CPBW=5,”01290917”,

Overwrite location 5

129,”Jacky”

GSM to application

OK

Location 5 is overwritten

Application to GSM

AT+CPBW=,

Write at the first free location

”+33145221100”,145,
”SOS”

GSM to application

OK

Free location is written