Skip to content

Commit

Permalink
Merge pull request #3744 from swissalpine/patch-1
Browse files Browse the repository at this point in the history
Allow the reception of heart rate data
  • Loading branch information
MilosKozak authored Jan 15, 2025
2 parents ace9f59 + 3e5acfa commit 746e310
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ class GarminPlugin @Inject constructor(
/** Returns glucose values in Nightscout/Xdrip format. */
@VisibleForTesting
fun onSgv(uri: URI): CharSequence {
receiveHeartRate(uri)
val count = getQueryParameter(uri, "count", 24L)
.toInt().coerceAtMost(1000).coerceAtLeast(1)
val briefMode = getQueryParameter(uri, "brief_mode", false)
Expand Down

0 comments on commit 746e310

Please sign in to comment.