VB.NET中的USSD命令出错 [英] Error on USSD command in VB.NET

查看:247
本文介绍了VB.NET中的USSD命令出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好日子,



我一直在使用此命令(AT + CUSD)获得预付信用额度:



场景1

AT + CUSD = 1,* 143#,15得到错误+ CME错误:100



场景2

AT + CUSD = 1,* 143#,15得到错误+ CME错误:50



场景3

AT + CUSD = 1,2a31343323,15

OK

+ CUSD:2



我不知道方案3是否是正确的格式,因为我必须以十六进制转换,但预期的输出应该是我当前信用的剩余余额



非常感谢你的帮助



我的尝试:



我尝试了不同的场景仍然是同样的错误

Hi guys good day,

I have been using this command (AT+CUSD) to get the prepaid credit:

scenario 1
AT+CUSD=1,"*143#",15 got error +CME ERROR: 100

scenario 2
AT+CUSD=1,*143#,15 got error +CME ERROR: 50

scenario 3
AT+CUSD=1,"2a31343323",15
OK
+CUSD: 2

I dont know if the scenario 3 is the correct format since I have to convert in hex but the expected output should be the remaining balance of my current credit

your help is greatly appreciated

What I have tried:

I have tried the different scenario still same error

推荐答案

阅读 this [ ^ ]。使用CUSD并不是你想要的那么简单。
Read this[^]. Using CUSD isn't as simple as you would want.


你应该仔细阅读你正在使用的设备提供的所有文档。

CME错误代码应列出,并可能提供工作示例。
You should read carefully all the documentation supplied with the device you are using.
The CME error codes should be listed and working examples are possibly provided.


这篇关于VB.NET中的USSD命令出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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