From ba4571b2e67adab619f57b0c6611e059148a5100 Mon Sep 17 00:00:00 2001 From: lixiangpeng5 Date: Mon, 26 Dec 2022 15:01:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9sensor=20name=E7=9A=84NAM?= =?UTF-8?q?E=5FMAX=5FLEN:48=E6=94=B9=E4=B8=BA64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lixiangpeng5 Change-Id: I4f174814a2a45f16714e9edd11aa50abe2b361b9 --- interfaces/native/include/sensor_agent_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/native/include/sensor_agent_type.h b/interfaces/native/include/sensor_agent_type.h index f780e3e5..eca90692 100644 --- a/interfaces/native/include/sensor_agent_type.h +++ b/interfaces/native/include/sensor_agent_type.h @@ -47,7 +47,7 @@ extern "C" { /** Maximum length of the sensor name */ #ifndef NAME_MAX_LEN -#define NAME_MAX_LEN 48 +#define NAME_MAX_LEN 64 #endif /* NAME_MAX_LEN */ /** Size of sensor data */ #ifndef SENSOR_USER_DATA_SIZE -- Gitee From 9f29ccf3b57ec89b08ebbe4b6a97201281244ed2 Mon Sep 17 00:00:00 2001 From: lixiangpeng5 Date: Mon, 26 Dec 2022 19:30:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9sensor=20name=E7=9A=84NAM?= =?UTF-8?q?E=5FMAX=5FLEN:=E6=94=B9=E4=B8=BA128?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lixiangpeng5 Change-Id: I034147941c47b7b4c56d8551660b46a71fc70cd3 --- interfaces/native/include/sensor_agent_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/native/include/sensor_agent_type.h b/interfaces/native/include/sensor_agent_type.h index eca90692..37b0de0e 100644 --- a/interfaces/native/include/sensor_agent_type.h +++ b/interfaces/native/include/sensor_agent_type.h @@ -47,7 +47,7 @@ extern "C" { /** Maximum length of the sensor name */ #ifndef NAME_MAX_LEN -#define NAME_MAX_LEN 64 +#define NAME_MAX_LEN 128 #endif /* NAME_MAX_LEN */ /** Size of sensor data */ #ifndef SENSOR_USER_DATA_SIZE -- Gitee