component/bt: refactor ble random address setting

This commit is contained in:
xiewenxiang
2020-10-19 09:22:37 +08:00
committed by XieWenxiang
parent e840191a0c
commit 7e5e0ba7de
3 changed files with 26 additions and 9 deletions

View File

@@ -52,6 +52,7 @@ typedef bool BOOLEAN;
#define BT_EVT_MASK 0xFF00
#define BT_SUB_EVT_MASK 0x00FF
#define BT_STATIC_RAND_ADDR_MASK 0xC0
#define BT_NON_RPA_MASK 0x3F
/* To Bluetooth Upper Layers */
/************************************/
#define BT_EVT_TO_BTU_L2C_EVT 0x0900 /* L2CAP event */