开发者

AT Command for receiving automatic SMS notification

开发者 https://www.devze.com 2023-03-05 05:14 出处:网络
I have 2 gprs/gsm modems wit开发者_JAVA技巧h 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

I have 2 gprs/gsm modems wit开发者_JAVA技巧h 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.

Procedures that I have performed so far

  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

  2. 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.

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.


Many of these types of devices use different commands. Some use proprietary commands. Since it works fine with the included software, I would recommend figuring out how that works.

The easiest way to do this is to fire up some free serial port monitoring software. Once you get it set up, start up the software the device came with and see what commands it sends. Then, you can use those same commands yourself.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号