BT_MODE_CHANGE_EVENT (Compact 2013)

3/26/2014

This structure stores information about the BTE_MODE_CHANGE event.

Syntax

typedef struct {
  DWORD dwSize;
  USHORT hConnection;
  BT_ADDR bta;
  BYTE bMode;
  USHORT usInterval;
} BT_MODE_CHANGE_EVENT, *PBT_MODE_CHANGE_EVENT;

Members

  • dwSize
    Size of this structure.
  • hConnection
    Handle to the Baseband connection.
  • bta
    Address of the remote device.
  • bMode
    Power mode for the connection. The following list shows the possible values.

    • ACTIVE (0x00)
    • HOLD (0x01)
    • SNIFF (0x02)
    • PARK (0x03)
  • usInterval
    Number of Baseband slots (0.625 msec each) to wait in the new mode. The valid range is from 0x0001 through 0xFFFF indicating 0.625 msec through 40.9 seconds.

Requirements

Header

bt_api.h

See Also

Reference

Bluetooth Application Development Structures
RequestBluetoothNotifications
StopBluetoothNotifications