你们好,我想通过AT命令来设置某一个SIM卡,让它具有1、禁止通话;2、只能拨打某一固定电话;如何使用AT+CLCK这种命令来达到我上面所说的那些功能呢?
10.2 Call barring +CLCK
10.2.1 Description :
This commands allows the control of the call barring supplementary service.
Locking, unlocking or querying the status of a call barring is possible for all or a
specific class.
10.2.2 Syntax :
Command Syntax : AT+CLCK= <fac>, <mode> [, <password> [, <class> ] ]
Response Syntax: (for <mode>=2 and command successful)
+CLCK: <status> [, <class1> [ <CR><LF>+CLCK: <status>, <class2> [ … ] ]
Command Possible responses
AT+CLCK=”AO”,1,1234
Note :
OK
Note : Command valid
AT+CLCK=”AO”,0,5555
Note :
+CME ERROR: 16
Note : Wrong password
AT+CLCK=”AO”,0,1234
Note :
OK
Note : Command valid
<fac> “AO”, “OI”, “OX” : for outgoing calls barring
“AI”, “IR” : for incoming calls barring
“AI”, “IR” : for incoming calls barring
“AG”, “AC”,”AB” : for all calls barring (<mode>=0 only)
<mode> 0 : Unlocks the facility
1 : Locks the facility
2 : Query status
<class> : see description for +CLCK command (Facility lock) or
+CCFC(Call forwarding).
The combination of different classes in not supported, it will only result in the
activation / deactivation / status request of all classes (7).
Password code must be on 4 digits maximum.
但是我没试验过,不知道网络密码。
只能帮你up了