简体   繁体   中英

Connect multiple devices via Bluetooth on Android (Multiple BLE connections)

我正在尝试通过蓝牙(作为连接平台)在android设备上创建Client-Server连接网络。一个设备充当Server,其他4个或五个设备充当Clients。我尝试了git-hub存储库中的许多示例不是多连接实现。这是我尝试通过蓝牙进行多连接的链接https://github.com/arissa34/Android-Multi-Bluetooth-Library

First of all, you have to notice this library is for socket communication using RFCOMM protocol which is not Low Bluetooth https://en.wikipedia.org/wiki/List_of_Bluetooth_protocols

If you want help, I need more informations, as your android version, a piece of your code and your logs as well.

Moreover, you can see this library in work on this game https://play.google.com/store/apps/details?id=com.drgames.domino Using one server and 3 clients in bluetooth.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM