• Home
  • Raw
  • Download

Lines Matching refs:p_clcb

290   tGAP_CLCB* p_clcb = find_clcb_by_bd_addr(bda);  in client_connect_cback()  local
291 if (p_clcb == NULL) return; in client_connect_cback()
294 p_clcb->conn_id = conn_id; in client_connect_cback()
295 p_clcb->connected = true; in client_connect_cback()
297 send_cl_read_request(*p_clcb); in client_connect_cback()
299 p_clcb->connected = false; in client_connect_cback()
300 cl_op_cmpl(*p_clcb, false, 0, NULL); in client_connect_cback()
302 clcb_dealloc(*p_clcb); in client_connect_cback()
309 tGAP_CLCB* p_clcb = ble_find_clcb_by_conn_id(conn_id); in client_cmpl_cback() local
315 if (p_clcb == NULL) return; in client_cmpl_cback()
317 op_type = p_clcb->cl_op_uuid; in client_cmpl_cback()
326 cl_op_cmpl(*p_clcb, false, 0, NULL); in client_cmpl_cback()
339 BTM_BleSetPrefConnParams(p_clcb->bda, min, max, latency, tout); in client_cmpl_cback()
341 cl_op_cmpl(*p_clcb, true, 0, NULL); in client_cmpl_cback()
347 cl_op_cmpl(*p_clcb, true, len, pp); in client_cmpl_cback()
351 cl_op_cmpl(*p_clcb, true, 1, pp); in client_cmpl_cback()
360 tGAP_CLCB* p_clcb = find_clcb_by_bd_addr(peer_bda); in accept_client_operation() local
361 if (p_clcb == NULL) { in accept_client_operation()
362 p_clcb = clcb_alloc(peer_bda); in accept_client_operation()
368 if (GATT_GetConnIdIfConnected(gatt_if, peer_bda, &p_clcb->conn_id, in accept_client_operation()
370 p_clcb->connected = true; in accept_client_operation()
372 if (!GATT_Connect(gatt_if, p_clcb->bda, true, BT_TRANSPORT_LE, true)) in accept_client_operation()
376 p_clcb->requests.push({.uuid = uuid, .p_cback = p_cback}); in accept_client_operation()
378 if (p_clcb->connected && p_clcb->cl_op_uuid == 0) in accept_client_operation()
379 return send_cl_read_request(*p_clcb); in accept_client_operation()
559 tGAP_CLCB* p_clcb = find_clcb_by_bd_addr(peer_bda); in GAP_BleCancelReadPeerDevName() local
563 (p_clcb == NULL) ? 0 : p_clcb->cl_op_uuid); in GAP_BleCancelReadPeerDevName()
565 if (p_clcb == NULL) { in GAP_BleCancelReadPeerDevName()
570 if (!p_clcb->connected) { in GAP_BleCancelReadPeerDevName()
577 cl_op_cmpl(*p_clcb, false, 0, NULL); in GAP_BleCancelReadPeerDevName()