Skip to content

Commit

Permalink
Merge pull request #225 from RADAR-base/release-0.5.10
Browse files Browse the repository at this point in the history
Release 0.5.10
  • Loading branch information
blootsvoets committed Jun 16, 2020
2 parents cd7d150 + e39bb23 commit df9f13b
Show file tree
Hide file tree
Showing 26 changed files with 641 additions and 296 deletions.
41 changes: 41 additions & 0 deletions commons/passive/garmin/garmin_generic_accelerometer.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"namespace":"org.radarcns.passive.garmin",
"type":"record",
"name":"GarminGenericAccelerometer",
"doc":"Data from accelerometer sensor.",
"fields":[
{

"name":"time",
"type":"double",
"doc":"Device timestamp in UTC (s)."
},
{

"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},

{
"name":"x",
"type":"float",
"doc":"Acceleration in the x-axis (g)."
},
{
"name":"y",
"type":"float",
"doc":"Acceleration in the y-axis (g)."
},
{
"name":"z",
"type":"float",
"doc":"Acceleration in the z-axis (g)."
},
{
"name":"samplingRate",
"type" : "int",
"doc": "Sampling rate (samples per second)."
}
]
}
49 changes: 49 additions & 0 deletions commons/passive/garmin/garmin_generic_ascent.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"name":"GarminGenericAscent",
"type":"record",
"namespace":"org.radarcns.passive.garmin",
"doc":"Provides the real time Ascent data i.e Floor related data.",
"fields":[
{
"name":"time",
"type":"double",
"doc":"Last updated time."
},
{
"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},
{
"name":"floorsClimbed",
"type":"int",
"doc":"Number of floors climbed since midnight as computed by Garmin."
},
{
"name":"floorsDescended",
"type":"int",
"doc":"Number of floors descended since midnight as computed by Garmin."
},
{
"name":"metersClimbed",
"type":"int",
"doc":"Total number of distance climbed in meters since midnight as computed by Garmin."
},
{
"name":"metersDescended",
"type":"int",
"doc":"Total number of distance descended in meters since midnight as computed by Garmin."
},
{
"name":"floorsClimbedGoal",
"type":"int",
"doc":"Floors climbed goal."
},
{
"name":"metersClimbedGoal",
"type":"int",
"doc":"Meters climbed goal."
}

]
}
30 changes: 30 additions & 0 deletions commons/passive/garmin/garmin_generic_calories.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name":"GarminGenericCalories",
"type":"record",
"namespace":"org.radarcns.passive.garmin",
"doc":"Gives the information about the calories consumed.",
"fields":[

{
"name":"time",
"type":"double",
"doc":"Last updated time."
},
{
"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},
{
"name":"activeCalories",
"type":"int",
"doc":"Active calorie numbers are what is burned throughout the day only while doing physical, non-sedentary, activity such as walking or working out. Garmin devices calculate active calories based on the activity level, type of activity, age, height, weight, gender, and heart rate (if available)."
},
{
"name":"totalCalories",
"type":"int",
"doc":"Total calories."
}

]
}
41 changes: 41 additions & 0 deletions commons/passive/garmin/garmin_generic_device_info.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name":"GarminGenericDeviceInfo",
"type":"record",
"namespace":"org.radarcns.passive.garmin",
"doc":"Device information for Garmin devices.",
"fields":[
{
"name":"time",
"type":"double",
"doc":"Last updated time."
},
{
"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},

{"name": "connectionState", "type": {
"name": "State",
"type": "enum",
"doc": "Possible connection state values - UNKNOWN, DISCONNECTED, CONNECTING, CONNECTED.",
"symbols": ["DISCONNECTED", "CONNECTING", "CONNECTED" , "UNKNOWN"]
}, "doc": "Garmin device connection state.", "default": "UNKNOWN"},

{
"name":"deviceModel",
"type":"string",
"doc":"Device model. Supported model are listed on Garmin site - https://developer.garmin.com/health-sdk/overview/."
},
{
"name":"firmwareVersion",
"type":"int",
"doc":"Firmware version of Garmin device."
},
{
"name":"friendlyName",
"type":"string",
"doc":"Friendly name of the device."
}
]
}
48 changes: 48 additions & 0 deletions commons/passive/garmin/garmin_generic_heartrate.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name":"GarminGenericHeartRate",
"type":"record",
"namespace":"org.radarcns.passive.garmin",
"doc":"Provides the data about real time Heart rate data.",
"fields":[

{
"name":"time",
"type":"double",
"doc":"Last updated time."
},
{
"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},

{
"name":"heartRate",
"type":"int",
"doc":"Heart rate (bpm)."
},
{
"name":"restingHeartRate",
"type":"int",
"doc":"Resting heart rate (bpm)."
},
{
"name":"dailyHighHeartRate",
"type":"int",
"doc":"Daily high heart rate (bpm). High and low heart rate are simply the highest and lowest individual HR values recorded daily up to a given point, when the RestingHeartRate message is written. Resting heart rate itself is calculated algorithmically based on recordings taken during periods of sustained low motion. 'Daily' values provided by the SDK are always reset at midnight of the local user-day."
},
{
"name":"dailyLowHeartRate",
"type":"int",
"doc":"Daily low heart rate (bpm). High and low heart rate are simply the highest and lowest individual HR values recorded daily up to a given point, when the RestingHeartRate message is written. Resting heart rate itself is calculated algorithmically based on recordings taken during periods of sustained low motion. 'Daily' values provided by the SDK are always reset at midnight of the local user-day."
},

{"name": "heartRateSource", "type": {
"name": "Source",
"type": "enum",
"doc": "Possible connection state values - UNKNOWN (heart rate is recorded with value for source that is not understood), NO_SOURCE (Heart rate is received but no source is recorded), HR_STRAP(hear rate is read from heart rate strap), OHR_NO_LOCK (Indicates that the reading is from watch with optical heart rate sensor not locked), OHR_LOCKED (Indicates that the reading is from watch with optical heart rate sensor locked).",
"symbols": [ "UNKNOWN", "NO_SOURCE", "HR_STRAP", "OHR_NO_LOCK" , "OHR_LOCKED"]
}, "doc": "Source from where the heart rate is measured.", "default": "UNKNOWN"}

]
}
26 changes: 26 additions & 0 deletions commons/passive/garmin/garmin_generic_heartratevariability.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name":"GarminGenericHeartRateVariability",
"type":"record",
"namespace":"org.radarcns.passive.garmin",
"doc":"Provides the variation in the time interval between consecutive heartbeats.",
"fields":[


{
"name":"time",
"type":"double",
"doc":"Last updated time."
},
{
"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},
{
"name":"heartRateVariability",
"type":"int",
"doc":"Heart rate variability received from Garmin device in milliseconds."
}

]
}
43 changes: 43 additions & 0 deletions commons/passive/garmin/garmin_generic_intensity.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name":"GarminGenericIntensity",
"type":"record",
"namespace":"org.radarcns.passive.garmin",
"doc":"Intensity data from Garmin device. Garmin devices compare your heartrate data to determine intensity level. It compares resting heartrate with current heartrate to determine Vigorous or Moderate intensity level. No specific ranges or algorithm specified.",
"fields":[
{
"name":"time",
"type":"double",
"doc":"Last updated time."
},
{
"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},
{
"name":"totalDailyMinutes",
"type":"int",
"doc":"Total Daily Minutes. Garmin devices accumulate intensity minutes throughout the day. This is what is available for current total daily minutes. This value indicates intensity minutes accumulated till that point of the day."
},
{
"name":"dailyModerateMinutes",
"type":"int",
"doc":"Daily Moderate Minutes. Garmin devices accumulate intensity minutes throughout the day. This is what is available for current total daily minutes. This value indicates intensity minutes accumulated till that point of the day."
},
{
"name":"dailyVigorousMinutes",
"type":"int",
"doc":"Daily Vigorous Minutes. Garmin devices accumulate intensity minutes throughout the day. This is what is available for current total daily minutes. This value indicates intensity minutes accumulated till that point of the day."
},
{
"name":"totalWeeklyMinutes",
"type":"int",
"doc":"Total Weekly Minutes."
},
{
"name":"weeklyGoal",
"type":"int",
"doc":"Weekly Goal."
}
]
}
24 changes: 24 additions & 0 deletions commons/passive/garmin/garmin_generic_respiration.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name":"GarminGenericRespiration",
"type":"record",
"namespace":"org.radarcns.passive.garmin",
"doc":"Provides the data about real time Respiration data.",
"fields":[
{
"name":"time",
"type":"double",
"doc":"Last updated time."
},
{
"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},
{
"name":"respirationRate",
"type":"int",
"doc":"Respiration rate in BPM."
}

]
}
23 changes: 23 additions & 0 deletions commons/passive/garmin/garmin_generic_spo2.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name":"GarminGenericSpo2",
"type":"record",
"namespace":"org.radarcns.passive.garmin",
"doc":"Provides the real time SpO2 data.",
"fields":[
{
"name":"time",
"type":"double",
"doc":"Last updated time."
},
{
"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},
{
"name":"spO2",
"type":"int",
"doc":"SpO2 reading as received from Garmin device in %."
}
]
}
29 changes: 29 additions & 0 deletions commons/passive/garmin/garmin_generic_steps.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name":"GarminGenericSteps",
"type":"record",
"namespace":"org.radarcns.passive.garmin",
"doc":"Steps provides the data about real time steps since midnight.",
"fields":[
{
"name":"time",
"type":"double",
"doc":"Last updated time."
},
{
"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},
{
"name":"stepCount",
"type":"int",
"doc":"Step count since midnight as calculated by Garmin device. 'Daily' values provided by the SDK are always reset at midnight of the local user-day."
},
{
"name":"stepGoal",
"type":"int",
"doc":"Step goal per day."
}

]
}
24 changes: 24 additions & 0 deletions commons/passive/garmin/garmin_generic_stress.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name":"GarminGenericStress",
"type":"record",
"namespace":"org.radarcns.passive.garmin",
"doc":"Provides the data about real time Stress data. When using the stress level feature, the device uses heart rate data to determine the interval between each heart beat. The variable length of time in between each heart beat is regulated by the body's autonomic nervous system. The less variability between beats equals higher stress levels, whereas the increase in variability indicates less stress.",
"fields":[
{
"name":"time",
"type":"double",
"doc":"Last updated time."
},
{
"name":"timeReceived",
"type":"double",
"doc":"Device receiver timestamp in UTC (s)."
},
{
"name":"stressScore",
"type":"int",
"doc":"Stress score as calculated by Garmin device. Value is in between 1 to 100. where 1 is a very low stress state and 100 is a very high stress state."
}

]
}
Loading

0 comments on commit df9f13b

Please sign in to comment.