Specifications

Smart Machine Smart Decision
SIM900_AT Commands Manual_V1.07 135 2012.12.10
6.2.13 AT+CEXTHS External Headset Jack Control
AT+CEXTHS External Headset Jack Control
Response
+CEXTHS: (list of supported <mode>s)
OK
Test Command
AT+CEXTHS=?
Parameter
See Write Command
Response
+CEXTHS: <mode>,<headset attach>
OK
Read Command
AT+CEXTHS?
Parameters
See Write Command
Response
OK
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Unsolicited Result Code
+CEXTHS: <mode>,<headset attach>
Write Command
AT+CEXTHS=
<mode>
Parameters
<mode> A numeric parameter which indicates whether an unsolicited
event code (indicating whether the headset has been
attached/detached) should be sent to the terminal.
0 Not send unsolicited event code
1 Send unsolicited event code
<headset attach> A numeric parameter which indicates whether a
headset has been attached or not.
0 Not attached
1 Attached
Reference
Note
This command is related to the actual module.
6.2.14 AT+CEXTBUT Headset Button Status Reporting
AT+CEXTBUT Headset Button Status Reporting
Response
+CEXTBUT: (list of supported <mode>s)
OK
Test Command
AT+CEXTBUT=
?
Parameter