HeartRateSetHRFeature Method
Updates the heart rate sensor feature. The HR Feature command page is sent from a display to a heart rate monitor when the display
wants to update the enabled status of a HR feature.
Namespace: SmallEarthTech.AntPlus.DeviceProfilesAssembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+4009252dff1e4f6bcda36b6b0041486552134bc5
public Task<MessagingReturnCode> SetHRFeature(
bool applyGymMode,
bool gymMode
)
Public Function SetHRFeature (
applyGymMode As Boolean,
gymMode As Boolean
) As Task(Of MessagingReturnCode)
public:
Task<MessagingReturnCode>^ SetHRFeature(
bool applyGymMode,
bool gymMode
)
member SetHRFeature :
applyGymMode : bool *
gymMode : bool -> Task<MessagingReturnCode>
- applyGymMode Boolean
- if set to true apply gym mode. Displays cannot rely on this field as older sensors do not decode it. The Gym Mode bit shall be set to the last received value from the capabilities page if Apply Gym Mode is set to false.
- gymMode Boolean
- if set to true gym mode is enabled.
TaskMessagingReturnCodeStatus of the request.
Gym mode helps a single group receiver running a continuous scan differentiate between many
transmitting heart rate monitors; a common problem encountered in gym-based group fitness
applications.This is achieved by transmitting data page 2 as a main data page.