AT+CLCC命令

+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/
短消息命令 1、AT+CSMS选择消息服务。支持的服务有GSM-MO、SMS-MT、SMS-CB。 2、AT+CNMA新信息确认应答。 3、AT+CPMS优先信息存储。这个命令定义用来读写信息的存储区域。 4、AT+CMGF优先信息格式。执行格式有TEXT方式和PDU方式。 5、AT+CSAS保存设置。保存+CSAS和+CSMP的参数。 6、AT+CRES恢复设置。 7、AT+CSDH显示文本方式的参数。 8、AT+CNMI新信息指示。这个命令选择如何从网络上接收短信息。 。。。。。。。 二.短信息 1.设置短消息模式 at+cmgf=? (0)=pdu (1)=text pdu 模式可以传送文字 text 模式只可以传送数字和字母 2.设置短消息中心 at+csca=“+8613800270500”回车(具体的号码由当地的运营商决定。) 3.接收短消息 at+cmgr=x 回车 (从 x 存储区读短消息) 例如: at+cmgr=1 +cmgr: "rec read","06014",,"06/12/12,10:11:21+32" 5c0a656c76845ba26237002c60a8768498845b588bdd8d395df27ecf4e0d8db3003200305143002 c8bf75c3d5feb5b5850a88 。。。。。。 ************************ - szTmp 0x1a2ffa9c "at+cscs="gsm"OK " [0x0] 0x61 'a' [0x1] 0x74 't' [0x2] 0x2b '+' [0x3] 0x63 'c' [0x4] 0x73 's' [0x5] 0x63 'c' [0x6] 0x73 's' [0x7] 0x3d '=' [0x8] 0x22 '"' [0x9] 0x67 'g' [0xa] 0x73 's' [0xb] 0x6d 'm' [0xc] 0x22 '"' [0xd] 0x0d ' ' [0xe] 0x0d ' ' [0xf] 0x0a ' ' [0x10] 0x4f 'O' [0x11] 0x4b 'K' [0x12] 0x0d ' ' [0x13] 0x0a ' ' [0x14] 0x00 '' [0x15] 0x00 '' *********************************** - szTmp 0x1a2ffa9c "AT+CSCA="15822901649"OK " [0x0] 0x41 'A' [0x1] 0x54 'T' [0x2] 0x2b '+' [0x3] 0x43 'C' [0x4] 0x53 'S' [0x5] 0x43 'C' [0x6] 0x41 'A' [0x7] 0x3d '=' [0x8] 0x22 '"' [0x9] 0x31 '1' [0xa] 0x35 '5' [0xb] 0x38 '8' [0xc] 0x32 '2' [0xd] 0x32 '2' [0xe] 0x39 '9' [0xf] 0x30 '0'
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值