Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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 :

C#
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();


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.
Posted
Updated 13-May-14 22:01pm
v2
Comments
Richard MacCutchan 11-May-14 7:19am    
Help with what?
ZurdoDev 11-May-14 21:33pm    
You'll need to read it in with something that supports unicode so that you get the actual characters instead of ????
Member 10809865 12-May-14 3:47am    
what do you mean by "something" ........?
ZurdoDev 12-May-14 7:53am    
I can't tell you since you haven't shown any of your code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900