nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Experimental: Multi Activity Example

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

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.

The name of the example is experimental_ble_app_hrs_advertiser_s130_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>\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).

The name of the example is experimental_ble_app_hrs_scanner_s130_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>\examples\ble_peripheral\experimental_ble_app_multiactivity_beacon\hrs_scanner