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

SoftDevice S140 multiple centrals single peripheral

I am using softDevice S140 with SDK 14.2.0_17b948a, working with the ble_app_blinky.

I need to be able to connect one peripheral device to multiple central devices (peripheral device serves data to the central devices).  According to the Bluetooth Spec, this should be possible, but from what I am reading in the documentation and here on the forum, it may not yet be supported by the SoftDevice.

Regardless, I set NRF_SDH_BLE_PERIPHERAL_LINK_COUNT to 2 in the sdk_config.h file and add advertising_start() to my error handler to be called when a connection is established.  When advertising_start() calls sd_ble_gap_adv_start() an error "18" is generated.  Is this because the softDevice doesn't support connectable advertisements while connected?

Related