Phone activity status +cpas, Report mobile equipment errors +cmee, Keypad control +ckpd – Multi-Tech Systems CDMA Wireless Modem User Manual

Page 30

Advertising
background image

Chapter 4 – General Commands

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

30

Phone Activity Status +CPAS

Description: This command returns the activity status of the mobile equipment.

Values

<pas>

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)
6: corrupted RF calibration values (checksum mismatch)


Syntax:

Command syntax: AT+CPAS

Command

Possible Responses

AT+CPAS
Note: Current activity status

+CPAS: <pas>
OK

Report Mobile Equipment Errors +CMEE

Description: This command disables or enables the use of the “+CME ERROR : <xxx>” or “+CMS

ERROR :<xxx>” result code instead of simply “ERROR”. See chapter 20 (MS Error Result
Codes) for +CME ERROR result codes description and chapter 20 (Message Service Failure
Result Codesfor +CMS ERROR result codes.


Syntax:

Command syntax: AT+CMEE=<error reporting flag>

Command

Possible Responses

AT+CMEE=0
Note: Disable MS error reports, use only « ERROR »

OK

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

OK

Keypad Control +CKPD

Description: This command emulates the MS keypad by sending each keystroke as a character in a

<keys> string.

If emulation fails, a +CME ERROR: <err> is returned. If emulation succeeds, the result
depends on the CDMA sequence activated: <keys>: string of the following characters (0-
9,*,#).

Syntax:

Command syntax: AT+CKPD=<keys>

Command

Possible Responses

AT+CKPD=”*#21#”
Note: Key sequence allowed

OK

AT+CKPD=1234
Note: Sequence not allowed

+CME ERROR 3

Advertising