Compartilhar via


BD_BUFFER (Compact 2013)

3/26/2014

This structure defines the characteristics of the data buffer used by Bluetooth stack layers.

Syntax

struct BD_BUFFER {
  int cSize;
  int cStart;
  int cEnd;
  BD_BUFFER_FREE pFree;
  int fMustCopy;
  unsigned char* pBuffer;
};

Members

  • cSize
    Size of the buffer pointed to by pBuffer.
  • cStart
    Offset from pointer to the start of valid information in the buffer.
  • cEnd
    End of valid information in the buffer.
  • pFree
    Points to the function to free the buffer. May be NULL.
  • fMustCopy
    TRUE if the buffer must be copied before stack returns. pFree can be NULL in this case.
  • pBuffer
    Points to the buffer data.

Requirements

Header

bt_buffer.h

See Also

Reference

Bluetooth HCI Structures