Partager via


HCI_DataPacketUp (Windows Embedded CE 6.0)

1/6/2010

This function is a pointer to an event that is used by the HCI layer to indicate reassembled data packets.

typedef int (*HCI_DataPacketUp)(
  void* pUserContext,
  unsigned short connection_handle,
  BD_BUFFER* pBuffer
);

Parameters

  • pUserContext
    [out] Pointer to the user context information.
  • connection_handle
    [out] Connection handle.
  • pBuffer
    [out] Packet buffer.

Return Values

Ignored.

Remarks

This function is used to indicate fully reassembled data packet to layer above HCI. The packet's data is buffered in HCI until reassembly is complete.

To be able to reassemble the data packet, HCI must know what the total size of each packet is. To take advantage of HCI level's reassembling capabilities, protocol must have data length-prefixed in the same form as L2CAP data packets.

This event is only used if HCI_DataPacketUpAclUnbuffered is not exported by the upper layer.

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_DataPacketUpAclUnbuffered