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

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

问题描述

我正在使用SIM900 GSM模块连接到我的AVR微控制器. 我用FT232进行了测试,以查看传输数据. First 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?

推荐答案

命令AT+CSCS?将回答您使用哪种类型的sms编码.正确的答案是"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天全站免登陆