Hello,
I am trying to send a hindi(Unicode) sms through GSM modem with AT command
in C#.Net, I was tried so many time with all AT command link AT,AT+CMGF=0
or 1,AT+CSCS="HEX/UCS2" and AT+CMGS="Phone Number" in hyper-terminal and
also in .net application but not luck,the sms is coming like
??????????????? and some time empty and some time error,
my GSM modem is supporting to send Unicode sms.
Can any one help/discus on this topic its a great things.
here I am pasting which i used code in C#.net............Please help to me
to solve this problems.
string recievedData = ExecCommand(port, "AT", 300, "No
phone connected");
recievedData = ExecCommand(port, "AT+CMGF=1", 300, "Failed
to set message format.");
String command = "AT+CMGS=\"" + PhoneNo + "\"";
recievedData = ExecCommand(port, command, 300, "Failed to
accept phoneNo");
command = Message + char.ConvertFromUtf32(26) + "\r ";
recievedData = ExecCommand(port, command, 3000, "Failed to
send message"); //3 seconds
Thanks and Regards.
Yellaswami.
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/smslib/4b3fb7ad-f0cf-4f46-ae47-3d31e65891dd%40googlegroups.com.