Share via


HCI_DataPacketDown_In (Windows Embedded CE 6.0)

1/6/2010

This function is a pointer to an interface that is used to send data packets to the HCI layer.

typedef int (*HCI_DataPacketDown_In)(
  HANDLE hDeviceContext,
  void* pCallContext,
  unsigned short connection_handle,
  BD_BUFFER* pBuffer
);

Parameters

  • hDeviceContext
    [in] Device context handle.
  • pCallContext
    [in] Pointer to the call context information.
  • connection_handle
    [in] Connection handle.
  • pBuffer
    [in] Packet buffer.

Return Values

ERROR_SUCCESS indicates successful completion.

Remarks

Return of ERROR_SUCCESS indicates that the data has been successfully queued for segmentation and delivery to the HCI transport layer. When this delivery is complete, HCI_DataPacketDown_Out is called to indicate completion of transfer.

Requirements

Header bt_ddi.h
Library Btd.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Bluetooth Stack Extension Layer Functions

Concepts

HCI_DataPacketDown_Out