BASEBAND_CONNECTION (Compact 2013)

3/26/2014

This structure identifies information that is used in baseband connections.

Syntax

typedef struct _BASEBAND_CONNECTION {
  USHORT hConnection;
  BT_ADDR baAddress;
  int cDataPacketsPending;
  UINT fLinkType : 1;
  UINT fEncrypted : 1;
  UINT fAuthenticated : 1;
  UINT fMode : 3;
} BASEBAND_CONNECTION, *PBASEBAND_CONNECTION;

Members

  • hConnection
    Connection handle.
  • baAddress
    Remote device address.
  • cDataPacketsPending
    Number of pending packets for the connection.
  • fLinkType
    Type of link. Zero (0) indicates synchronous (SCO), and 1 indicates asynchronous (ACL).
  • fEncrypted
    Encryption is enabled.
  • fAuthenticated
    Indicates whether the connection has been authenticated.
  • fMode
    Local device role. Master device (0) or subordinate device (1).

Requirements

Header

bt_api.h

See Also

Reference

Bluetooth Application Development Structures