nRF51 SDK - S120 SoftDevice
|
The BLE Multi-link Central application together with the BLE Multi-link Peripheral application tests the multi-link functionality of the S120 SoftDevice. The BLE Multi-link Example demonstrates how one central device can connect to multiple peripheral devices.
On startup, the peripheral devices will start advertising. Once connected to the central, pressing button 1 on the peripheral changes the state of the peripheral and a corresponding LED on the central. When multiple peripherals are connected, each peripheral is assigned one LED by the central depending on the order in which the peripherals got connected. For example, LED 1 will be assigned to the peripheral that connects first. LED 2 will be assigned to the peripheral that connects second and so on.
BLE Multi-link Central: The name of the example for PCA10028 is ble_app_multilink_central_s120_pca10028, and for PCA10031 it is ble_app_multilink_central_s120_pca10031. If you are not using the Keil Pack Installer, you can find the source code and project file of the example in the following folder: <InstallFolder>\Nordic\nrf51\examples\ble_central\ble_app_multilink_central
BLE Multi-link Peripheral: The name of the example is ble_app_multilink_peripheral_s110_pca10028. If you are not using the Keil Pack Installer, you can find the source code and project file of the example in the following folder: <InstallFolder>\Nordic\nrf51\examples\ble_central\ble_app_multilink_peripheral
The BLE Multi-link Example requires at least three boards to verify that more than one link is active. The central device can have a maximum of 8 concurrent connections to peripheral devices.
Button assignments peripheral:
UART logging can be used instead of the LEDs.
Test the BLE Multi-link Example application by performing the following steps: