![]() |
nRF5 SDK
v13.0.0
|
Choose documentation: | nRF5 SDK | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API |
This module simulates data for the BSC Transmitter. The API for this module is available here: ANT BSC simulator
The module uses the Sensor Data Simulator to simulate automatic changes of the speed and cadence values.
Use the following command to initialize the module:
If you want the speed and cadence values to be changed automatically, add the following statement:
If you want to be able to change the speed and cadence values manually, add the following statement:
Periodically call the BSC simulator in the application to prepare data for each TX event occurrence. The following snippet shows how to do this:
The following snippet shows how to change the speed and cadence values manually: