From 66fa67cde68a29a9e2dd5485a66bf322ad4d74c7 Mon Sep 17 00:00:00 2001 From: Yang Zhao Date: Thu, 11 Nov 2021 11:30:14 +0800 Subject: [PATCH] Fix the issue of device name len limited --- .../bluedroid/common/include/common/bluedroid_user_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/bt/host/bluedroid/common/include/common/bluedroid_user_config.h b/components/bt/host/bluedroid/common/include/common/bluedroid_user_config.h index 193546c6b1..3d7fdf0fb3 100644 --- a/components/bt/host/bluedroid/common/include/common/bluedroid_user_config.h +++ b/components/bt/host/bluedroid/common/include/common/bluedroid_user_config.h @@ -162,8 +162,6 @@ #define UC_BT_SMP_SLAVE_CON_PARAMS_UPD_ENABLE FALSE #endif -#if CONFIG_IDF_TARGET_ESP32 - //Device Nane Maximum Length #ifdef CONFIG_BT_MAX_DEVICE_NAME_LEN #define UC_MAX_LOC_BD_NAME_LEN CONFIG_BT_MAX_DEVICE_NAME_LEN @@ -171,6 +169,8 @@ #define UC_MAX_LOC_BD_NAME_LEN 64 #endif +#if CONFIG_IDF_TARGET_ESP32 + //BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP #ifdef CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP #define UC_BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP