Cannot send SMS with Nokia 30 Device

Cannot send SMS with Nokia 30 Device SearchSearch
Author Message
Chris Watkins
New member
Username: Cwatkins18

Post Number: 1
Registered: 11-2004
Posted on Wednesday, November 10, 2004 - 05:23 pm:   

Hi - Hoping someone can help... We cannot send any SMS messages via our Nokia 30 device. We can succesfully receive messages OK via the sms gateway program. When i turn on debugging, this is all I get in the SMSDEBUG.LOG

16:58:51:860 [2] ThreadProcessModem: Modem initialization complete: Nokia 30 (Cable)
16:58:56:266 [2] ThreadProcessModem: Processing 419247EE.req...
16:58:56:266 [2] ThreadProcessModem: OUT: AT+CMGS=31

16:58:56:360 [2] ThreadProcessModem: IN:
>
16:58:56:360 [2] ThreadProcessModem: OUT: 0001000C91447784690892000014F4F29C9E769F4174747A0E6A97E7F3F0B90C
16:58:56:454 [2] ThreadProcessModem: ERROR - Modem Response (2): +CMS ERROR: 304
16:58:56:454 [2] ThreadProcessModem: Error: ERROR - Modem Response (2): +CMS ERROR: 304
16:58:56:547 [2] ThreadProcessModem: Processing 419247EF.req...
16:58:57:266 [2] ThreadProcessModem: OUT: AT+CMGS=33

16:58:57:344 [2] ThreadProcessModem: IN:
>
16:58:57:344 [2] ThreadProcessModem: OUT: 0001000C91447784690892000016F4F29C9E769F4174747A0E6A97E7F3F0B90C9201
16:58:57:454 [2] ThreadProcessModem: ERROR - Modem Response (2): +CMS ERROR: 304
16:58:57:454 [2] ThreadProcessModem: Error: ERROR - Modem Response (2): +CMS ERROR: 304

In the SMSOUT.LOG file we get the following -

2004-11-10 17:06:04,419247EE.req,127.0.0.1,+44xxxxxxxxx,Retry Pending - ERROR - Modem Response (2): +CMS ERROR: 304 -- Nokia 30 (Cable)

If anyone has any ideas, it would be appreciated !

Thanks,
Chris Watkins
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3732
Registered: 10-2002
Posted on Thursday, November 11, 2004 - 04:56 pm:   

Hi Chris,

Unfortunately, I've never seen this error code before. So I'm not sure how to troubleshoot it.

Oddly, the error code 304 means that the modem believes the message is incorrectly formatted. However, I do not see any errors in the message format.

I know we have other customers using the Nokia 30, so I don't know what would be different here.

I did some searching on the web, and I found 2 situations where others were getting this error code with the Nokia 30 and other software. However, I was unable to find any answers as to why this would happen. According to the Nokia documentation, it states that this message would only occur if the modem beileves the message is incorrectly formatted.

The only thought that comes to my mind is possibly a problem with the modem cable. Sometimes a problem with a cable will cause this type of problem, where data is lost between the PC and the modem. Usually, if there is a cable problem, we see it when receiving messages (data missing from the received message), rather than sending them. You're not using a USB to serial converter, are you? That might cause a problem.

Let's try to go into HyperTerminal, and connect to the modem's COM port, and send the commands manually, to see if that works properly. I would suggest trying this several times, at different speeds. Start with 115200 bps, then try 19200bps if that fails.

When you connect to the COM port with HyperTerminal, press Enter several times after connecting. Then type ATZ followed by Enter and the modem should respond back with OK.

If you do not see the ATZ command when typing, type ATE1 followed by Enter.

Next, type AT+CSMS=0 followed by Enter. Then AT+CMGF=0 followed by Enter.

Then try:

AT+CMGS=31<Enter>

The modem should respond back with ">"

Type:

0001000C91447784690892000014F4F29C9E769F4174747A0E6A97E7F3F0B90C

followed by CTRL-Z (do not press Enter)

Do you see an OK, or do you see the +CMS ERROR 304?

-bn