AT + CUSD命令问题

时间:2018-03-24 17:48:37

标签: at-command

我想通过AT命令查看sim卡的余额。一切都运行良好。 但我无法进入回复菜单。当我试图进入它时它给了我操作员的“无效请求”错误。虽然在手机上工作正常。

Checking Selected Port COM11 
Data Received - AT+CNMI=1,1
AT
OK

OK

Data Received - AT+CUSD=1,*121#
OK

Data Received - 
+CUSD: 2,"My Airtel App:Track your daily data usage, balance, validity and 
Recharge online. Download now from Play Store/ App Store",15

Data Received - 
+CUSD: 1,"919771272794
1 Change Language
2 Balance
3 New Offers
4 My Offer
5 My Account Info
6 Coupon Recharge
7 Other Services
8 DTH
9 Payments Bank
",15

Data Received - > AT+CUSD=1,2

OK

Data Received - 
+CUSD: 1,"Invalid request.
1 Change Language
2 Balance
3 New Offers
4 My Offer
5 My Account Info
6 Coupon Recharge
7 Other Services
8 DTH
9 Payments Bank
",15

1 个答案:

答案 0 :(得分:0)

首次使用 **

AT+CSCS="GSM"
AT+CUSD=1,"*121#",15

**

您将收到以下消息(像往常一样)

*CUSD: 1,"My Airtel App:Track your daily data usage, balance, validity and 
Recharge online. Download now from Play Store/ App Store",15

Data Received - 
+CUSD: 1,"919771272794
1 Change Language
2 Balance
3 New Offers
4 My Offer
5 My Account Info
6 Coupon Recharge
7 Other Services
8 DTH
9 Payments Bank
",15*

现在

AT+CUSD=1,"n",15

n是您的选择号码。 例如: 获得你将输入的余额

AT+CUSD=1,"2",15

我遇到了同样的问题。