Home | History | Annotate | Download | only in pan

Lines Matching refs:handle

286 **                  *handle     - Pointer for returning Handle to the connection
296 tPAN_RESULT PAN_Connect (BD_ADDR rem_bda, UINT8 src_role, UINT8 dst_role, UINT16 *handle)
305 ** Initialize the handle so that in case of failure return values
308 *handle = BNEP_INVALID_HANDLE;
424 result = BNEP_Connect (rem_bda, &src_uuid, &dst_uuid, &(pcb->handle));
434 *handle = pcb->handle;
447 ** Parameters: handle - handle for the connection
454 tPAN_RESULT PAN_Disconnect (UINT16 handle)
460 pcb = pan_get_pcb_by_handle (handle);
463 PAN_TRACE_ERROR1 ("PAN connection not found for the handle %d", handle);
467 result = BNEP_Disconnect (pcb->handle);
498 ** Parameters: handle - handle for the connection
511 tPAN_RESULT PAN_Write (UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, UINT8 *p_data, UINT16 len, BOOLEAN ext)
529 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext);
551 result = BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext);
567 pcb = pan_get_pcb_by_handle (handle);
580 result = BNEP_Write (pcb->handle, dst, p_data, len, protocol, src, ext);
608 ** Parameters: handle - handle for the connection
620 tPAN_RESULT PAN_WriteBuf (UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext)
634 PAN_Write (handle, dst, src, protocol, p_data, len, ext);
664 result = BNEP_WriteBuf (pan_cb.pcb[i].handle, dst, p_buf, protocol, src, ext);
681 pcb = pan_get_pcb_by_handle (handle);
684 PAN_TRACE_ERROR0 ("PAN Buf write for wrong handle");
696 result = BNEP_WriteBuf (pcb->handle, dst, p_buf, protocol, src, ext);
719 ** Parameters: handle - handle for the connection
729 tPAN_RESULT PAN_SetProtocolFilters (UINT16 handle,
739 pcb = pan_get_pcb_by_handle (handle);
742 PAN_TRACE_ERROR1 ("PAN connection not found for the handle %d", handle);
746 result = BNEP_SetProtocolFilters (pcb->handle, num_filters, p_start_array, p_end_array);
749 PAN_TRACE_ERROR1 ("PAN failed to set protocol filters for handle %d", handle);
753 PAN_TRACE_API1 ("PAN successfully sent protocol filters for handle %d", handle);
768 ** Parameters: handle - handle for the connection
778 tBNEP_RESULT PAN_SetMulticastFilters (UINT16 handle,
788 pcb = pan_get_pcb_by_handle (handle);
791 PAN_TRACE_ERROR1 ("PAN connection not found for the handle %d", handle);
795 result = BNEP_SetMulticastFilters (pcb->handle,
799 PAN_TRACE_ERROR1 ("PAN failed to set multicast filters for handle %d", handle);
803 PAN_TRACE_API1 ("PAN successfully sent multicast filters for handle %d", handle);