From 961c1174bbf1aaae5fa2f672806ed4eaf2f917be Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期三, 05 二月 2025 15:45:10 +0800 Subject: [PATCH] 串口传输协议加上一位指令类型 --- 01_SDK/nimble/host/nimble/nimble/host/include/host/ble_hs_id.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/01_SDK/nimble/host/nimble/nimble/host/include/host/ble_hs_id.h b/01_SDK/nimble/host/nimble/nimble/host/include/host/ble_hs_id.h index c96bd20..bfda254 100644 --- a/01_SDK/nimble/host/nimble/nimble/host/include/host/ble_hs_id.h +++ b/01_SDK/nimble/host/nimble/nimble/host/include/host/ble_hs_id.h @@ -121,6 +121,13 @@ */ int ble_hs_id_infer_auto(int privacy, uint8_t *out_addr_type); + +#if SMP_MULTI_ADDR_MODE_EN +void ble_hs_id_set_used_addr_type(uint8_t addr_type); +uint8_t ble_hs_id_get_used_addr_type(void); +#endif + + #ifdef __cplusplus } #endif -- Gitblit v1.9.3