AT Command

Description

AT+CPBS command is used to select the phonebook storage.


Support

Module Tutorial

Examples

KeywordsAT+CPBS syntax, examples, parameters, error, input, response.

Try the below script in the AT Command Tester tool

//Script: at_cpbs.at
//Use this script to AT+CPBS AT command

//Get the command support
AT+CPBS=?

WAIT=2

//Get the current phonebok storage, used and total
AT+CPBS?

WAIT=1

//Set phonebook storage to SIM
AT+CPBS="SM"

WAIT=1

//Set phonebook storage to Dialed Calls
AT+CPBS="DC"

WAIT=1

//Set phonebook storage to Missed Call list
AT+CPBS="MC"

WAIT=1

//Set phonebook storage to received call list
AT+CPBS="RC"

WAIT=1

//Set phonebook storage to Mobile equipment phonebook
AT+CPBS="ME"

WAIT=1

//Set phonebook storage to SIM fixdialling phonebook
AT+CPBS="FD"

WAIT=1

//Set phonebook storage to MSISDN list
AT+CPBS="ON"

WAIT=1

//Set phonebook storage to lastnumber dialed phonebook
AT+CPBS="LD"

WAIT=1

//Set phonebook storage to emergency numbers
AT+CPBS="EN"

Output of the above script in the AT Command Tester tool tool.

AT+CPBS=?

+CPBS: ("DC","MC","ME","RC","EN","ON")

OK
AT+CPBS?

+CPBS: "EN",2,116

OK
AT+CPBS="SM"

ERROR
AT+CPBS="DC"

OK
AT+CPBS="MC"

OK
AT+CPBS="RC"

OK
AT+CPBS="ME"

OK
AT+CPBS="FD"

ERROR
AT+CPBS="ON"

OK
AT+CPBS="LD"

ERROR
AT+CPBS="EN"

OK