Home
last modified time | relevance | path

Searched refs:gap_handle (Results 1 – 4 of 4) sorted by relevance

/system/bt/stack/include/
Dgap_api.h94 typedef void (tGAP_CONN_CALLBACK) (UINT16 gap_handle, UINT16 event);
163 extern UINT16 GAP_ConnClose (UINT16 gap_handle);
178 extern UINT16 GAP_ConnReadData (UINT16 gap_handle, UINT8 *p_data,
207 extern UINT16 GAP_ConnBTRead (UINT16 gap_handle, BT_HDR **pp_buf);
223 extern UINT16 GAP_ConnWriteData (UINT16 gap_handle, UINT8 *p_data,
236 extern UINT16 GAP_ConnReconfig (UINT16 gap_handle, tL2CAP_CFG_INFO *p_cfg);
254 extern UINT16 GAP_ConnSetIdleTimeout (UINT16 gap_handle, UINT16 timeout);
267 extern UINT8 *GAP_ConnGetRemoteAddr (UINT16 gap_handle);
278 extern UINT16 GAP_ConnGetRemMtuSize (UINT16 gap_handle);
292 extern UINT16 GAP_ConnGetL2CAPCid (UINT16 gap_handle);
/system/bt/stack/gap/
Dgap_conn.c252 return (p_ccb->gap_handle); in GAP_ConnOpen()
273 return (p_ccb->gap_handle); in GAP_ConnOpen()
283 return (p_ccb->gap_handle); in GAP_ConnOpen()
305 UINT16 GAP_ConnClose (UINT16 gap_handle) in GAP_ConnClose() argument
307 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle); in GAP_ConnClose()
309 GAP_TRACE_EVENT ("GAP_CONN - close handle: 0x%x", gap_handle); in GAP_ConnClose()
344 UINT16 GAP_ConnReadData (UINT16 gap_handle, UINT8 *p_data, UINT16 max_len, UINT16 *p_len) in GAP_ConnReadData() argument
346 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle); in GAP_ConnReadData()
445 UINT16 GAP_ConnBTRead (UINT16 gap_handle, BT_HDR **pp_buf) in GAP_ConnBTRead() argument
447 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle); in GAP_ConnBTRead()
[all …]
Dgap_int.h69 UINT16 gap_handle; /* GAP handle */ member
/system/bt/bta/jv/
Dbta_jv_act.c988 static void bta_jv_l2cap_client_cback(UINT16 gap_handle, UINT16 event) in bta_jv_l2cap_client_cback() argument
990 tBTA_JV_L2C_CB *p_cb = &bta_jv_cb.l2c_cb[gap_handle]; in bta_jv_l2cap_client_cback()
993 if (gap_handle >= BTA_JV_MAX_L2C_CONN && !p_cb->p_cback) in bta_jv_l2cap_client_cback()
996 APPL_TRACE_DEBUG( "%s: %d evt:x%x",__func__, gap_handle, event); in bta_jv_l2cap_client_cback()
998 evt_data.l2c_open.handle = gap_handle; in bta_jv_l2cap_client_cback()
1003 bdcpy(evt_data.l2c_open.rem_bda, GAP_ConnGetRemoteAddr(gap_handle)); in bta_jv_l2cap_client_cback()
1004 evt_data.l2c_open.tx_mtu = GAP_ConnGetRemMtuSize(gap_handle); in bta_jv_l2cap_client_cback()
1018 evt_data.data_ind.handle = gap_handle; in bta_jv_l2cap_client_cback()
1155 static void bta_jv_l2cap_server_cback(UINT16 gap_handle, UINT16 event) in bta_jv_l2cap_server_cback() argument
1157 tBTA_JV_L2C_CB *p_cb = &bta_jv_cb.l2c_cb[gap_handle]; in bta_jv_l2cap_server_cback()
[all …]