Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI I have HSDPA 7.2 mbps GSM Modem I wnated to send sms using vb.net 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

1 solution

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! :-)

And to be on the safe side, start with at AT&F
 
Share this answer
 
v2
Comments
SIA1982 20-Jun-14 7:21am    
THANKS A LOT IT WORKED LIKE A CHARM
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)



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