From f772dd52ef738fc8da85a5deeff9b78d602936f9 Mon Sep 17 00:00:00 2001 From: xiayifan Date: Fri, 27 Dec 2024 15:58:05 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=9C=80=E6=B1=82=E3=80=91=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=9E=8D=E5=90=88=E5=8E=8B=E5=8A=9B=E4=BC=A0=E6=84=9F?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interfaces/inner_api/sensor_agent_type.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/interfaces/inner_api/sensor_agent_type.h b/interfaces/inner_api/sensor_agent_type.h index 22ceecb4..cebae188 100644 --- a/interfaces/inner_api/sensor_agent_type.h +++ b/interfaces/inner_api/sensor_agent_type.h @@ -102,6 +102,7 @@ typedef enum SensorTypeId { SENSOR_TYPE_ID_WEAR_DETECTION = 280, /**< Wear detection sensor */ SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED = 281, /**< Uncalibrated acceleration sensor */ SENSOR_TYPE_ID_RPC = 282, /**< Radio power control sensor */ + SENSOR_TYPE_ID_FUSION_PRESSURE = 283, /**< Fusion pressure sensor */ SENSOR_TYPE_ID_MAX = 30, /**< Maximum number of sensor type IDs*/ } SensorTypeId; @@ -513,6 +514,10 @@ typedef struct SensorActiveInfo { int64_t maxReportDelayNs = -1; /**< Maximum Report Delay, in ns */ } SensorActiveInfo; +typedef struct FusionPressureData { + int32_t pressure = 0; +} FusionPressureData; + typedef void (*SensorActiveInfoCB)(SensorActiveInfo &sensorActiveInfo); #ifdef __cplusplus -- Gitee