Compartilhar via


BT_LINK_KEY_EVENT (Compact 2013)

3/26/2014

This structure stores information about the pairing events, BTE_KEY_NOTIFY and BTE_KEY_REVOKED.

Syntax

typedef struct { 
  DWORD dwSize;
  BT_ADDR bta;
  UCHAR link_key[16];
  UCHAR key_type;
} BT_LINK_KEY_EVENT, *PBT_LINK_KEY_EVENT;

Members

  • dwSize
    Size of this structure.
  • bta
    The remote device address.
  • link_key
    Link key of the remote device.
  • key_type
    Link key type. One of the values in the following table.

    Value

    Description

    0x00

    Combination Key

    0x01

    Local Unit Key

    0x02

    Remote Unit Key

    0x03

    Debug Combination Key

    0x04

    Unauthenticated Combination Key

    0x05

    Authenticated Combination Key

    0x06

    Changed Combination Key

    All other values are reserved.

Requirements

Header

bt_api.h

See Also

Reference

Bluetooth Application Development Structures
RequestBluetoothNotifications
StopBluetoothNotifications