Saturday, January 25, 2014

About establish a Bluetooth C / S communication


            
Recently doing a project on Bluetooth, chat, transfer files via Bluetooth.
We all know that the Bluetooth to transfer data like Socket, one first needs to open a BluetoothServerSocket as Server, and Client side to connect. Installation of both programs is the same, should be able to as Client or Server
The question now is, Client side search visible device, and then connect to start communication.
That as there Server, how to get the connection request signal, and then open it to the server?
My idea is to set yourself visible at the time, and opening for Client Server connection, if there is no visible Client connected in an open period, closed Server, until the next time and then set to open for the foreseeable Server. < br />Are there any other ideas?
There is no such possibility is the one time in the open for the Server can also serve as Client to connect to another Server?

No comments:

Post a Comment