Lines Matching refs:ble
21 * This file contains functions for BLE whitelist operation.
157 if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_PUBLIC || !BTM_BLE_IS_RESOLVE_BDA(bd_addr)) {
158 started = btsnd_hcic_ble_add_white_list(p_dev_rec->ble.ble_addr_type, bd_addr);
159 p_dev_rec->ble.in_controller_list |= BTM_WHITE_LIST_BIT;
160 } else if (memcmp(p_dev_rec->ble.static_addr, bd_addr, BD_ADDR_LEN) != 0 &&
161 memcmp(p_dev_rec->ble.static_addr, dummy_bda, BD_ADDR_LEN) != 0) {
162 started = btsnd_hcic_ble_add_white_list(p_dev_rec->ble.static_addr_type,
163 p_dev_rec->ble.static_addr);
164 p_dev_rec->ble.in_controller_list |= BTM_WHITE_LIST_BIT;
167 if (p_dev_rec->ble.ble_addr_type == BLE_ADDR_PUBLIC || !BTM_BLE_IS_RESOLVE_BDA(bd_addr))
168 started = btsnd_hcic_ble_remove_from_white_list(p_dev_rec->ble.ble_addr_type, bd_addr);
170 if (memcmp(p_dev_rec->ble.static_addr, dummy_bda, BD_ADDR_LEN) != 0 &&
171 memcmp(p_dev_rec->ble.static_addr, bd_addr, BD_ADDR_LEN) != 0)
172 started = btsnd_hcic_ble_remove_from_white_list(p_dev_rec->ble.static_addr_type, p_dev_rec->ble.static_addr);
174 p_dev_rec->ble.in_controller_list &= ~BTM_WHITE_LIST_BIT;
657 ** Description This function get BLE connection state
670 ** Description This function set BLE connection state