Connect one bluetooth device to multiple devices

I understand that several bluetooth devices can be connected to the main device.

My question is simple: can one bluetooth chip with one MAC address connect to another Bluetooth device as multiple clients?

EDIT : Basically, you can accept multiple bluetooth clients with the same MAC address, if not, can the client computer connect using different erroneous addresses?

For example, I am writing software that emulates wiimote for Wii / WiiU. I hope to emulate more than one wiimote using one bluetooth bluetooth dongle.

If you want to hack C or C ++ code, you will be prompted. Preferred for windows if they are platform dependent. Please write in any answers.

+6
source share
2 answers

Bluetooth HID Spec v1.0

4.4 Multiple devices per host / multiple hosts per device

Bluetooth HIDs should not establish any restrictions on the number of devices per host (up to seven simultaneous active devices allowed on a piconet). All trusted devices (devices that have either been authenticated or do not have the necessary security procedures) must be able to simultaneously connect to the host, if the host so desires. For example, multiple Bluetooth mice and keyboards are allowed. The behavior in this case should be the same as for a USB drive; that is, input from all devices is allowed, and data streams are logically combined together.

Likewise, one HIDDEN SATELLITE Bluetooth can establish a connection or have its address known by several hosts. However, if he declared himself a virtual cable, it is imperative that the device supports only one host connection and only one control channel and one L2CAP interrupt channel for this host at a time (see the SDP HIDVirtualCable attribute). If the device does not declare itself actually connected to the cable, it is still recommended that the device support only one host connection at a time, that is, no more than one SDP channel, controls and interrupts can be opened at the same time. HID Bluetooth, which implements the Virtual Cable feature, must have sufficient resources to remember at least two hosts, and four hosts are recommended to facilitate subsequent reconnection without entering a key.

+1
source

I'm not sure what you are asking for, but:

The bluetooth network is called a piconet; the piconet must have a minimum number of two devices and a maximum of 8 devices (7 slaves and 1 master). A device can be a member of one or more piconets, but it can only be a master of one of them, this device is called a bridge because it mixes more piconets in a scatternet.

Therefore, you can connect one bluetooth chip with one MAC address to other bluetooth devices, but I think that you cannot connect the same device A to several clients to the same Master M, because when Master M starts the request phase A will respond with its MAC address and its clock offset only once, later during the page phase M and A will establish one connection.

0
source

Source: https://habr.com/ru/post/986461/


All Articles