beautypg.com

Phone activity status +cpas, Report mobile equipment errors +cmee, Keypad control +ckpd – Multi-Tech Systems MMCModem GPRS (MTMMC-G) User Manual

Page 17

background image

Chapter 4 – General AT Commands

Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)

17

Phone Activity Status +CPAS

Description:

Returns the activity status of the mobile equipment.

Values:

0

ready (allow commands from TA/TE)

1

unavailable (does not allow commands)

2 unknown

3

ringing (ringer is active)

4 call

in

progress

5

asleep (low functionality)

Syntax: AT+CPAS

Command

Possible responses

AT+CPAS
Note: Current activity status

+CPAS:
OK

Report Mobile Equipment Errors +CMEE

Description:

Disables or enables the use of the “+CME ERROR: ” or “+CMS ERROR:” result code
instead of simply “ERROR”. See the Appendix for +CME ERROR Result Codes description and +CMS
ERROR result codes.

Values:

0 Disable ME error reports; use only << ERROR >>

1 Enable <<+CME ERROR: >> or

<< +CMS ERROR: >>

Syntax:

AT+CMEE=

Command

Possible responses

AT+CMEE=?

+CMEE: (0,1)
OK

AT+CMEE=0
Note: Disable ME error reports, use only << ERROR >>

OK

AT+CMEE=1
Note: Enable << +CME ERROR: << or
<< +CMS ERROR: >>

OK



Keypad Control +CKPD

Description:

Emulates the modem keypad by sending each keystroke as a character in a string.

The supported GSM sequences are listed in the Appendix A.

If emulation fails, a +CME ERROR: is returned.

If emulation succeeds, the result depends on the GSM sequence activated.

Note:

In the case where the FDN phonebook is activated, the sequences concerning “call forwarding”

are allowed only if the entire sequence is written in the FDN.

Values:

Keyboard sequence; string of the following characters (0-9, *, #)

Syntax: AT+CKPD=

Command

Possible responses

AT+CKPD=”*#21#”
Note: Check every call forwarding status

+CCFC: 0,7

AT+CKPD=”1234”
Note: Sequence not allowed

+CME ERROR 3

This manual is related to the following products: