Home | History | Annotate | Download | only in hf_client

Lines Matching refs:port_handle

43 static void bta_hf_client_port_cback(UINT32 code, UINT16 port_handle)
48 if (port_handle != bta_hf_client_cb.scb.conn_handle)
51 port_handle, bta_hf_client_cb.scb.conn_handle);
71 static void bta_hf_client_mgmt_cback(UINT32 code, UINT16 port_handle)
75 APPL_TRACE_DEBUG("bta_hf_client_mgmt_cback : code = %d, port_handle = %d, conn_handle = %d, serv_handle = %d",
76 code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle);
79 if ((code != PORT_SUCCESS) && (port_handle != bta_hf_client_cb.scb.conn_handle))
81 APPL_TRACE_DEBUG("bta_hf_client_mgmt_cback ignoring handle:%d", port_handle);
87 if ((bta_hf_client_cb.scb.conn_handle && (port_handle == bta_hf_client_cb.scb.conn_handle)) || /* outgoing connection */
88 (port_handle == bta_hf_client_cb.scb.serv_handle)) /* incoming connection */
94 APPL_TRACE_ERROR ("bta_hf_client_mgmt_cback: PORT_SUCCESS, ignoring handle = %d", port_handle);
99 else if (port_handle == bta_hf_client_cb.scb.conn_handle)
111 p_buf->port_handle = port_handle;