diff --git a/commons/passive/ticwatch/acceleration.avsc b/commons/passive/ticwatch/acceleration.avsc new file mode 100644 index 00000000..5a538755 --- /dev/null +++ b/commons/passive/ticwatch/acceleration.avsc @@ -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)." } + ] +} \ No newline at end of file diff --git a/commons/passive/ticwatch/battery.avsc b/commons/passive/ticwatch/battery.avsc new file mode 100644 index 00000000..ea606eb0 --- /dev/null +++ b/commons/passive/ticwatch/battery.avsc @@ -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." } + ] +} \ No newline at end of file diff --git a/commons/passive/ticwatch/gyroscope.avsc b/commons/passive/ticwatch/gyroscope.avsc new file mode 100644 index 00000000..29724723 --- /dev/null +++ b/commons/passive/ticwatch/gyroscope.avsc @@ -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)." } + ] +} \ No newline at end of file diff --git a/commons/passive/ticwatch/ppg.avsc b/commons/passive/ticwatch/ppg.avsc new file mode 100644 index 00000000..84fc49ac --- /dev/null +++ b/commons/passive/ticwatch/ppg.avsc @@ -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" } + ] +} \ No newline at end of file diff --git a/specifications/passive/ticwatch-1.0.0.yml b/specifications/passive/ticwatch-1.0.0.yml new file mode 100644 index 00000000..2b3a2ce5 --- /dev/null +++ b/specifications/passive/ticwatch-1.0.0.yml @@ -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