Skip to content

Exclude SENSOR_HEARTRATE for SDK 3.2+ - #13

Open
cagnulein wants to merge 1 commit into
mainfrom
claude/exclude-heart-onboard-option-1Ei0N
Open

Exclude SENSOR_HEARTRATE for SDK 3.2+#13
cagnulein wants to merge 1 commit into
mainfrom
claude/exclude-heart-onboard-option-1Ei0N

Conversation

@cagnulein

Copy link
Copy Markdown
Owner
  • Created properties.xml with excludeExternalHR boolean property (default: false)
  • Created settings.xml UI for the new setting
  • Updated strings.xml with setting titles and descriptions
  • Modified QZCompanionGarminView.mc to read the property and conditionally enable/disable SENSOR_HEARTRATE
  • For SDK 3.2+: when enabled, only SENSOR_ONBOARD_HEARTRATE is used (SENSOR_HEARTRATE excluded)
  • For SDK < 3.2: always uses SENSOR_HEARTRATE (onboard not available)

- Created properties.xml with excludeExternalHR boolean property (default: false)
- Created settings.xml UI for the new setting
- Updated strings.xml with setting titles and descriptions
- Modified QZCompanionGarminView.mc to read the property and conditionally enable/disable SENSOR_HEARTRATE
- For SDK 3.2+: when enabled, only SENSOR_ONBOARD_HEARTRATE is used (SENSOR_HEARTRATE excluded)
- For SDK < 3.2: always uses SENSOR_HEARTRATE (onboard not available)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants