how to send arabic sms with at_command in C#
Hi
can any body tell me how can i send arabic sms with at-command in C# ?
i try with this code but the message show incorrect on phone !
serialPort1.BaseStream.Flush();
string cb = char.ConvertFromUtf32(26);
System.Threading.Thread.Sleep(2000);
this.serialPort1.Write("AT+CMGF=1\r");
this.serialPort1.Write("AT+CSCA=servicecenter\r\n");//Ufone Service Center
this.serialPort1.Write("AT+CSCS=\"" + "HEX" + "\"\r\n");
this.serialPort1.Write("AT+CSMP=\"" + 1 + "," + 167 + "," + 0 + "," +8+ "\"\r\n");
this.serialPort1.Write("AT+CMGS=\"" + textBox1.Text + "\"\r\n");// message sending
this.serialPort1.Write(textBox2.Text + cb);//message text
and massege is this :
06450631062D06280627
please help me thanks
mahdi68
Junior Poster in Training
95 posts since Jun 2009
Reputation Points: 6
Solved Threads: 0
SMS is not for free. This will not do. There are ways but you will have to pay the service. Are you still intereseted?
Mitja Bonca
Nearly a Posting Maven
2,485 posts since May 2009
Reputation Points: 641
Solved Threads: 474
SMS is not for free. This will not do. There are ways but you will have to pay the service. Are you still intereseted?
That's not true. You can send sms for free using SMTP (as long as you can find your opearator's sms gateway). http://en.wikipedia.org/wiki/List_of_SMS_gateways
moni94
Junior Poster in Training
56 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
Mitja Bonca
Nearly a Posting Maven
2,485 posts since May 2009
Reputation Points: 641
Solved Threads: 474