You can disable the BLE Privacy Feature to avoid the MAC address rotating, and change the bluedroid source code as follows:
\alps\system\bt\include\bt_target.h
* Toggles support for general LE privacy features such as remote address
* resolution, local address rotation etc.
*/
#ifndef BLE_PRIVACY_SPT
-#define BLE_PRIVACY_SPT TRUE
+#define BLE_PRIVACY_SPT FLASE
#endif
本文档指导如何在蓝牙低功耗(BLE)设备上禁用隐私特性,避免MAC地址轮换,通过修改bluedroid源代码实现。具体操作涉及更改alpssystemtincludet_target.h文件中的BLE_PRIVACY_SPT定义。

4211

被折叠的 条评论
为什么被折叠?



