ModemReceiveMessages ERROR

ModemReceiveMessages ERROR SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 21, 2007 » ModemReceiveMessages ERROR « Previous || Next »
Author Message
Chitra Phadke
New member
Username: Chitraphadke

Post Number: 1
Registered: 04-2007
Posted on Wednesday, April 04, 2007 - 06:49 pm:   

We have an a Now SMS/MMS Gateway v2006.03.09 connected to a Sierra Wireless Aircard EDGE modem.
We use this setup to routinely send SMSes from our application. But every once in a while we see errors in the SMSDEBUG.LOG file. They are of the nature:
22:47:14:052 [3] ModemReceiveMessages:
ERROR

22:47:14:132 [3] ModemReceiveMessages:
ERROR

22:47:20:131 [3] ThreadProcessModem: Before ModemRelease - Sierra Wireless AirCard EDGE Modem
22:47:20:131 [3] ThreadProcessModem: After ModemRelease - Sierra Wireless AirCard EDGE Modem
22:47:26:131 [3] ThreadProcessModem: Before ModemAllocate - Sierra Wireless AirCard EDGE Modem
22:47:26:131 [3] ThreadProcessModem: After ModemAllocate - Sierra Wireless AirCard EDGE Modem - OK
22:47:26:131 [3] ThreadProcessModem: Re-initializing modem: Sierra Wireless AirCard EDGE Modem ...
22:47:26:722 [3] ThreadProcessModem: AT+CPMS?
22:47:26:792 [3] ThreadProcessModem:
ERROR

22:47:26:792 [3] ThreadProcessModem: AT+CNMI=,,,1
22:47:26:862 [3] ThreadProcessModem:
OK


I do not understand why these error messages come about and what they mean. IMO, the modem is not receiving any incoming messages (I do not see any messages logged in the SMSIN-xxx.log file).
Can someone shed light if they are seeing these problems too and what could be the probable cause of the same? What is the solution?

Thanks,
Chitra.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7036
Registered: 10-2002
Posted on Wednesday, April 04, 2007 - 08:19 pm:   

Hi Chitra,

In the default configuration, NowSMS polls for received SMS messages.

If it encounters unexpected errors while polling, it may reset the modem to try to recover.

You can stop NowSMS from resetting the modem in the event of polling errors by changing "SMS Message Storage" to "Direct to Modem".

-bn
Chitra Phadke
New member
Username: Chitraphadke

Post Number: 2
Registered: 04-2007
Posted on Thursday, April 05, 2007 - 01:16 am:   

But can we avoid/figure out why the error comes about while polling? Basically an error in the LOG files causes our monitoring scripts to report an error erraneously which I would like to avoid.
Are there known problems with modem polling?

--Chitra
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7060
Registered: 10-2002
Posted on Thursday, April 05, 2007 - 06:23 pm:   

For the error while polling, the AT+CGML=0 command is returning an ERROR response.

If you configure the "SMS Message Storage" to "Direct to Modem", this occurence will not be logged.

The "AT+CPMS?" command returning an error is weird. I don't know what to suggest about that. It is not unusual for modems to sometimes return an ERROR response to some of our init commands, such as this ... we log them for troubleshooting purposes. But this is a command that I would not expect to fail.

-bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics