From b4cc00a97b8e17a0b8ce7bf98ad63d8a54469a8a Mon Sep 17 00:00:00 2001 From: Daniel Furlong Date: Tue, 6 Aug 2024 14:41:13 -0700 Subject: [PATCH] Add CsaRecordable Stream ID. Summary: Recordable class for Current Sense Amplifier (CSA/band tightness) data stream. Reviewed By: georges-berenger Differential Revision: D60771025 fbshipit-source-id: 914ecaa89bc246d7742344ccd7575281e8ed7bfc --- vrs/StreamId.cpp | 1 + vrs/StreamId.h | 1 + 2 files changed, 2 insertions(+) diff --git a/vrs/StreamId.cpp b/vrs/StreamId.cpp index ec581c9f..58f64444 100644 --- a/vrs/StreamId.cpp +++ b/vrs/StreamId.cpp @@ -79,6 +79,7 @@ const unordered_map& getRecordableTypeIdRegistry( {RecordableTypeId::CapacitiveTouchRecordableClass, "Capacitive Touch Data Class"}, {RecordableTypeId::HeartRateRecordableClass, "Heart Rate Data Class"}, {RecordableTypeId::CaloriesRecordableClass, "Calories Data Class"}, + {RecordableTypeId::CsaRecordableClass, "Current Sense Amplifier (CSA) Data Class"}, {RecordableTypeId::RadarRecordableClass, "Radar Data Class"}, {RecordableTypeId::StepCountRecordableClass, "Step Count Data Class"}, {RecordableTypeId::ForceRecordableClass, "Force Data Class"}, diff --git a/vrs/StreamId.h b/vrs/StreamId.h index ad9215f6..113cfda5 100644 --- a/vrs/StreamId.h +++ b/vrs/StreamId.h @@ -105,6 +105,7 @@ enum class RecordableTypeId : uint16_t { CapacitiveTouchRecordableClass = 250, ///< For capacitive touch data streams. HeartRateRecordableClass = 251, ///< Heart rate data streams. CaloriesRecordableClass = 252, ///< Calories data streams. + CsaRecordableClass = 253, ///< CSA data streams. RadarRecordableClass = 254, ///< Radar data streams. StepCountRecordableClass = 255, ///< Step count data streams. ForceRecordableClass = 256, ///< Force data streams.