SMS/USSD 内容检索

发布于 10-20 18:27 字数 114 浏览 6 评论 0原文

嗨,大家好 我正在开发这个项目,我需要通过短信/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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情话已封尘2024-10-27 18:27:20

我可以广泛帮助您解决您的问题。据我了解您想要实现的目标是,也许当 SMS 消息到达您的 GSM 调制解调器或 GSM 电话时,您的软件应该有足够的能力根据您的协议解释该消息,并应该做出相应的响应,即使它需要处理数据库。这是绝对有可能的。让我简单描述一下。以下是一般步骤:

  1. 您必须通过软件将 GSM 电话或调制解调器连接到特定的 COM 端口。
  2. 分配和配置端口后,您向Modem发出AT+CNMI=2,2,0,0,0命令,如果它响应OK,则表明它支持该命令,否则会产生错误。
  3. 现在从其他手机发送短信,您将看到短信直接发送到您的软件,现在您可以根据您的需要对其进行处理。

整个过程描述起来稍显冗长,但是是可能的。

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:

  1. You must connect your GSM Phone or Modem through your software with a particular COM port.
  2. After assigning and configuring the port, You issue AT+CNMI=2,2,0,0,0 command to Modem, if it responds to OK, then it indicates that it supports this command, else an error is generated.
  3. Now send an SMS from some other phone, you will see that the SMS directly goes to your software, now you can process it as per your needs.

The whole process is slightly a lengthy description, but it is possible.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文