次の方法で共有


BTSSPIOCapability (Compact 2013)

3/26/2014

This enumeration lists combinations of input and output capabilities for Bluetooth devices.

Syntax

typedef enum BTSSPIOCapability{
  BTSSPIO_DisplayOnly,
  BTSSPIO_DisplayYesNo,
  BTSSPIO_KeyboardOnly,
  BTSSPIO_NoIO,
  BTSSPIO_Unspecified
} BTSSPIOCapability;

Elements

  • BTSSPIO_DisplayOnly
    Indicates that the Bluetooth device can display data but cannot accept input.
  • BTSSPIO_DisplayYesNo
    Indicates that the Bluetooth device can display data and can accept at least "yes" or "no" input.
  • BTSSPIO_KeyboardOnly
    Indicates that the Bluetooth device can accept keyboard input but cannot display data.
  • BTSSPIO_NoIO
    Indicates that the Bluetooth device can neither display data nor accept input of any kind. Such a device cannot connect using BTSecurityLevel_3.
  • BTSSPIO_Unspecified
    Provides no indication of the Bluetooth device's input or output capabilities.

Remarks

Before an application calls BthSSPSetConfigurationInfo, a call to BthSSPGetConfigurationInfo returns BTSSPIO_Unspecified as its I/O capability.

Requirements

Header

bt_api.h

See Also

Reference

Bluetooth Application Development Enumerations
BTSecurityLevel
BT_SSP_IO_CAPABILITY_NOTIFICATION_EVENT
BT_SSP_IO_CAPABILITY_RESPONSE_EVENT