This module simulates data for the HRM Transmitter. The API for this module is available here: ANT HRM simulator
The module uses the Sensor Data Simulator to simulate automatic changes of the heart rate value.
Use the following command to initialize the module:
If you want the heart rate to be changed automatically, add the following statement:
If you want to be able to change the heart rate manually, add the following statement:
Periodically call the HRM 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 heart rate manually: