Compartir a través de


HCI_DataPacketUp (Windows CE 5.0)

Send Feedback

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Bt_ddi.h.
Link Library: Btd.lib.

See Also

HCI_DataPacketUpAclUnbuffered

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.