Share via


HCI_DataPacketUpAclUnbuffered (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 pre-reassembly data packets.

typedef int (*HCI_DataPacketUpAclUnbuffered)(
  void* pUserContext,
  unsigned short connection_handle,
  unsigned char boundary,
  unsigned char broadcast,
  BD_BUFFER* pBuffer
);

Parameters

  • pUserContext
    [out] Pointer to the user context information.
  • connection_handle
    [out] Connection handle.
  • boundary
    [out] Boundary value.
  • broadcast
    [out] Broadcast value.
  • pBuffer
    [out] Packet buffer.

Return Values

Ignored.

Remarks

If this function is exported by the upper stack's event table, data packets are not reassembled. Instead, they are indicated immediately on arrival to the upper layer, which is expected to handle reassembly and buffering.

If this function is not exported (respective entry in the table is NULL), HCI_DataPacketUp indication is used to indicate completely reassembled packet. In this case, the protocol must follow L2CAP data packet format (every data packet must be length-prefixed).

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_DataPacketUp