Compartilhar via


BASEBAND_CONNECTION_EX (Compact 2013)

3/26/2014

This structure contains information describing baseband connections.

Syntax

typedef struct _BASEBAND_CONNECTION {
  USHORT  hConnection;
  BT_ADDR baAddress;
  int     cDataPacketsPending;
    UCHAR   link_type;
  UCHAR   mode;
  UINT    fEncrypted      : 1;
  BOOL    fAuthenticated  : 1;
} BASEBAND_CONNECTION_EX, *PBASEBAND_CONNECTION_EX;

Members

  • hConnection
    Connection handle.
  • baAddress
    Remote device address.
  • cDataPacketsPending
    Number of pending packets for the connection.
  • link_type
    Type of link.

    Link Type

    Value

    Synchronous Connection Oriented (SCO)

    0

    Asynchronous Connection-oriented (ACL)

    1

    Extended Synchronous Connection Oriented (eSCO)

    2

  • mode
    Local device role. Master device (0) or subordinate device (1).
  • fEncrypted
    Encryption is enabled.
  • fAuthenticated
    Indicates whether the connection has been authenticated.

Requirements

Header

bt_api.h

See Also

Reference

Bluetooth Application Development Structures
BthGetBasebandConnectionsEx