Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VB.NET C#5
HI I have HSDPA 7.2 mbps GSM Modem I wnated to send sms using of C# device is ok I have tested using hyper terminal only problem is when I type AT+CMGS="+615545544455" in hyper terminal and I type message and CTRL Z to end it gives error ERROR 305 "Invalid text format" I been through lots of examples but still could not solve this issue. Is there a way I can find if device supports text mode or PDU mode? I am trying text mode which is easy.
Posted 19-Jun-14 22:00pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The AT command to get in Text Mode is AT+CMGF=1
And PDU encoding is AT+CMGF=0

But in Text Mode, encoding of the text when sending a SMS i important to.
Standard GSM Encoding is AT+CSCS="GSM"

Hope it can help! Smile | :)

And to be on the safe side, start with at AT&F
SIA1982 at 20-Jun-14 7:21am
Kim Togo at 27-Jun-14 7:23am
Great! :-)

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

  Print Answers RSS
0 Sascha Lefévre 500
1 Sergey Alexandrovich Kryukov 300
2 Abhinav S 230
3 Maciej Los 210
4 Richard Deeming 105
0 Sergey Alexandrovich Kryukov 6,928
1 OriginalGriff 6,381
2 Maciej Los 2,782
3 Abhinav S 2,732
4 Peter Leow 2,694

Advertise | Privacy | Mobile
Web04 | 2.8.150414.1 | Last Updated 20 Jun 2014
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100