![]() |
nRF5 SDK
v12.3.0
|
Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
This module simulates data for the SDM Transmitter. The API for this module is available here: ANT SDM simulator
The module uses the Sensor Data Simulator to simulate automatic changes of the cadence value.
Use the following command to initialize the module:
If you want the cadence to be changed automatically, add the following statement:
If you want to be able to change the cadence manually, add the following statement:
Periodically call the SDM 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 cadence manually: