次の方法で共有


BT_INQUIRY_RESULT_EVENT (Compact 2013)

3/26/2014

This structure contains the data associated with an Extended Inquiry Response (EIR) notification.

Syntax

typedef struct{
  DWORD dwSize;
  BT_ADDR bta;
  UINT uiCod;
  UCHAR ucRssi;
  BOOL fNamePresent : 1;
} BT_INQUIRY_RESULT_EVENT, *PBT_INQUIRY_RESULT_EVENT;

Members

  • dwSize
    Size of the structure in bytes. The size of the structure can indicate the Bluetooth version of the device.
  • bta
    Device address.
  • uiCod
    Class of device (COD).
  • ucRssi
    Signal strength in decibels above or below the optimal range.
  • fNamePresent
    TRUE indicates the remote name is part of the inquiry result; FALSE otherwise.

Remarks

This structure contains a subset of the EIR record because the record is larger than the maximum size for a notification structure (64 bytes).

EIR notifications are BTE_CLASS_INQUIRY events in which the BTEVENT structure's dwEventID member is equal to BTE_INQUIRY_RESULT.

Requirements

Header

bt_api.h

See Also

Reference

Bluetooth Application Development Structures
RequestBluetoothNotifications