发送短信时 GSM CMS 错误 512
我正在编写一个应用程序,通过带有串行端口的 GSM 调制解调器发送短信。我已经能够使用 MessagingToolkit 库发送短信了几天,但突然我无法再发送短信了。
根据日志,这是由于网络错误造成的。我发现我面临的“标准”错误是: CMS 错误:512 用户中止
我在此处找到了错误代码列表 http://www.smssolutions。 net/tutorials/gsm/gsmerrorcodes/ 但我找不到有关该错误的任何进一步解释。
有熟悉 GSM 的人知道这个错误是什么吗?
当我初始化调制解调器时,我还从启动配置中收到此错误消息,它可能与 512 错误有关: 2011.04.11-09.23.16:发送:AT+COPS=0,2 2011.04.11-09.23.17: 命令 AT+COPS=0,2 错误:错误
谢谢!
I'm programming an app to send SMS through a GSM modem with the serial port. I've been able to send SMS for a couple of days using the MessagingToolkit library but suddennly I'm not being able to send SMS anymore.
According to the logs this is due to a Network error. I found out that the "standard" error that I'm facing is:
CMS ERROR: 512 User abort
I found a list of error codes here http://www.smssolutions.net/tutorials/gsm/gsmerrorcodes/ but I can't find any further explanation on the error.
Does anyone that's familiar with GSM knows what's this error about?
When I'm initializing the modem I also get this error message from the starting configurations, it might be related to the 512 error:
2011.04.11-09.23.16: Sending: AT+COPS=0,2
2011.04.11-09.23.17: Error in command AT+COPS=0,2 : ERROR
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否已确认您已向运营商正确注册?您可以通过发送 AT+CREG 来做到这一点?
关于 AT+COPS 错误消息。您似乎没有发送足够的参数。
AT+COPS=,[,[,]]
您是否尝试手动选择运营商而不是让调制解调器采用 SIM 卡的默认运营商设置?
Have you verified that you are registered with your operator properly? You can do this by sending a AT+CREG?
Regarding the AT+COPS error message. It seems like you aren't sending enough parameters.
AT+COPS=<mode>,[<format>,<oper>[,<AcT>]]
Are you trying to manually select an operator rather than letting the modem take the default operator setup with the SIM card?