Skip to content

Commit

Permalink
Mobovi TicWatch schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
LIUQyou authored and danjjl committed Mar 5, 2024
1 parent 5fbfb84 commit fda7379
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 0 deletions.
12 changes: 12 additions & 0 deletions commons/passive/ticwatch/acceleration.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"namespace": "org.radarcns.passive.ticWatch",
"type": "record",
"name": "TicWatchAcceleration",
"doc": "Data from 3-axis accelerometer sensor of a Mobovi TicWatch device.",
"fields": [
{ "name": "time", "type": "double", "doc": "Device timestamp in UTC (ms)." },
{ "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)." }
]
}
10 changes: 10 additions & 0 deletions commons/passive/ticwatch/battery.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"namespace": "org.radarcns.passive.ticWatch",
"type": "record",
"name": "TicWatchBatteryLevel",
"doc": "Battery level of a TicWatch device.",
"fields": [
{ "name": "time", "type": "double", "doc": "Device timestamp in UTC (ms)." },
{ "name": "batteryLevel", "type": "float", "doc": "Battery level from 0 to 1. Note that the battery level is a rough estimate." }
]
}
12 changes: 12 additions & 0 deletions commons/passive/ticwatch/gyroscope.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"namespace": "org.radarcns.passive.ticWatch",
"type": "record",
"name": "TicWatchGyroscope ",
"doc": "Data from 3-axis gyroscope sensor of a Mobovi TicWatch device.",
"fields": [
{ "name": "time", "type": "double", "doc": "Device timestamp in UTC (ms)." },
{ "name": "x", "type": "float", "doc": "Angular velocity in the x-axis (rad/s)." },
{ "name": "y", "type": "float", "doc": "Angular velocity in the y-axis (rad/s)." },
{ "name": "z", "type": "float", "doc": "Angular velocity in the z-axis (rad/s)." }
]
}
11 changes: 11 additions & 0 deletions commons/passive/ticwatch/ppg.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"namespace": "org.radarcns.passive.ticWatch",
"type": "record",
"name": "TicWatchPPG",
"doc": "PPG collected using a Mobovi TicWatch.",
"fields": [
{ "name": "time", "type": "double", "doc": "Device timestamp in UTC (ms)." },
{ "name": "redled", "type": "float", "doc": "red LED" },
{ "name": "iredled", "type": "float", "doc": "infrared LED" }
]
}
45 changes: 45 additions & 0 deletions specifications/passive/ticwatch-1.0.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#====================================== TicWatch device =====================================#
vendor: MOBOVI
model: TicWatch
version: 1.0.0
data:
- type: ACCELEROMETER
sample_rate:
dynamic: true
unit: g
processing_state: RAW
topic: android_esl_ticwatch_acceleration
value_schema: .passive.esl.TicWatchAcceleration
- type: GYROSCOPE
sample_rate:
dynamic: true
unit: rad/s
processing_state: RAW
topic: android_esl_ticwatch_gyroscope
value_schema: .passive.esl.TicWatchGyroscope
- type: BATTERY
sample_rate:
dynamic: true
unit: PERCENTAGE
processing_state: RAW
topic: android_esl_ticwatch_battery_level
value_schema: .passive.esl.TicWatchBatteryLevel
- type: PPG
sample_rate:
dynamic: true
processing_state: RAW
topic: android_esl_ticwatch_ppg
value_schema: .passive.esl.TicWatchPPG
- type: EXTERNAL_TIME
doc: Information sent by the Mobovi Ticwatch about time synchronisation with a NTP server.
sample_rate:
dynamic: true
unit: SECOND
topic: application_external_time
value_schema: .monitor.application.ApplicationExternalTime
- type: DEVICE_INFO
doc: Device information where the app is installed
sample_rate:
dynamic: true
topic: application_device_info
value_schema: .monitor.application.ApplicationDeviceInfo

0 comments on commit fda7379

Please sign in to comment.