abduls85 abduls85 - 1 month ago 18
C# Question

AT Command for receiving automatic SMS notification

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.

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.

Answer Source

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.