GSM 调制解调器 USSD 检查余额获取 CME 错误 100 [英] GSM Modem USSD Check Balance Getting CME Error 100

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

问题描述

我正在尝试使用华为 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 库,我也在 putty 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天全站免登陆