Lines Matching defs:evt_type
51 static void btm_ble_process_adv_pkt_cont(BD_ADDR bda, UINT8 addr_type, UINT8 evt_type, UINT8 *p);
121 p_cb->evt_type = btm_set_conn_mode_adv_init_addr(p_cb, p_addr_ptr, &init_addr_type, &p_cb->adv_addr_type);
125 p_cb->evt_type,
218 UINT8 evt_type = p_cb->scan_rsp ? BTM_BLE_DISCOVER_EVT: BTM_BLE_NON_CONNECT_EVT;
226 evt_type = p_cb->scan_rsp ? BTM_BLE_CONNECT_EVT: BTM_BLE_NON_CONNECT_EVT;
235 evt_type,
244 p_cb->evt_type = evt_type;
417 UINT8 evt_type;
426 evt_type = BTM_BLE_CONNECT_DIR_EVT;
430 evt_type = BTM_BLE_CONNECT_EVT;
433 return evt_type;
488 p_cb->evt_type = btm_set_conn_mode_adv_init_addr(p_cb, p_addr_ptr, &init_addr_type, &own_addr_type);
493 p_cb->evt_type,
882 UINT8 evt_type = (p_cb->connectable_mode == BTM_BLE_NON_CONNECTABLE) ? \
931 p_cb->evt_type = btm_set_conn_mode_adv_init_addr(p_cb, p_addr_ptr, &init_addr_type, &own_addr_type);
937 BTM_TRACE_EVENT2 ("evt_type=0x%x p-cb->evt_typeevt_type, p_cb->evt_type);
939 (evt_type != p_cb->evt_type ||p_cb->adv_addr_type != own_addr_type))
946 evt_type,
956 p_cb->evt_type = evt_type;
1001 UINT8 evt_type = (p_cb->scan_rsp) ? BTM_BLE_DISCOVER_EVT: BTM_BLE_NON_CONNECT_EVT;
1037 evt_type = btm_set_conn_mode_adv_init_addr(p_cb, p_addr_ptr, &init_addr_type, &own_addr_type);
1041 if ((p_cb->evt_type != evt_type || p_cb->adv_addr_type != p_addr_cb->own_addr_type)
1048 evt_type,
1057 p_cb->evt_type = evt_type;
1389 void btm_ble_cache_adv_data(tBTM_INQ_RESULTS *p_cur, UINT8 data_len, UINT8 *p, UINT8 evt_type)
1396 if (evt_type != BTM_BLE_SCAN_RSP_EVT)
1436 BOOLEAN btm_ble_is_discoverable(BD_ADDR bda, UINT8 evt_type, UINT8 *p)
1460 if (evt_type == BTM_BLE_SCAN_RSP_EVT)
1511 BOOLEAN btm_ble_update_inq_result(tINQ_DB_ENT *p_i, UINT8 addr_type, UINT8 evt_type, UINT8 *p)
1529 btm_ble_cache_adv_data(p_cur, data_len, p, evt_type);
1541 (evt_type == BTM_BLE_CONNECT_EVT || evt_type == BTM_BLE_DISCOVER_EVT)))
1554 if (evt_type != BTM_BLE_SCAN_RSP_EVT)
1555 p_cur->ble_evt_type = evt_type;
1567 evt_type != BTM_BLE_CONNECT_DIR_EVT)
1597 void btm_send_sel_conn_callback(BD_ADDR remote_bda, UINT8 evt_type, UINT8 *p_data, UINT8 addr_type)
1604 (evt_type != BTM_BLE_EVT_CONN_ADV && evt_type != BTM_BLE_EVT_CONN_DIR_ADV))
1644 UINT8 evt_type = 0, *p = p_data;
1651 STREAM_TO_UINT8 (evt_type, p);
1659 (*btm_cb.ble_ctr_cb.p_scan_req_cback)(bda, addr_type, evt_type);
1672 btm_ble_process_adv_pkt_cont(bda, addr_type, evt_type, p);
1687 static void btm_ble_process_adv_pkt_cont(BD_ADDR bda, UINT8 addr_type, UINT8 evt_type, UINT8 *p)
1725 if (btm_ble_is_discoverable(bda, evt_type, p))
1749 to_report = btm_ble_update_inq_result(p_i, addr_type, evt_type, p);
1783 (evt_type == BTM_BLE_CONNECT_EVT || evt_type == BTM_BLE_CONNECT_DIR_EVT))
1784 btm_send_sel_conn_callback(bda, evt_type, p, addr_type);
2077 p_cb->inq_var.evt_type = BTM_BLE_NON_CONNECT_EVT;