From e260a04f222bb42d0af4cd29bd6fd94df20ae24b Mon Sep 17 00:00:00 2001 From: wangjialiang Date: Wed, 7 Apr 2021 17:10:54 +0800 Subject: [PATCH] ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11] --- components/bt/esp_ble_mesh/mesh_core/cfg_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/esp_ble_mesh/mesh_core/cfg_srv.c b/components/bt/esp_ble_mesh/mesh_core/cfg_srv.c index 12f910986d..c6606efba8 100644 --- a/components/bt/esp_ble_mesh/mesh_core/cfg_srv.c +++ b/components/bt/esp_ble_mesh/mesh_core/cfg_srv.c @@ -3049,7 +3049,7 @@ static void heartbeat_pub_set(struct bt_mesh_model *model, goto failed; } - if (param->period_log > 0x10) { + if (param->period_log > 0x11) { status = STATUS_CANNOT_SET; goto failed; }