Lines Matching refs:conn_id
42 static void gatt_profile_request_cback (UINT16 conn_id, UINT32 trans_id, UINT8 op_code, tGATTS_DATA…
43 static void gatt_profile_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN conn…
72 return p_clcb->conn_id; in gatt_profile_find_conn_id_by_bd_addr()
113 tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda) in gatt_profile_clcb_alloc() argument
123 p_clcb->conn_id = conn_id; in gatt_profile_clcb_alloc()
140 BOOLEAN gatt_profile_clcb_dealloc (UINT16 conn_id) in gatt_profile_clcb_dealloc() argument
147 if (p_clcb->in_use && p_clcb->connected && (p_clcb->conn_id == conn_id)) in gatt_profile_clcb_dealloc()
166 static void gatt_profile_request_cback (UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type, in gatt_profile_request_cback() argument
202 GATTS_SendRsp (conn_id, trans_id, status, &rsp_msg); in gatt_profile_request_cback()
215 static void gatt_profile_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, in gatt_profile_connect_cback() argument
220 (bda[4]<<8)+bda[5], connected, conn_id, reason); in gatt_profile_connect_cback()
224 if (gatt_profile_clcb_alloc(conn_id, bda) == NULL) in gatt_profile_connect_cback()
232 gatt_profile_clcb_dealloc(conn_id); in gatt_profile_connect_cback()