Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobovi TicWatch schemas #359

Merged
merged 5 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions commons/passive/ticwatch/ticwatch_acceleration.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"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": "timeReceived", "type": "double", "doc": "Processed time since the Unix Epoch (seconds)." },
{ "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)." }
]
}
11 changes: 11 additions & 0 deletions commons/passive/ticwatch/ticwatch_battery_level.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"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": "timeReceived", "type": "double", "doc": "Processed time since the Unix Epoch (seconds)." },
{ "name": "batteryLevel", "type": "float", "doc": "Battery level from 0 to 1. Note that the battery level is a rough estimate." }
]
}
13 changes: 13 additions & 0 deletions commons/passive/ticwatch/ticwatch_gyroscope.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"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": "timeReceived", "type": "double", "doc": "Processed time since the Unix Epoch (seconds)." },
{ "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)." }
]
}
12 changes: 12 additions & 0 deletions commons/passive/ticwatch/ticwatch_ppg.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"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": "timeReceived", "type": "double", "doc": "Processed time since the Unix Epoch (seconds)." },
{ "name": "redled", "type": "float", "doc": "Red LED." },
{ "name": "iredled", "type": "float", "doc": "Infrared LED." }
]
}
47 changes: 47 additions & 0 deletions specifications/passive/ticwatch-1.0.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#====================================== TicWatch device =====================================#
vendor: Mobobi
model: TicWatch
version: 1.0.0
app_provider: .ticwatch.TicwatchSeviceProvier
data:
- type: ACCELEROMETER
sample_rate:
dynamic: true
unit: G
processing_state: RAW
topic: android_esl_ticwatch_acceleration
value_schema: .passive.ticwatch.TicwatchAcceleration
- type: GYROSCOPE
sample_rate:
dynamic: true
unit: RADAIAN_PER_SEC
processing_state: RAW
topic: android_esl_ticwatch_gyroscope
value_schema: .passive.ticwatch.TicwatchGyroscope
- type: BATTERY
sample_rate:
dynamic: true
unit: PERCENTAGE
processing_state: RAW
topic: android_esl_ticwatch_battery_level
value_schema: .passive.ticwatch.TicwatchBatteryLevel
- type: PPG
sample_rate:
dynamic: true
unit: UNKNOWN
processing_state: RAW
topic: android_esl_ticwatch_ppg
value_schema: .passive.ticwatch.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
Loading