简体   繁体   English

Android上的蓝牙 - 是否可以同时连接到多个蓝牙设备?

[英]Bluetooth on android - Is it possible to connect to more than one bluetooth device at the same time?

I am trying to connect to more than 1 bluetooth device at the same time, But I am getting the next error: 我正在尝试同时连接到多个蓝牙设备,但我收到了下一个错误:

java.io.IOException: Host is down

at the second time I am trying to connect : 在我第二次尝试连接时:

 private final BluetoothSocket mmSocket;
  mmSocket.connect();

Is it possible to connect to more than one bluetooth device at the same time? 是否可以同时连接多个蓝牙设备?

Yep, normally up to 8 devices can exist in a (what's called) piconet. 是的,通常最多8个设备可以存在于(所谓的)微微网中。 Basically one master may communicate with up to 7 other devices. 基本上,一个主设备可以与多达7个其他设备通信。 That's how the Bluetooth protocol is specified. 这就是指定蓝牙协议的方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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