Implementing I2C on Siemens TC65

Hi,

I need an assistance with I2c protocol, just some basic questions.

Do you need connector object, and connection to start and control I2C, or all control is done by AT commands ?

If You need connector and connection, what type of connection should I use.

And if it is all done by AT commands ... How do you control input stream only by AT commands ?!

An example code would be welcome, if not any help is appreciated.

Message was edited by:

zutikombi

[502 byte] By [zutikombia] at [2007-11-27 7:10:32]
# 1
You'll need to use the at command's to do I2C on the TC65. I have never done it, so I can't help you with any code samples, but the at command pdf has some examples that should help.
deepspacea at 2007-7-12 19:02:04 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

AT commands require (example in Siemens TC65 AT command set) terminal program. (I don't have it in Java) ...

After issuing command AT^SSPI an stream connection is established. Send/reicieve until # sign occures ...

The true question is how to make stream readable in Java program ?!, probably trough connector and connection ... But how to configure it for I2C comunication ...

zutikombia at 2007-7-12 19:02:04 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
You can simply use the ATCommand api to do atcommand in java. See api docs.
deepspacea at 2007-7-12 19:02:04 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
I don't have a problem on issuing AT command, I have problem getting the response. API for AT command responseAt response listenerAT listener- both doesn't do the trick
zutikombia at 2007-7-12 19:02:04 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
What kind of a problem do you have?
deepspacea at 2007-7-12 19:02:04 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
I didn't catch that AT command object can be handled as input / output stream ...Now all is OK ...Now i can read and send to I2C with no problem ...
zutikombia at 2007-7-12 19:02:04 > top of Java-index,Java Mobility Forums,Java ME Technologies...