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

 

 

 

No Command Description
L0601 AT+CPBS Select Phonebook memory storage
L0602 AT+CPBR Read Phonebook entries
L0603 AT+CPBF Find Phonebook entries
L0604 AT+CPBW Write Phonebook entry
L0605 AT+CNUM Subscriber number

 

 

 

 

L0601   AT+CPBS        Select Phonebook Memory Storage

This command selects the active phonebook storage,

i.e.the phonebook storage that all subsequent phonebook commands will be operating on.

T) AT+CPBS=?

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

OK

R) AT+CPBS?

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

OK

W) AT+CPBS=<storage>

OK

or

ERROR

If error is related to ME functionality:

+CME ERROR: <err>

E) AT+CPBS

(Set default value “SM”)

OK

 

<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

 

 

 

 

L0602   AT+CPBR     Read Phonebook Entries

This command gets the record information from the selected memory storage in phonebook.

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

T) AT+CPBR=?

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

OK

or

If error is related to ME functionality:

+CME ERROR: <err>

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

[+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>

  

<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 “+”,

128 for restricted number type includes unknown type and format, 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.

 

 

 

L0603   AT+CPBF     Find Phonebook Entries

 This command finds the record in phonebook (from the current phonebook memory storage selected with AT+CPBS)

which alphanumeric field has substring <findtext>. If <findtext> is null, it will list all the entries.

T) AT+CPBF=?

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

OK

W) AT+CPBF=[<findtext>]

[+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>

 

<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 “+”,

128 for restricted number type includes unknown type and format, 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

 

 

 

L0604   AT+CPBW     Write Phonebook Entry

This command writes phonebook entry in location number <index> in the current phonebook memory storage selected with AT+CPBS.

T) AT+CPBW=?

+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>

W) AT+CPBW=[<index>][,<num ber>[,<type>[,<text>]]]

OK

or

ERROR

If error is related to ME functionality:

+CME ERROR: <err>

 

<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.

 

 

 

L0605   AT+CNUM     Subscriber Number 

Execution command returns the MSISDNs related to the subscriber (this information can be stored in the SIM or in the ME).

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

T) AT+CNUM=? OK
E) AT+CNUM

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

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

OK

or

If error is related to ME functionality:

+CME ERROR: <err>

  

<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

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

 5G/LTE/CAT-M1/NB-IoT/GNSS

 

www.simcom.com

 

Viewed Page List