Partager via


BT_AVDTP_STATE_CHANGE (Windows Embedded CE 6.0)

1/6/2010

This structure stores information about BTE_AVDTP_STATE (500) event for an Advanced Audio Distribution Profile (A2DP) connection. This event notifies state changes in the Audio/Video Distribution Transport Protocol (AVDTP) layer.

typedef struct {
    DWORD dwSize; 
    BT_ADDR bta; 
    DWORD dwState;
} BT_AVDTP_STATE_CHANGE, *PBT_AVDTP_STATE_CHANGE;

Members

  • dwSize
    Size of this structure.
  • bta
    Address of the remote Bluetooth device as a BT_ADDR type.
  • dwState
    Specifies the current state of the AVDTP stream. The following table shows the possible values.

    Value Description

    BT_AVDTP_STATE_DISCONNECTED (0)

    The AVDTP layer is not currently connected with the peer A2DP device.

    BT_AVDTP_STATE_SUSPENDED (1)

    The AVDTP layer is currently connected with the peer A2DP device but the connection is not active.

    BT_AVDTP_STATE_STREAMING (2)

    The AVDTP layer is currently connected with the peer A2DP device and is streaming audio.

Remarks

Requirements

Header bt_ddi.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Bluetooth Application Development Structures

Concepts

Handling Events from the Bluetooth Stack
Retrieving AVDTP Connection State