Hi, I’m try to connection 3 master to 1 Peripheral, but when i use Simple Peripheral, when 1 master connect to Peripheral, it’s not play Advertise again for other master connect to it, Have must i set any ?
if a central device is connected to a peripheral the advertising stops on the peripheral device. This is the normal and desired behaviour of BLE. Have a look at this thread: https://stackoverflow.com/questions/11355236/two-centrals-one-peripheral
how can connect 3 4 device central to peripheral or opposite ?
What do you mean by “opposite”?
Here are some ideas how to solve your problem:
- You could try to restart advertising after each successful connection of a central to a peripheral device
- You could use the “advertising data payload” to send values to multiple central devices as described here: https://learn.adafruit.com/introduction-to-bluetooth-low-energy?view=all
But be careful, it is a broadcast topology, so every central device can receive these values.
- You could have a look at this example from nrf5 SDK: http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk%2Fdita%2Fsdk%2Fnrf5_sdk.html