GSM调制解调器USSD支票余额收到CME错误100 [英] GSM Modem USSD Check Balance Getting CME Error 100

查看:221
本文介绍了GSM调制解调器USSD支票余额收到CME错误100的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Huawei E1550 3G调制解调器通过USSD检查SIM卡余额

I'm trying to check the SIM Card Balance via USSD using Huawei E1550 3G modem

但是当我总是发送

   AT+CUSD=1,"*100#",15

我明白了

   +CME Error: 100

是的,我的调制解调器支持USSD,因为我有一个用于调制解调器的仪表板应用程序,可以查询余额并为SIM卡充值.

And yes my modem support USSD because i have a dashboard application for the modem and i can check the balance and also recharge the SIM Card.

我在C#中使用GSMComm库,我也曾在腻子termainl中尝试过它,但始终遇到相同的错误

I'm using GSMComm library in C# i've also tried it in putty termainl but keep getting the same error

我搜索了错误100,发现它是未知错误",没有帮助:)

I searched for the error 100 and found that it's "Unknown Error" no really helpful :)

我也曾尝试在发送之前将文本模式更改为pdu模式,但没有任何改变

I did also tried changing text mode to pdu mode before sending but nothing changed

   AT+CMGF=0

注意: 我也尝试过

  AT+CUSD=1,"*100#"

相同的错误

   AT+CUSD=?

  (0-2)

更新

我已经将请求"* 100#"转换为7位的"2A31303023"

I've Converted the request "*100#" to 7bit "2A31303023" like this

 AT+CUSD=1,"2A31303023" ,15

响应

 +CUSD: 2

我相信问题将得到解决,但是回应意味着什么?

I believe that the problem is about to be solved but what the response mean ?

推荐答案

您必须将消息编码为 PDU 格式

You have to encode the message to PDU format

gsmcomm PDUConverter可用于执行此操作

gsmcomm PDUConverter can be used to do this

https://github.com/welly87/GSMComm/blob/master/PDUConverter/GsmComm.PduConverter/SmsPdu.cs

这篇关于GSM调制解调器USSD支票余额收到CME错误100的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆