修复断开蓝牙之后搜不到温度数据的问题

This commit is contained in:
2026-09-08 14:59:53 +08:00
parent e65b2b22b6
commit 91cdc23bdc
2 changed files with 9 additions and 1 deletions
@@ -231,7 +231,8 @@ const int config_btctler_le_roles = (LE_ADV | LE_SLAVE);
const uint64_t config_btctler_le_features = LE_ENCRYPTION;
#else
const int config_btctler_le_roles = (LE_ADV | LE_SLAVE);
/* 加热垫断连要扫风扇 JBao-* 广播:必须带 LE_SCAN,否则 ble_op_scan_enable2 无效果 */
const int config_btctler_le_roles = (LE_ADV | LE_SLAVE | LE_SCAN);
const uint64_t config_btctler_le_features = LE_ENCRYPTION| LE_DATA_PACKET_LENGTH_EXTENSION | LE_2M_PHY;
#endif
#else