In my Android application I can accept connection request sent from BT device(SPP profile). those BT devices sends connection request periodically and application accept it.
But now my problem is, I can pair with multiple device but wants to communicate with paired devices periodically. so i want clarification on this front.
If application communicate with one device and at same time another device sends connection request then can i accept this connection request through my App using BluetoothServerSocket? How?
In my Android application I can accept connection request sent from BT device(SPP profile).
Share
Bluetooth Server can server up to 7 different bluetooth clients, you need to create bluetooth server socket in a separate thread and every time a client connects , send that client to a new thread , and return to listening state.
you can use the following pseudocode