nRF51 SDK - S110 SoftDevice
|
The two examples included here (Advertisement Beacon and Scanner Beacon) illustrate how to use the Radio Timeslot API of the S110.
This folder contains an advertiser module that is shown in a heart rate sensor example and that advertises beacon data while in a connection.
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_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_peripheral\experimental_ble_app_multiactivity_beacon\hrs_advertiser
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 LED 2 is lit (it is cleared on a disconnect event).
The name of the example is experimental_ble_app_hrs_scanner_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_peripheral\experimental_ble_app_multiactivity_beacon\hrs_scanner