Author |
Hyperterminal: +cms error: 304 sending sms:es with AT commands |
lagu2653 Joined: Jun 04, 2004 Posts: 8 PM |
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 Joined: Dec 05, 2002 Posts: > 500 From: Sunny Portugal! :) PM |
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 Joined: Jun 04, 2004 Posts: 8 PM |
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 Joined: Dec 05, 2002 Posts: > 500 From: Sunny Portugal! :) PM |
Can't you get what that PDUSPY is using as pdu parameter?
[addsig] |
lagu2653 Joined: Jun 04, 2004 Posts: 8 PM |
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 Joined: Dec 05, 2002 Posts: > 500 From: Sunny Portugal! :) PM |
You can try and use BusHound to spy on what's going on on the port.
[addsig] |
lagu2653 Joined: Jun 04, 2004 Posts: 8 PM |
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 Joined: Dec 05, 2002 Posts: > 500 From: Sunny Portugal! :) PM |
Always glad to help out!
[addsig] |
|