iPAQ H3970 with Java and Bluetooth?
843849Jul 7 2005 — edited Jul 13 2005Hello everybody.
I am trying to implement a client/server model.
The server is running at PC side and the client application run at iPAQ H3970 PDA . PocketPC 2002 Prem is running as O/S(or Windows CE 3.0)
The iPAQ supports Insignia Jeode VM 1.2
Both devices(PC(as USB adapter) and PDA(integrated)) have Bluetooth(in a H/W manner).
The client/server application were written using Java Socket libraries.
The applications interact(send/receive data) properly if the PDA connects to PC via USB cable.
However, if I establish a Bluetooth connection between PDA and PC and run the applications, the client can not connect to the server.
The client connects as following:
client=new Socket(InetAddress.getByName("160.40.60.55"),23);
where 160.40.60.55 is the IP of the server(PC side).
I have set the client's IP as 160.40.60.56 and both PC and PDA belong to the same subnet=255.255.255.0
I tried also another ports (e.g 2000,5000 etc).
Via cable are working properly but via Bluetooth environment no.
Does Jeode Virtual Machine supports Socket Library?
Can I use Sockets in order to establish Bluetooth connection?
Or do I have to connect the client to a COM port(the virtual Bluetooth COM port)?
Is any additional java library that I have to use also?
Do I have to install and use the aveLink (ativan for J2SE) in order to build the server side(PC) and client's side(iPAQ)?
Can I use the Jeode 1.2 VM with aveLink?
I really appreciate any help.
Thank you for your time.