nRF5 SDK v11.0.0
Experimental: Multi Activity Example
This example requires one of the following SoftDevices: S130, S132

Important: Before you run this example, make sure to program the SoftDevice.

The two examples included here (Advertisement Beacon and Scanner Beacon) illustrate how to use the Radio Timeslot API of the SoftDevice.

This folder contains an advertiser module that is shown in a heart rate sensor example and that advertises beacon data while in a connection.

Note
This application is not power optimized!

Advertisement Beacon

The advertiser beacon module illustrates using periodic timeslots on the radio when the SoftDevice is running. The example using the advertiser beacon is based on Heart Rate service example and starts advertising as a beacon when in a connection.

You can find the source code and project file of the example in the following folder: <InstallFolder>\examples\ble_peripheral\experimental_ble_app_multiactivity_beacon\hrs_advertiser

Scanner Beacon

The scanner beacon module illustrates using as much as possible of available radio time when the SoftDevice is running. The example using the advertiser beacon is based on Heart Rate service example and scans for advertising beacon at all times. If a beacon is found, indicated by the call to beacon_evt_handler, and if the major, minor and rssi values matches the expected one, the BSP_INDICATE_ALERT_3 is indicated (the alert indication is cleared when the device enters sleep mode, or leaves a connection).

You can find the source code and project file of the example in the following folder: <InstallFolder>\examples\ble_peripheral\experimental_ble_app_multiactivity_beacon\hrs_scanner


Documentation feedback | Developer Zone | Updated