From b84e673cb63b16af89aa22530a7d6f41042b393b Mon Sep 17 00:00:00 2001 From: yangjunrui Date: Fri, 4 Mar 2022 15:28:32 +0800 Subject: [PATCH] feat: modify sensor test case Signed-off-by: yangjunrui --- sensor/v1_0/SensorTypes.idl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sensor/v1_0/SensorTypes.idl b/sensor/v1_0/SensorTypes.idl index d724dcb2..96b72968 100644 --- a/sensor/v1_0/SensorTypes.idl +++ b/sensor/v1_0/SensorTypes.idl @@ -118,3 +118,14 @@ enum HdfSensorTypeTag { HDF_SENSOR_TYPE_ACCELEROMETER_UNCALIBRATED = 281, /**< Uncalibrated acceleration sensor */ HDF_SENSOR_TYPE_MAX, /**< Maximum number of sensor types */ }; + +/** + * @brief Enumerates hardware service group for sensors + * + * @since 2.2 + */ +enum HdfSensorGroupType { + HDF_TRADITIONAL_SENSOR_TYPE = 0, /**< traditional sensor type, the sensorId enumeration value range is 128-160 */ + HDF_MEDICAL_SENSOR_TYPE = 1, /**< medical sensor type, the sensorId enumeration value range is not within 128-160 */ + HDF_SENSOR_GROUP_TYPE_MAX, /**< Maximum sensor group type*/ +}; -- Gitee