Wpgr – read a phonebook group – Westermo GDW-11 User Manual

Page 79

Advertising
background image

Phonebook commands 79

6615-2220

+WPGR – Read a phonebook group

Description:

This command reads the phonebook group entries, the phonebook group name or the
number of used records in a group.

Syntax:

AT+WPGR=<mode>,<index>

Parameters:

<mode>

1:

read the name of one phonebook group

2:

read the name of all phonebook groups

3:

list all entries of one phonebook group

4:

read the number of used records in a phonebook group

<index>

Index of the group (for mode = 3 or mode = 4)

Command example

Possible responses

Note

AT+WPGR=? +

WPGR:

(1-4),(1-10)

Test

command

OK

10 possible groups

AT+WPGR=1,1

+WPGR: 1,”group 1”

Read the name of

OK

phonebook group 1

AT+WPGR=2

+WPGR: 1,”group 1”

Read the name of all

+WPGR: 2,”group 2”

phonebook groups

OK

AT+WCOS=0

OK

phonebook not extended

AT+WPGR=3,1

+WPGR: 1,”+33123456789”,

Lists all entries of

145,”John”

phonebook

group

1

+WPGR: 2,”+33567891234”,

SIM entries: index 1 and 2;

145,”Elvis”

Flash entries: index 31 and

+WPGR: 31,”+331290909”,

32 (The SIM supports 30

145,”Fred”

entries in this example)

+WPGR:

32,”0123456789”,

129,”Test”
OK

AT+WCOS=1 OK

phonebook

extended

Command example

Possible responses

Note

AT+WPGR=3,1

+WPGR: 1, ”+33123456789”,

Lists all entries of

145, ”John”, 1

phonebook group 1

+WPGR: 2,”+33567891234”,

SIM entries: index 1 and 2;

145,”Elvis”,1

Flash entries: index 31 and

+WPGR: 31,”+331290909”,

32 (The SIM supports 30

145,”Fred”, ”0141284549”,

entries in this example)

Advertising
This manual is related to the following products: