Lines Matching full:conn_id
42 static void gatt_profile_request_cback (UINT16 conn_id, UINT32 trans_id, UINT8 op_code, tGATTS_DATA *p_data);
43 static void gatt_profile_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, tGATT_DISCONN_REASON reason);
73 return p_clcb->conn_id;
114 tGATT_PROFILE_CLCB *gatt_profile_clcb_alloc (UINT16 conn_id, BD_ADDR bda)
124 p_clcb->conn_id = conn_id;
141 BOOLEAN gatt_profile_clcb_dealloc (UINT16 conn_id)
148 if (p_clcb->in_use && p_clcb->connected && (p_clcb->conn_id == conn_id))
167 static void gatt_profile_request_cback (UINT16 conn_id, UINT32 trans_id, tGATTS_REQ_TYPE type,
203 GATTS_SendRsp (conn_id, trans_id, status, &rsp_msg);
216 static void gatt_profile_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id,
219 GATT_TRACE_EVENT5 ("gatt_profile_connect_cback: from %08x%04x connected:%d conn_id=%d reason = 0x%04x",
221 (bda[4]<<8)+bda[5], connected, conn_id, reason);
225 if (gatt_profile_clcb_alloc(conn_id, bda) == NULL)
233 gatt_profile_clcb_dealloc(conn_id);