AT命令AT + CMGS给出错误CMS 305“无效的文本格式” [英] AT Command AT+CMGS giving error CMS 305 "Invalid text format"

查看:1112
本文介绍了AT命令AT + CMGS给出错误CMS 305“无效的文本格式”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有HSDPA 7.2 mbps GSM调制解调器我想用C#设备的vb.net发送短信是好的我已经测试过使用超级终端唯一的问题是我在超级终端输入AT + CMGS =+ 615545544455而我键入消息和CTRL Z结束它给出错误ERROR 305无效的文本格式我经历了很多例子,但仍然无法解决这个问题。如果设备支持文本模式或PDU模式,有没有办法找到?我正在尝试简单的文本模式。

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.

推荐答案

进入文本模式的AT命令是AT + CMGF = 1

和PDU编码是AT + CMGF = 0



但在文本模式下,发送短信的文本编码非常重要。

标准GSM编码是AT + CSCS =GSM



希望它可以提供帮助! :-)



为了安全起见,从AT&F开始
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


这篇关于AT命令AT + CMGS给出错误CMS 305“无效的文本格式”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆