Syriatel USSD at + cusd命令响应解码 [英] Syriatel USSD at+cusd command response decoding

查看:112
本文介绍了Syriatel USSD at + cusd命令响应解码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我正在使用命令控制诺基亚手机作为调制解调器。

我的程序涉及发送多个ussd的请求。

MTN的响应是可解码的,但SYRIA-TEL是另一种情况。

响应是这样的:



Hello

I'm using at command to control a Nokia mobile phone as a modem.
My program involves with sending multiple ussd requests.
The response of MTN is decode-able, but with SYRIA-TEL is another situation.
the response is like this :

at+cusd=1,"*150*2*32391*69177*1#",15
+CUSD: 0,"ar?hb? ?'  10?@ ? ?hb@?J@@?@?? @f@??@?@S@d$@",17

OK





请帮助我,我知道回复信息是阿拉伯语。



这是我的代码的一部分:





please help me i know that the response message is in Arabic.

this is a part of my code :

string send = "AT+CUSD=1,\"" + EncodeUCS2("*150*1*" + passSYR + "*1*" + qty + "*" + number + "*" + number + "#") + "\",15\r";
SYRport.Write(send);
System.Threading.Thread.Sleep(5000);
var data = SYRport.ReadExisting();





我将它发送到带有串口SYRport的诺基亚x2移动调制解调器。

问题不是代码特定的我认为它与调制解调器或网络提供商有关。

请帮忙。



I'm sending it to a nokia x2 mobile modem with the serial-port SYRport.
the problem isn't code specific i think it related to the modem or the network provider.
please help.

推荐答案

@,17

OK
@",17 OK





请帮助我,我知道回复信息是阿拉伯语。



这是我的代码的一部分:





please help me i know that the response message is in Arabic.

this is a part of my code :

string send = "AT+CUSD=1,\"" + EncodeUCS2("*150*1*" + passSYR + "*1*" + qty + "*" + number + "*" + number + "#") + "\",15\r";
SYRport.Write(send);
System.Threading.Thread.Sleep(5000);
var data = SYRport.ReadExisting();





我将它发送到带有串口SYRport的诺基亚x2移动调制解调器。

问题不是代码特定的我认为它与调制解调器或网络提供商有关。

请帮忙。



I'm sending it to a nokia x2 mobile modem with the serial-port SYRport.
the problem isn't code specific i think it related to the modem or the network provider.
please help.


这篇关于Syriatel USSD at + cusd命令响应解码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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