Lines Matching refs:conn_id
1320 void gatt_sr_send_req_callback(UINT16 conn_id, in gatt_sr_send_req_callback() argument
1324 tGATT_IF gatt_if = GATT_GET_GATT_IF(conn_id); in gatt_sr_send_req_callback()
1336 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); in gatt_sr_send_req_callback()
1340 GATT_TRACE_WARNING1("Call back not found for application conn_id=%d", conn_id); in gatt_sr_send_req_callback()
1495 BOOLEAN gatt_is_clcb_allocated (UINT16 conn_id) in gatt_is_clcb_allocated() argument
1502 if (gatt_cb.clcb[i].in_use && (gatt_cb.clcb[i].conn_id == conn_id)) in gatt_is_clcb_allocated()
1521 tGATT_CLCB *gatt_clcb_alloc (UINT16 conn_id) in gatt_clcb_alloc() argument
1525 tGATT_IF gatt_if=GATT_GET_GATT_IF(conn_id); in gatt_clcb_alloc()
1526 UINT8 tcb_idx = GATT_GET_TCB_IDX(conn_id); in gatt_clcb_alloc()
1537 p_clcb->conn_id = conn_id; in gatt_clcb_alloc()
2025 UINT16 conn_id; in gatt_end_operation() local
2075 conn_id = p_clcb->conn_id; in gatt_end_operation()
2080 (*p_disc_cmpl_cb)(conn_id, disc_type, status); in gatt_end_operation()
2082 (*p_cmpl_cb)(conn_id, op, status, &cb_data); in gatt_end_operation()
2103 UINT16 conn_id; in gatt_cleanup_upon_disc() local
2117 … GATT_TRACE_DEBUG2 ("found p_clcb conn_id=%d clcb_idx=%d", p_clcb->conn_id, p_clcb->clcb_idx); in gatt_cleanup_upon_disc()
2137 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_cleanup_upon_disc()
2138 …EBUG3 ("found p_reg tcb_idx=%d gatt_if=%d conn_id=0x%x", p_tcb->tcb_idx, p_reg->gatt_if, conn_id); in gatt_cleanup_upon_disc()
2139 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, bda, conn_id, FALSE, reason); in gatt_cleanup_upon_disc()
2646 return(p_clcb->conn_id); in gatt_get_conn_id()