Lines Matching full:handle
287 ** *handle - Pointer for returning Handle to the connection
297 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;
419 result = BNEP_Connect (rem_bda, &src_uuid, &dst_uuid, &(pcb->handle));
429 *handle = pcb->handle;
442 ** Parameters: handle - handle for the connection
449 tPAN_RESULT PAN_Disconnect (UINT16 handle)
455 pcb = pan_get_pcb_by_handle (handle);
458 PAN_TRACE_ERROR ("PAN connection not found for the handle %d", handle);
462 result = BNEP_Disconnect (pcb->handle);
491 ** Parameters: handle - handle for the connection
504 tPAN_RESULT PAN_Write(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, UINT8 *p_data, UINT16 len, BOOLEAN ext)
521 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext);
536 return PAN_WriteBuf(handle, dst, src, protocol, buffer, ext);
551 ** Parameters: handle - handle for the connection
563 tPAN_RESULT PAN_WriteBuf (UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext)
582 BNEP_Write(pan_cb.pcb[i].handle, dst, data, p_buf->len, protocol, src, ext);
606 result = BNEP_WriteBuf (pan_cb.pcb[i].handle, dst, p_buf, protocol, src, ext);
623 pcb = pan_get_pcb_by_handle (handle);
626 PAN_TRACE_ERROR ("PAN Buf write for wrong handle");
638 result = BNEP_WriteBuf (pcb->handle, dst, p_buf, protocol, src, ext);
661 ** Parameters: handle - handle for the connection
671 tPAN_RESULT PAN_SetProtocolFilters (UINT16 handle,
680 pcb = pan_get_pcb_by_handle (handle);
683 PAN_TRACE_ERROR ("PAN connection not found for the handle %d", handle);
687 result = BNEP_SetProtocolFilters (pcb->handle, num_filters, p_start_array, p_end_array);
690 PAN_TRACE_ERROR ("PAN failed to set protocol filters for handle %d", handle);
694 PAN_TRACE_API ("PAN successfully sent protocol filters for handle %d", handle);
706 ** Parameters: handle - handle for the connection
716 tBNEP_RESULT PAN_SetMulticastFilters (UINT16 handle,
725 pcb = pan_get_pcb_by_handle (handle);
728 PAN_TRACE_ERROR ("PAN connection not found for the handle %d", handle);
732 result = BNEP_SetMulticastFilters (pcb->handle,
736 PAN_TRACE_ERROR ("PAN failed to set multicast filters for handle %d", handle);
740 PAN_TRACE_API ("PAN successfully sent multicast filters for handle %d", handle);