Lines Matching refs:gap_handle
211 return (p_ccb->gap_handle);
229 return (p_ccb->gap_handle);
252 UINT16 GAP_ConnClose (UINT16 gap_handle)
254 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle);
256 GAP_TRACE_EVENT1 ("GAP_CONN - close handle: 0x%x", gap_handle);
291 UINT16 GAP_ConnReadData (UINT16 gap_handle, UINT8 *p_data, UINT16 max_len, UINT16 *p_len)
293 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle);
397 UINT16 GAP_ConnBTRead (UINT16 gap_handle, BT_HDR **pp_buf)
399 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle);
436 UINT16 GAP_ConnBTWrite (UINT16 gap_handle, BT_HDR *p_buf)
438 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle);
467 gap_send_event (gap_handle);
504 UINT16 GAP_ConnWriteData (UINT16 gap_handle, UINT8 *p_data, UINT16 max_len, UINT16 *p_len)
506 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle);
552 gap_send_event (gap_handle);
584 UINT16 GAP_ConnReconfig (UINT16 gap_handle, tL2CAP_CFG_INFO *p_cfg)
586 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle);
622 UINT16 GAP_ConnSetIdleTimeout (UINT16 gap_handle, UINT16 timeout)
626 if ((p_ccb = gap_find_ccb_by_handle (gap_handle)) == NULL)
650 UINT8 *GAP_ConnGetRemoteAddr (UINT16 gap_handle)
652 tGAP_CCB *p_ccb = gap_find_ccb_by_handle (gap_handle);
654 GAP_TRACE_EVENT1 ("GAP_ConnGetRemoteAddr gap_handle = %d", gap_handle);
682 UINT16 GAP_ConnGetRemMtuSize (UINT16 gap_handle)
686 if ((p_ccb = gap_find_ccb_by_handle (gap_handle)) == NULL)
704 UINT16 GAP_ConnGetL2CAPCid (UINT16 gap_handle)
708 if ((p_ccb = gap_find_ccb_by_handle (gap_handle)) == NULL)
787 p_ccb->p_callback (p_ccb->gap_handle, GAP_EVT_CONN_OPENED);
861 (*p_ccb->p_callback) (p_ccb->gap_handle, GAP_EVT_CONN_CLOSED);
949 p_ccb->p_callback (p_ccb->gap_handle, GAP_EVT_CONN_CLOSED);
978 p_ccb->p_callback (p_ccb->gap_handle, GAP_EVT_CONN_CLOSED);
1013 p_ccb->p_callback (p_ccb->gap_handle, GAP_EVT_CONN_DATA_AVAIL);
1047 p_ccb->p_callback (p_ccb->gap_handle, event);
1143 p_ccb->gap_handle = xx;
1204 void gap_send_event (UINT16 gap_handle)
1213 p_msg->layer_specific = gap_handle;