用于接收自动短信通知的 AT 命令 [英] AT Command for receiving automatic SMS notification

查看:38
本文介绍了用于接收自动短信通知的 AT 命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 2 个 gprs/gsm 调制解调器,其中一个是华为,另一个是 prolink 调制解调器.我通过 AT 命令发送或接收短信没有问题.但是,我正在尝试使用此命令 AT+CNMI 接收自动通知,但无法使其正常工作,但是当我尝试使用此命令时,调制解调器回复 ok,没有错误.

I have 2 gprs/gsm modems with me at the moment one of them is huawei and the other is a prolink modem. I have no problem sending or receiving SMSes via AT Commands. However I am trying to receive automatic notification using this command AT+CNMI and I am not able to get it to work but when I try this command the modem replies with ok with no errors.

我目前执行的程序

  1. 为 AT+CNMI 命令 2,1,0,0,0, 2,2,0,0,0 等尝试了多种组合,但无济于事

  1. Tried numerous combination for the AT+CNMI commands 2,1,0,0,0, 2,2,0,0,0 and etc but to no avail

我已将首选消息存储设置为 SIM 卡,并且我能够使用各种 AT 命令接收和提取消息.

I have set the preferred message storage to sim card and I am able to receive message and extract it as well using various AT commands.

我尝试在超级终端以及使用 C 锐利但无济于事.调制解调器附带的内置软件能够接收通知.有人可以指导我吗.

I tried in hyperterminal as well as using C sharp but to no avail. The built software that comes with the modem are able to receive the notification. Can someone guide me on this.

推荐答案

我已经设法找出问题所在 :) .基本上,我使用的调制解调器使用几个不同的端口,新消息通知将由另一个端口接收.问题解决了.

I managed to figure out the problem already :) . Basically the modem that i used makes use of several different ports and the new message notification will be received by another port. Problem solved.

这篇关于用于接收自动短信通知的 AT 命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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