>
New Topic
>
Reply<
Esato Forum Index
>
Sony Ericsson / Sony >
Software, Firmware and Drivers
> Any Programmers here?
Bookmark topic
I developed an application where (to start with) im sending AT commands via serial connection. I THINK i connect to the T610 succesfully but it doesnt respond to any AT commands.... Does anybody know in which format im supposed to send the AT ? (ordinary String, Bytes, Char???)
yes it works with hyperterminal..
Thank you.
(btw once I got the number 64 and 85 responded. whats that??)
--
Posted: 2004-01-03 07:06:37
Edit :
Quote
you should have a chat with robert_o who is developing something similar in
this thread by the sounds of it
--
Posted: 2004-01-03 07:22:39
Edit :
Quote
Quote:
On 2004-01-03 07:22:39, masseur wrote:
you should have a chat with robert_o who is developing something similar in
this thread by the sounds of it
Thx, I will!
--
Posted: 2004-01-03 14:19:16
Edit :
Quote
The Modem in T610 should respond with OK when you send the chars AT
You need to create as serial connection say 9600 8 N 1 etc. and send out the chars AT to the serial port and then read back should be OK. If this works move on from there.
If nothing comes back, check port no, speed etc.
[ This Message was edited by: simpsons on 2004-01-03 14:51 ]
--
Posted: 2004-01-03 15:50:07
Edit :
Quote
Quote:
On 2004-01-03 15:50:07, simpsons wrote:
The Modem in T610 should respond with OK when you send the chars AT
You need to create as serial connection say 9600 8 N 1 etc. and send out the chars AT to the serial port and then read back should be OK. If this works move on from there.
If nothing comes back, check port no, speed etc.
[ This Message was edited by: simpsons on 2004-01-03 14:51 ]
Thank you for your help but you didnt say anything useful. What you said, I already know. I said it works in hyperterminal and I know what it responds when sending "AT". But in WHICH format should I send the command???
--
Posted: 2004-01-03 15:59:39
Edit :
Quote
Serial comms is based on "chars" being sent back and forth. Eg. (8 bits = 1 char etc.) It is posible to send strings depending on what level language you are writing in.
At a low level the hardware need 8bits of data that is serialised depending on the 8 N 1 format set etc.
Not sure I understand what you want to know / Can you provide more inform on language or functions you are using ?
[ This Message was edited by: simpsons on 2004-01-03 15:05 ]
--
Posted: 2004-01-03 16:04:08
Edit :
Quote
hello again!
Ok, so i'll send char[]? Im using C# with a third party serial comm. Thinking of switching to MSComm though cuz I cant make it work now.
Or i'll try JAVA with its javax.comm classes
Its a simple method, mySerialPort.write("AT"); -->nothing happends, I just get a number back (64)..
--
Posted: 2004-01-03 16:43:22
Edit :
Quote
You send a string of 8 bit chars, yes, and end each with an \r\n or at least \n. You should then get back either an OK, ERROR or if it's a status request, the results of that request plus OK. It works just like any other modem.
--
Posted: 2004-01-03 17:30:59
Edit :
Quote
OK... Do remember that the function write to serial is probally just that WRITE. (it may return an error code indicating sucess or not etc.)
You must have some form of loop running to read back chars from the UART as it may not read back additonal chars untill you read the char from the UART, hencing indicating that it can take another char from the 610 .
This may be the problem?
--
Posted: 2004-01-03 18:09:34
Edit :
Quote
thank you all for your help. i still didn't manage to send a d*mn thing to it! lol
I wish someone had a source code for the connection to a mobile... in any language..
--
Posted: 2004-01-04 19:11:16
Edit :
Quote
New Topic
Reply