如何使用GSM Click Modem发送短信? [英] How to send SMS with GSM Click Modem?

查看:134
本文介绍了如何使用GSM Click Modem发送短信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我终于可以拨打电话,接听电话并接听电话了.但是,如果我尝试发送短信,则会收到 CMS错误:500 .我正在使用的GSM调制解调器是Telit GL865-Quad模块.由于通话"功能正常工作,是什么导致SMS无法正常工作?请给我启示. Sim卡可以在我的手机上正常工作,以排除某些问题.我正在使用超级终端以19200的速度键入命令.为方便您使用,这是带有命令的用户指南.

I can finally make a phone call, receive, and answer it. But if I try to send an SMS I receive CMS ERROR: 500. The GSM modem I am using is Telit GL865-Quad module. Since the Call function is working, what's preventing the SMS to work? please enlightenment me. The Sim Card works fine on my phone to rule out some of the problems. I am using a hyperterminal to type the commands at 19200 speed. This is the user guide with commands for your own convenience.

发送短信:

AT+CMGF=1 // Select Text Mode
OK
AT+CMGW="+xxxxxxxxxxxx" // my number
> Hi
>
+CMGW: 8

OK
AT+CMSS=8

错误: + CMS错误:500

由于错误未知,对错误意味着什么的任何想法?可以输入哪些命令来查明问题?

Any ideas to what the error means, since its unknown error? What are some commands to type out to pinpoint the problem?

感谢您的帮助,谢谢!

I would appreciate your help, thanks!

推荐答案

+ CMS错误:不幸的是500是非常普通的错误消息.

+CMS ERROR: 500 is unfortunately a very generic error message.

我有一些怀疑可能会解决您的问题:

I have a few suspicions which may solve your problem:

1)时间问题

将短信写入SIM卡将花费大量时间.在将SMS写入SIM和发送SMS之间,需要等待几秒钟.

Writing an SMS to the SIM card will take a "significant" amount of time. Between writing the SMS to SIM and sending the SMS wait a couple of seconds.

2)检查SMS是否确实已写入SIM卡

2) Check that the SMS really did get written to SIM

使用CMGR命令,可以验证SMS是否已写入SIM及其当前状态.

Using the CMGR command you can verify if the SMS is written to SIM and it's current status.

例如:

AT+CMGR=8

替代:

您始终可以直接发送短信而无需存储在SIM卡上.通常,由于多种原因,这是一种更受欢迎的方法,包括SMS发送速度更快,并且由于减少了读/写操作而延长了SIM卡的使用寿命.

You can always send an SMS directly without storing on the SIM. This is generally a more favored approach for multiple reasons including SMS sending is quicker and SIM lifetime is extended due to reduced read/writes.

这可以通过使用以下方法来实现:

This can be achieved by using:

AT+CMGS=<destination address>
>Hi

您还可以使用CNMI命令来防止传入消息存储在SIM卡上,并直接输出到控制台/远程登录连接.

You can additionally use the CNMI command to prevent incoming messages being stored on the SIM and being output directly to the console/telnet connection.

这篇关于如何使用GSM Click Modem发送短信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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