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

Beacon advertiser/scanner using sd_radio_request project

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

The source code and project file can be found in the <InstallFolder>\Nordic\nrf51822\Board\nrf6310\s110\experimental\ble_app_multiactivity_beacon folder.

This folder contains an advertiser module which is shown in a heart rate sensor example and which advertise 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.

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, lit the LED 2 (which is cleared on a disconnect event).