Welcome to Esato.com




Hyperterminal: +cms error: 304 sending sms:es with AT commands


Click to view updated thread with images




Posted by lagu2653
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


Posted by Krubach
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...

Posted by lagu2653
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


Posted by Krubach
Can't you get what that PDUSPY is using as pdu parameter?

Posted by lagu2653
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

Posted by Krubach
You can try and use BusHound to spy on what's going on on the port.

Posted by lagu2653
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

Posted by Krubach
Always glad to help out!


Click to view updated thread with images


© Esato.com - From the Esato mobile phone discussion forum