Important: Before you run this example, make sure to program a SoftDevice.
The BLE Multi-link Central application together with the BLE Multi-link Peripheral application tests the multi-link functionality of the S120 and S130 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 (choose if you want to run the example with an S120 or an S130 SoftDevice): The name of the example is ble_app_multilink_central_SoftDevice_Board, where SoftDevice is the SoftDevice that you are using and Board is the supported board. 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>\examples\ble_central\ble_app_multilink_central
BLE Multi-link Peripheral (choose if you want to run the example with an S110 or an S130 SoftDevice): The name of the example is ble_app_multilink_peripheral_SoftDevice_pca10028, where SoftDevice is the SoftDevice that you are using. 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>\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 - in addition to those defined in BSP BLE Button Assignments:
UART logging can be used instead of the LEDs.
Test the BLE Multi-link Example application by performing the following steps: