Managing Multiple Bluetooth Connections in Android

I'm new here. I'm implementing an Android Android project as part of my scientists. I have looked at the example of Bluetooth chat provided by Google, but I am stuck at the connection establishment step.

My project contains a server and several clients (less than 7). Client and server need to exchange data. I understand that I need multiple UUIDs to accept multiple socket connections at the same time, which is what I want. However, what they failed to understand

  • How to identify on the server the request from each client and send the correct answers to each client?

  • Whether to implement the "Connect Thread", "Accept Thread", "Connected Thread" classes as shown in the Bluetooth chat example.

+3
android bluetooth


source to share


No one has answered this question yet

Check out similar questions:

3606
Close / hide Android soft keyboard
3295
Why is the Android emulator so slow? How can we speed up the development of an Android emulator?
3288
Correct use cases for Android UserManager.isUserAGoat ()?
2609
Is there a unique identifier for an Android device?
2510
How to persist android activity state by persisting instance state?
2097
Is there a way to run Python on Android?
1844
What is "Context" on Android?
831
How to manage startActivityForResult on Android?
1
Multiple Bluetooth connections for Android
0
Android and Bluetooth: Multiple connections and two-way communication



All Articles
Loading...
X
Show
Funny
Dev
Pics