AT+CMGS 返回错误 [英] AT+CMGS returns ERROR

查看:44
本文介绍了AT+CMGS 返回错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 SIM900 GSM 模块连接到我的 AVR 微控制器.我用 FT232 测试它以查看传输数据.首先Micro发送AT它会响应OK

I am using SIM900 GSM module connect to my AVR Microcontroller. I tested it with FT232 to see transmitting data. First Micro sends AT it will response OK

AT OK
AT+CMGF=1 OK
AT+CMGS="+9893XXXXXX" returns ERROR and doesn't show ">"

有人能告诉我该怎么做吗?

Could anybody advise me what to do?

推荐答案

Command AT+CSCS? will answer you what type of sms-encoding is used.正确的答案是GSM",如果不是,你应该通过命令AT+CSCS="GSM"设置它.

Command AT+CSCS? will answer You what type of sms-encoding is used. Properly answer is "GSM", and if not, You should set it by command AT+CSCS="GSM".

请记住将Ctrl+Z"(不是Enter")作为短信的结尾.

And remember about "Ctrl+Z" (not "Enter") as a finish of sms text, please.

这篇关于AT+CMGS 返回错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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