Skip to content

Commit

Permalink
Merge branch 'dev' into pair-state
Browse files Browse the repository at this point in the history
  • Loading branch information
yatharthranjan authored Mar 13, 2024
2 parents 7726b9b + 2d9d1e4 commit 6c0e919
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
11 changes: 11 additions & 0 deletions commons/connector/fitbit/fitbit_intraday_spo2.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"namespace": "org.radarcns.connector.fitbit",
"type": "record",
"name": "FitbitIntradaySpo2",
"doc": "Intra day spo2 data from fitbit device.",
"fields": [
{ "name": "time", "type": "double", "doc": "Device timestamp in UTC (s)." },
{ "name": "timeReceived", "type": "double", "doc": "Time that the data was received from the Fitbit API (seconds since the Unix Epoch)." },
{ "name": "spo2", "type": "float", "doc": "Percentage value of SpO2 in the bloodstream. SpO2 data is collected when the user is in an extended period of sleep (at least 3 hours of quality sleep). Spo2 values are calculated on a 5-minute exponentially-moving average and provided at the end of a period of sleep."}
]
}
2 changes: 1 addition & 1 deletion java-sdk/buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object Versions {
const val avro = "1.11.1"
const val jackson = "2.15.2"
const val argparse = "0.9.0"
const val radarJersey = "0.11.0-SNAPSHOT"
const val radarJersey = "0.11.1-SNAPSHOT"
const val junit = "5.10.0"
const val confluent = "7.5.0"
const val kafka = "$confluent-ce"
Expand Down
6 changes: 6 additions & 0 deletions specifications/connector/radar-fitbit-connector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ data:
- doc: Skin temperature
topic: connect_fitbit_skin_temperature
value_schema: .connector.fitbit.FitbitSkinTemperature
- doc: Spo2 or Blood oxygen saturation
topic: connect_fitbit_intraday_spo2
value_schema: .connector.fitbit.FitbitIntradaySpo2
- doc: Resting heart rate
topic: connect_fitbit_resting_heart_rate
value_schema: .connector.fitbit.FitbitRestingHeartRate

0 comments on commit 6c0e919

Please sign in to comment.