使用AT命令接收短信 [英] Receiving SMS Using AT commands
本文介绍了使用AT命令接收短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将短信发送到SIM卡时.它会自动存储在SIM卡上吗?如果没有,则有一种方法可以用c或c ++编写在后台运行的应用程序,该应用程序具有在AT指令的帮助下在接收到短信以处理短信内容时随时触发的功能.
我已经有一种执行AT命令的方法.
预先感谢.
解决方案
是的.
请参阅: AT命令简介及其用法 [ libGammu [
GSM_SetIncomingSMSCallback [^ ]
您可以阅读3GPP TS 27.005查找AT + CPMS
When an sms is sent to a sim. Is it stored automatically on the sim. If not is there a way to write an application in c or c++ which runs in the background with a function that is triggered anytime an sms is received to process the contents of the sms With the help of AT commands.
I already have a way of executing AT commands.
Thanks in advance.
解决方案
Yes it is.
See this: Introduction to AT commands and its uses[^]
if you don''t want your hands get dirty dealing with background process monitoring notification (CMTI), why not link your application with libGammu[^]?
Just set a callback for incoming SMS and process it.
GSM_SetIncomingSMSCallback[^]
you can read 3GPP TS 27.005 to find AT+CPMS
这篇关于使用AT命令接收短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文