Author |
Disconnection of T610 prevents PC from calling certain AT Commands on Reconnection |
dewong Joined: May 24, 2005 Posts: 4 PM |
Hi I recently got my hands on a DRS-11 cable for the Sony Ericsson T610. I tried using it to send out SMS's and such using these AT Commands.
AT
AT+CMGF=1
AT+CMGS="%mobile num%"
>%Msg% Ctrl-z
This all worked great. The message was sent and the message was recieved. I disconnected my phone and retried it again, and it did not work even if I did the same thing. I tried a "AT+CMGF=1" and an "ERROR" returned instead of the normal "OK".
A listing of the AT commands using "AT*" also showed that there was no such AT+CMGF command (and alot of other commands were missing too). Some commands like AT* and ATD and AT still work though.
It is only upone turning OFF and then turning ON the phone again that the missing commands were available to me again. However, when I disconnected, I get the same problem again.
My settings are
data bits 8
parity bit 1
baud rate 9600 - 115200 (I tried everything in that range)
flow control none, RTS/CTS (tried both of them)
Would be grateful if anyone nows how to fix this problem.
Thanks. |
|
ESTOR Joined: Apr 20, 2002 Posts: > 500 From: Singapore PM |
wouldn't an ATZ be equivalent to a power cycle?
Anywho... it suggests that the ctrl-Z wasn't really the complete right way to end the SMS, if you ask me. You maybe missing another AT command or 2.
[ This Message was edited by: ESTOR on 2005-05-24 18:57 ] |
dewong Joined: May 24, 2005 Posts: 4 PM |
I tried doing an ATZ, does not seem to work.
Point is even if I do a CMGF=1, disconnect, reconnect and then do a CMGF=1, it will give me an ERROR too. I think that the phone may have turned something off.
And what is the right way of ending the SMS?
Even the greatest guitarist had to start somewhere. |
ESTOR Joined: Apr 20, 2002 Posts: > 500 From: Singapore PM |
no idea. |
dewong Joined: May 24, 2005 Posts: 4 PM |
No worries.
I have tried a few things, and when I close the serial port connections, the phone ceased to perform the various functions.
I noted that the list of commands that I have available when this problem occurs is the same list as when the phone is off (or in the off and charging state).
I have thus stopped calling a close on the serial port whenever I stop my application. This seems to work. |
|