Share via


BT_MODE_CHANGE_EVENT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure stores information about the BTE_MODE_CHANGE event (103).

Syntax

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

Parameters

  • dwSize
    Size of this structure.
  • hConnection
    Handle to the Baseband connection.
  • bta
    Address of the remote Bluetooth device as a BT_ADDR type.
  • 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 to wait in the new mode. For the timing parameters, the time length is equal to N * 0.625 msec, or 1 Baseband slot. The valid time range is 0.625 msec to 40.9 Seconds. The valid range for N is 0x0001 to 0xFFFF.

    For more information about this member, see the Bluetooth Specification at this Official Bluetooth Wireless Info Web site.

Requirements

Header bt_api.h
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also

Reference

Bluetooth Application Development Structures
RequestBluetoothNotifications
StopBluetoothNotifications