This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to switch between connection handles when nrf52 is connected to multiple centrals?

Hi,

I am using nRF52 and SDK13 with SoftDevice 132 v 4.0.2 which is now supporting multi-peripheral connections. I am using multi-peripheral example for reference. In that i have connected 4 android devices to nRF52. I want to send data from nRF52 to each of connected device. So i think I need to switch between connection handles to send data..How to achieve this?

Parents
  • Well if the data is just a readable characteristic then there's nothing to do, you set the value, any of the connected centrals can read. if you're talking about something like notifications where you send data out proactively, those calls all take a connection handle, so just put in the connection handle of the device you want to send to.

Reply
  • Well if the data is just a readable characteristic then there's nothing to do, you set the value, any of the connected centrals can read. if you're talking about something like notifications where you send data out proactively, those calls all take a connection handle, so just put in the connection handle of the device you want to send to.

Children
Related