Esato

Forum > Sony Ericsson / Sony > General > Hyperterminal: +cms error: 304 sending sms:es with AT commands

Author Hyperterminal: +cms error: 304 sending sms:es with AT commands
lagu2653
T68 gold
Joined: Jun 04, 2004
Posts: 8
PM
Posted: 2004-11-08 12:35
Reply with quoteEdit/Delete This PostPrint this post
I'm trying to send SMSes using AT commands to a K700i phone but I keep getting the same error mesage no matter what PDU I enter
Code:

at+cmgs=14
> 0001000a81708340918500000161
at+cmgs=14
> 0001000a81708340918500000161
+CMS ERROR: 304


304 is "Invalid PDU mode parameter" according to the AT command reference.

Thankful for any help, Lars
Krubach
T39 black
Joined: Dec 05, 2002
Posts: > 500
From: Sunny Portugal! :)
PM
Posted: 2004-11-08 12:41
Reply with quoteEdit/Delete This PostPrint this post
Don't know what's wrong but maybe the problem is that K700i doesn't suppport the command or needs different params.

Try it out with a different phone... [addsig]
lagu2653
T68 gold
Joined: Jun 04, 2004
Posts: 8
PM
Posted: 2004-11-08 16:08
Reply with quoteEdit/Delete This PostPrint this post
It's strange because the application PDUSPY

PDUSPY.zip


PDUSPY site


manages to send SMSes using the K700i phone. The other phones, which I have are: Sony Ericsson P900 (this phone cannot send SMSes by throught AT commands), Sony Ericsson T310 and a Sony Ericsson T300. I had the company where I'm doing my master's thesis buy the K700i just to use as a GSM-modem, so I really need to make it send SMSes through AT commands.

Lars
Krubach
T39 black
Joined: Dec 05, 2002
Posts: > 500
From: Sunny Portugal! :)
PM
Posted: 2004-11-08 16:09
Reply with quoteEdit/Delete This PostPrint this post
Can't you get what that PDUSPY is using as pdu parameter? [addsig]
lagu2653
T68 gold
Joined: Jun 04, 2004
Posts: 8
PM
Posted: 2004-11-08 18:31
Reply with quoteEdit/Delete This PostPrint this post
I don't know how to figure out what PDUSPY sends to the serial port it's just one .exe file with six tabs. I'll see if I can listen to what's written to the serial port. There are not much settings in PDUSPY. Just download it and double-click on the .exe file and you can see what it looks like.

Lars
Krubach
T39 black
Joined: Dec 05, 2002
Posts: > 500
From: Sunny Portugal! :)
PM
Posted: 2004-11-08 18:34
Reply with quoteEdit/Delete This PostPrint this post
You can try and use BusHound to spy on what's going on on the port. [addsig]
lagu2653
T68 gold
Joined: Jun 04, 2004
Posts: 8
PM
Posted: 2004-11-09 00:00
Reply with quoteEdit/Delete This PostPrint this post
Thanks for the tip about Bus Hound! I finally figured out what was wrong. I didn't know you were supposed to exclude the SMSC bytes and the SMSC-length bytes when entering the length of the PDU.

Lars
Krubach
T39 black
Joined: Dec 05, 2002
Posts: > 500
From: Sunny Portugal! :)
PM
Posted: 2004-11-09 01:06
Reply with quoteEdit/Delete This PostPrint this post
Always glad to help out! [addsig]
Access the forum with a mobile phone via esato.mobi