Modem Response (2): +CMS ERROR: unknown error | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through September 15, 2006 ⬆ |
◄ ► |
Author | Message | ||||
Morten Jensen New member Username: Hansherlighed Post Number: 1 Registered: 06-2006 |
Does anyone know why i keep getting this error "Modem Response (2): +CMS ERROR: unknown error" in the SMSout.log and also in the smsdebug.log. The error message appears after the modem (Siemens MC35i) has send around 8-12 SMS's in a row. After getting the error message 5 times, the modem is Re-initialized and the sendning continues. I've tryed to look in the documantation of the modem and tryed different AT settings for where the SMS is being stored as i request a recived respons on all SMS sent through the gateway. Nothing helps though. After setting the SMS sending method to GPRS in NOWSMS, it has helped a bit. Now the error only accours after sending around 30-50 SMS and only appears once ot twice so the modem is not being Re-initialized. Colud it have anything to do with the memory capazity of the modem or is it something completly different? Please help | ||||
Morten Jensen New member Username: Hansherlighed Post Number: 2 Registered: 06-2006 |
I can see in the smsdebug.log that the startup AT commands that NOW sms is sending is not being accepted? I've set the SMSC settings to send SMS via GPRS and memory "direct to device". Have anytone else had these issues? 17:40:10:031 [2] ThreadProcessModem: AT+CNMI? 17:40:10:203 [2] ThreadProcessModem: +CNMI: 0,0,0,0,1 OK 17:40:10:203 [2] ThreadProcessModem: AT+CNMI=2,2,2,1,0 17:40:10:343 [2] ThreadProcessModem: +CMS ERROR: unknown error 17:40:10:343 [2] ThreadProcessModem: AT+CNMI=2,2 17:40:10:484 [2] ThreadProcessModem: +CMS ERROR: unknown error 17:40:10:484 [2] ThreadProcessModem: AT+CNMI? 17:40:10:656 [2] ThreadProcessModem: +CNMI: 0,0,0,0,1 OK 17:40:10:656 [2] ThreadProcessModem: AT+CPMS=? 17:40:10:812 [2] ThreadProcessModem: +CPMS: ("MT","SM","ME"),("MT","SM","ME"),("MT","SM") OK 17:40:10:953 [2] ThreadProcessModem: AT+CGSMS=2 17:40:11:109 [2] ThreadProcessModem: OK | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6024 Registered: 10-2002 |
Hi Morton, The errors in the above snippet are basically just indications taht the modem does not support the "Direct to Device" setting. This isn't a problem, as NowSMS autoamtically falls back to polling the modem for new messages. (When this setting is supported, the modem automatically transmits newly received messages to NowSMS so that polling is not required.) If you are both receiving and sending (even if the receive is just delivery reports), then I have seen instances where the receive traffic will cause a modem to generate errors when sending. Sending/receiving via GPRS is more efficient, and where supported, will greatly reduce these conflicts. I do have one suggestion, since the modem does not support the "Direct to Modem" storage option, try setting it to "Device Memory". That might be the default for the modem, but just in case it is not (I can't tell for from the above), it may speed up the process of message receiving. -bn | ||||
Morten Jensen New member Username: Hansherlighed Post Number: 3 Registered: 06-2006 |
Hi Bruce, Thanks for the asnwer:-) I was wondering if you might be able to guide me in how to best setup my storage settings in the MC35 modem and also the "NEW SMS message indication" I've tryed all kinds of different seetings but doesn't seem to be able to get a higher sending rate than around 8 SMS a minute. The possible settings for CNMI are at page 149 in the attached document The settings for the CPMS are at page 152 in the attached docuemnt Also when i do a +CSQ command i get a result of "+CSQ: 14,99". As far as i can read in the documenation of the modem 14 means a signal strength of "-109... -53 dBm" is this enough when sending via GPRS, or should I try to relocate the Modem to get a higher value, and if so wich value should I aim for? Hope you can help, thanks Morten
| ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6055 Registered: 10-2002 |
Hi Morten, Try putting the following in your SMSGW.INI file, under the [Modem - MC35 Driver] section: CommandPostInit1=AT+CGSMS=0 Then, see if you are able to send any messages. I have a feeling that you are falling back to sending over GSM instead of GPRS. If you are unable to send any messages after applying the above setting, then this indicates that your operator is not supporting SMS over GPRS ... in which case 8 per minute might be as much as fast as you'll be able to get. The signal strength looks like it is ok, not great ... but not weak enough to cause problems for GPRS. If you are stuck with GSM, you might be able to squeeze a little more performance with a slightly stronger signal. -bn | ||||
kenneth abela New member Username: Kenth_totnaks Post Number: 1 Registered: 06-2006 |
hi, our company application involves SMS transactions we are currently using Fargo Maestro 100 GSM modems but it seems it cannot handle large volumes of traffic can anybody reccomend a industrial type modems as replace for the said modem... pls help us kenneth |