I'm trying to write a J2ME Midlet that can communicate to a server over TCP/IP sockets. The media between the handset and the server will be bluetooth.
Correct me if I'm wrong here:-
I believe The midlet has to discover (bluetooth) the server and join its PAN. Then it can use the standard TCP/IP sockets to communicate to the server ?
I have seen sample j2me code to discover bluetooth. I have seen j2me socket samples as well. I'm just wondering can I just start calling socket functions right after bluetooth discovery/connect ? Or should I do something in between to initialize TCP/IP over bluetooth ?
Is there a sample client code that you guys can pointme to ?
Or the sequence of client side calls also would help.
I'm using J2ME on my client side.
thanks
~b

Reply With Quote


