Click here to Skip to main content
11,925,381 members (59,389 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB 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 20-Jun-14 7:21am
Kim Togo 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.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