페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Search in pages
AT Commands For Phonebook

 

Command Description
AT+CPBS Select Phonebook memory storage
AT+CPBR Read Phonebook entries
AT+CPBF Find Phonebook entries
AT+CPBW Write Phonebook entry
AT+CNUM Subscriber number

 

 

 

 

AT+CPBS      Select Phonebook Memory Stronge

 

 

T) AT+CPBS=?

Response

+CPBS: (list of supported <storage>s)

 

OK

R) AT+CPBS?

Response

+CPBS: <storage>[,<used>,<total>]

 

OK

W) AT+CPBS=<storage>

Response

OK

or

ERROR

If error is related to ME functionality:

+CME ERROR: <err>

E) AT+CPBS

Response (Set default value “SM”)

OK

 

 

♦Parameter
Description
<storage>

Values reserved by the present document:

“DC”          ME dialed calls list Capacity: max. 100 entries

AT+CPBW command is not applicable to this storage.

“MC”         ME missed (unanswered received) calls list

Capacity: max. 100 entries

AT+CPBW command is not applicable to this storage.

“RC”          ME received calls list

Capacity: max. 100 entries

AT+CPBW command is not applicable to this storage.

“SM”          SIM phonebook

Capacity: depending on SIM card

“ME”          Mobile Equipment phonebook

Capacity: max. 500 entries

“FD”           SIM fixdialling-phonebook

Capacity:depending on SIM card

“ON”           MSISDN list

Capacity:depending on SIM card

“LD”           Last number dialed phonebook

Capacity: depending on SIM card

AT+CPBW command is not applicable to this storage

“EN”           Emergency numbers

Capacity: depending on SIM card

AT+CPBW command is not applicable to this storage.

<used>

Integer type value indicating the number of used locations in selected

memory.

<total>

Integer type value indicating the total number of locations in selected

memory.

 

♦Example

AT+CPBS=?

+CPBS: (“SM”,”DC”,”FD”,”LD”,”MC”,”ME”,”RC”,”EN”

,”ON”)

 

OK AT+CPBS=”SM” OK

 

AT+CPBS?

+CPBS: “SM”,1,200 OK

 

NOTE

 Select the active phonebook storage,i.e.the phonebook storage that all subsequent phonebook

commands will be operating on

 

 

 

AT+CPBR     Read Phonebook Entries

 

 

T) AT+CPBR=?

Response

+CPBR: (<minIndex>-<maxIndex>), [<nlength>], [<tlength>]

 

OK

or

If error is related to ME functionality:

+CME ERROR: <err>

W) AT+CPBR=<index1>[,<index 2>]

Response

[+CPBR: <index1>,<number>,<type>,<text>[<CR><LF>

+CPBR: <index2>,<number>,<type>,<text>[…]]]

 

OK

or

ERROR

If error is related to ME functionality:

+CME ERROR: <err>

 

 

♦Parameter
Description
<index1>

Integer type value in the range of location numbers of phonebook

memory.

<index2>

Integer type value in the range of location numbers of phonebook

memory.

<index> Integer type. the current position number of the Phonebook index.
<minIndex> Integer type the minimum <index> number.
<maxIndex> Integer type the maximum <index> number.
<number>

String type, phone number of format <type>, the maximum length is

<nlength>.

<type>

Type  of  phone  number  octet  in  integer  format,  default  145  when

dialing   string   includes   international   access   code   character “+”,

 

 

  otherwise 129.
<text>

String type field of maximum length <tlength>; often this value is set as

name.

<nlength> Integer type value indicating the maximum length of field <number>
<tlength> Integer type value indicating the maximum length of field <text>.

 

♦Example

AT+CPBS?

+CPBS: “SM”,2,200 OK

AT+CPBS=1,10

+CPBR: 1,”1234567890″,129,”James”

+CPBR: 2,”0987654321″,129,”Kevin”

 

OK

 

NOTE

 If the storage is selected as “SM” then the command will return the record in SIM phonebook, the same to others.

 

 

 

AT+CPBF     Find Phonebook Entries

 

 

Test Command

AT+CPBF=?

Response

+CPBF: [<nlength>],[<tlength>]

 

OK

Write Command

AT+CPBF=[<findtext>]

Response

[+CPBF: <index1>,<number>,<type>,<text>[<CR><LF>

+CPBF: <indexN>,<number>,<type>,<text>[…]]]

 

OK

or

ERROR

If error is related to ME functionality:

+CME ERROR: <err>

 

♦Parameter
Description
<findtext>

String type, this value is used to find the record. Character set should

be the one selected with command AT+CSCS.

<index> Integer type. the current position number of the Phonebook index.
<number>

String type, phone number of format <type>, the maximum length is

<nlength>.

<type>

Type of phone number octet in integer format, default 145 when

dialing string includes international access code character “+”, otherwise 129.

<text>

String type field of maximum length <tlength>; often this value is set as

name.

<nlength> Integer type value indicating the maximum length of field <number>
<tlength> Integer type value indicating the maximum length of field <text>.

 

♦Example

AT+CPBF=”James”

+CPBF: 1,”1234567890″,129,”James”

 

OK

 

 

NOTE

If <findtext> is null, it will lists all the

 

 

 

 

AT+CPBW     Write Phonebook Entry

 

 

T) AT+CPBW=?

Response

+CPBW:(list of supported <index>s),[<nlength>], (list of supported <type>s),[<tlength>]

 

OK

or

ERROR

If error is related to ME functionality:

+CME ERROR: <err>

Write Command Response
AT+CPBW=[<index>][,<num ber>[,<type>[,<text>]]]
OK

or

ERROR

If error is related to ME functionality:

+CME ERROR: <err>

 

 

♦Parameter
Description
<index>

Integer type values in the range of location numbers of phonebook memory.If <index> is not given,

the first free entry will be used. If <index> is given as the only parameter, the phonebook entry specified by <index> is deleted.If

record number <index> already exists, it will be overwritten.

<number>

String type, phone number of format <type>, the maximum length is

<nlength>. It must be an non-empty string.

<type>

Type of address octet in integer format, The range of value is from 129 to 255. If <number> contains a leading “+” <type> = 145 (international) is used.Supported value are:

145   –     when dialling string includes international access code character “+”

161   –    national number.The network support for this type is optional

177   –    network specific number,ISDN format

129   –    otherwise

 

NOTE: Other value refer TS 24.008 [8] subclause 10.5.4.7.

<text>

String type field of maximum length <tlength>; character set as

specified by command Select TE Character Set AT+CSCS.

<nlength> Integer type value indicating the maximum length of field <number>.
<tlength> Integer type value indicating the maximum length of field <text>.

 

♦Example

AT+CPBW=3,”88888888″,129,”John” OK

 

AT+CPBW=,”6666666″,129,”mary” OK

 

AT+CPBW=1 OK

 

NOTE

If the parameters of <type> and <text> are omitted and the first character of <number> is

‘+’,it will specify <type> as 145(129 if the first character isn’t ‘+’) and <text> as NULL.

 

 

 

 

AT+CNUM     Subscriber Number 

 

 

T) AT+CNUM=?

Response

OK

E) AT+CNUM

Response

[+CNUM: <alpha>,<number>,<type>[<CR><LF>

+CNUM: <alpha>, <number>,<type> […]]]

OK

or

If error is related to ME functionality:

+CME ERROR: <err>

 

 

♦Parameter
Description
<alpha>

Optional alphanumeric string associated with <number>, used character set should be the one selected with command Select TE

Character Set AT+CSCS.

<number> String type phone number of format specified by <type>.
<type> Type of address octet in integer format.see also AT+CPBR <type>

 

♦Example

AT+CNUM

+CNUM: “”,”13697252277″,129

 

OK

 

NOTE

 If subscriber has different MSISDN for different services, each MSISDN is returned in a separate line

Adsense

EMW3070

Viewed Page List