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.

Definition

Namespace: SmallEarthTech.AntPlus.DeviceProfiles
Assembly: SmallEarthTech.AntPlus (in SmallEarthTech.AntPlus.dll) Version: 4.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
C#
public Task<MessagingReturnCode> SetHRFeature(
	bool applyGymMode,
	bool gymMode
)

Parameters

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.

Return Value

TaskMessagingReturnCode
Status of the request.

Remarks

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.

See Also