Esato

Forum > Sony Ericsson / Sony > Technical > AT commands for P800

Author AT commands for P800
Mumin
P800
Joined: Jan 23, 2003
Posts: 4
PM
Posted: 2003-01-31 00:15
Reply with quoteEdit/Delete This PostPrint this post
Hi!

I'm trying to update a small app I made for my Siemens SL45 to send SMS from the computer via the phone using AT commands. However, the P800 does not seem to support the GSM 07.05 AT commands that deals with SMS (AT+CMGS=? only returns ERROR). Could this really be true or is there some other AT command I should give to the phone to activate the SMS subset?

I'm using the Dialup profile over Bluetooth.

[ This Message was edited by: Mumin on 2003-01-30 23:15 ]

[ This Message was edited by: Mumin on 2003-01-30 23:16 ]
clm
T68i
Joined: Jan 03, 2003
Posts: 21
From: Melbourne, Australia
PM, WWW
Posted: 2003-01-31 08:57
Reply with quoteEdit/Delete This PostPrint this post
I don't have a P800 but I do have a T68i. As you might know, some phones support two formats for entering the AT+CMGS command. Nokia phones and others (Siemens probably too) allow you to enter the message in plain 8-bit characters. All phones, though, let you enter the message as the complete PDU (with each byte represented by two hex characters). The command to switch between these two is AT+CMGF.

You don't happen to be using the plain text method, do you? Because I wouldn't be surprised if the P800 only supported PDU mode (AT+CMGF=0).

HTH
Mumin
P800
Joined: Jan 23, 2003
Posts: 4
PM
Posted: 2003-01-31 11:49
Reply with quoteEdit/Delete This PostPrint this post
Hi, thanks for the reply.

I am using the PDU method (My SL45 supported only PDU). The trouble is, I don't even get to the stage where I can send the PDU data to the phone. I send this to the phone:

Code:
AT+CMGS=<msg_len><CR>



And the phone simply answers:

ERROR

I tried AT+CMGF, but that also returns ERROR.
I found an AT command that lists all supported commands in the phone, and CMGS was not there.



[ This Message was edited by: Mumin on 2003-01-31 10:50 ]
clm
T68i
Joined: Jan 03, 2003
Posts: 21
From: Melbourne, Australia
PM, WWW
Posted: 2003-02-01 01:31
Reply with quoteEdit/Delete This PostPrint this post
Strange!

Try connecting to the phone on a difference RFCOMM channel (say, one for Serial Port (I think this is 3 on my T68i)) as this could conceivably determine which commands are available (e.g., a computer using the phone for dial-up purposes wouldn't need to do SMS stuff).

If not, then I'd say it's quite an oversight on the part of the programmers!
Mumin
P800
Joined: Jan 23, 2003
Posts: 4
PM
Posted: 2003-02-01 14:32
Reply with quoteEdit/Delete This PostPrint this post
That's a good theory! I have three connection types available over bluetooth:
Dialup Networking (COM8)
OBEX Object Push (COM10)
Serial Port (COM5)

On COM8 I can send at commands with HyperTerminal without problems (this is the one I've been trying so far). When I setup the COM10 connection another application "steals" the port (some OBEX service I presume). I think the winner should be COM5, this is the connection used when syncing. If i disable the phone monitor listening to COM5, the port is free to use by my application. When my application opens COM5, the BT connection is setup automatically, but then I just receive garbage from the phone before I can send anything.

I seem to recall I had this garbage-data problem with my SL45 too, but I can't remember what the problem was...

clm
T68i
Joined: Jan 03, 2003
Posts: 21
From: Melbourne, Australia
PM, WWW
Posted: 2003-02-05 13:35
Reply with quoteEdit/Delete This PostPrint this post
If you find the answer to this question, please let me know.
Access the forum with a mobile phone via esato.mobi