SMS/USSD 内容检索
嗨,大家好 我正在开发这个项目,我需要通过短信/ussd 从数据库中检索信息,就像您在手机上检查信用的方式一样。 如果有任何帮助引导我走向正确的方向,我将不胜感激。 (希望我把问题说清楚,如果不问我,我可以澄清)
Hi guys
I'm working on this project where I'll need to retrieve information from a database through sms/ussd, much like how you would check you credit on you mobile phone.
Would appreciate any help to head me in the right direction.
(Hope I put my question out clearly, if not ask me so I can clarify)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我可以广泛帮助您解决您的问题。据我了解您想要实现的目标是,也许当 SMS 消息到达您的 GSM 调制解调器或 GSM 电话时,您的软件应该有足够的能力根据您的协议解释该消息,并应该做出相应的响应,即使它需要处理数据库。这是绝对有可能的。让我简单描述一下。以下是一般步骤:
AT+CNMI=2,2,0,0,0
命令,如果它响应OK
,则表明它支持该命令,否则会产生错误。整个过程描述起来稍显冗长,但是是可能的。
I can help you extensively in solving your problem. As far as I got understood what you want to achieve is, perhaps that when a SMS message comes to your GSM Modem or GSM Phone, your software should be capable enough to interpret that message according to your protocol and should respond accordingly, also when it needs to process database. This is absolutely possible. Let me describe it in brief. Following are the general steps:
AT+CNMI=2,2,0,0,0
command to Modem, if it responds toOK
, then it indicates that it supports this command, else an error is generated.The whole process is slightly a lengthy description, but it is possible.