Java and Radio Signal I/O

Hi,

A friend of mine bought a model car, which can be controlled using a remote control, and he wanted to know whether it would be possible to create some software application so that the car could be controlled from a computer.

I am definitely sure it is possible, however I have no practical idea how. Basically I know that I need to build some sort of code to interface with some sort of Radio IO device, which I could plug to my computer via the USB.

Now with the Radio IO device I (theoretically) can connect with the model car! However the model car does not have an Address (like an IP Address), and therefore I definitely will not be able to use normal Sockets.

I have done some research on the Internet and my conclusion is that I need to develop some C code that manage the Radio IO device and then Java wraps this C module. Is this right however? Is this the only way to do this? Or there is already some Java API for this?

tx

[977 byte] By [tx56ma] at [2007-11-27 4:23:34]
# 1
it would be possible to do it directly from Java if the "radio IO device" plugs into the COM port of your computer. Java has a comm API to communicate with the COM port. http://java.sun.com/products/javacomm/
gimbal2a at 2007-7-12 9:31:12 > top of Java-index,Java Essentials,Java Programming...
# 2

> it would be possible to do it directly from Java if

> the "radio IO device" plugs into the COM port of your

> computer. Java has a comm API to communicate with the

> COM port.

>

> http://java.sun.com/products/javacomm/

That is very good to know :) and actually makes the development of such an application much simpler :) I will first read on such API before asking more questions. However I am sure that will make my life easier.

Thank You,

tx

tx56ma at 2007-7-12 9:31:12 > top of Java-index,Java Essentials,Java Programming...
# 3
I read the first few pages about 'javax.comm' and found out that it is not really multiplatform. Only works on Solaris platform it says.tx
tx56ma at 2007-7-12 9:31:12 > top of Java-index,Java Essentials,Java Programming...