AT+CLCC命令

来源:互联网 发布:supersocket 网络通信 编辑:程序博客网 时间:2024/05/04 00:17

+CLCC: List current calls


To return a list of current calls of ME. If command succeeds but no calls are available,
no information response is sent to TE.


Syntax
AT+CLCC
Response(s)  [+CLCC: <id>, <dir>, <state>, <mode>, <mpty>[, <number>, <type>[, <alpha>]]]

                        [+CLCC: <id>, <dir>, <state>, <mode>, <mpty>[, <number>, <type>[, <alpha>]]]
                        […]
OK
                      +CME ERROR: <err>


AT+CLCC=?
Response(s)  OK


Parameter(s)
<id> Call identification number Numeric
<dir> Call direction Numeric
0 Mobile originated (MO) call
1 Mobile terminated (MT) call
<state> state of the call Numeric
0 Active
1 Held
2 Dialing (MO call)
3 Alerting (MO call)
4 Incoming (MT call)
5 Waiting (MT call)
<mode> bearer/teleservice Numeric
0 Voice
1 Data
2 Fax
3 Voice followed by data, voice mode
4 Alternating voice/data, voice mode
5 Alternating voice/fax, voice mode
6 Voice followed by data, data mode
7 Alternating voice/data, data mode
8 Alternating voice/fax, fax mode
9 Unknown
<mpty> Multiparty (conference) call parties Numeric
0 Call is not one of multiparty (conference) call parties
1 Call is one of multiparty (conference) call parties
<number> Phone number in format specified by <type> String
<type> Type of address octet Numeric
129 Dialing string without international access code “+”.
145 Dialing string includes international access code character “+”.
<alpha> Alphanumeric representation of <number> corresponding to the entry found in phonebook; used character set should be the one selected with command +CSCS
String


Example(s)
List current calls
ATD0952123456;
OK
AT+CLCC
+CLCC: 1,0,0,0,0,"0952123456",129,"aa"
1. Dial number.
2. List current call.

转载:http://wzw19191.blog.163.com/blog/static/13113547020104264039413/
0 0