Share via


BthSSPSetConfigurationInfo (Compact 2013)

3/26/2014

This function sets the provided configuration information within the Bluetooth stack by specifying the I/O and Secure Simple Pairing (SSP) capabilities of the local Bluetooth device.

Syntax

DWORD BthSSPSetConfigurationInfo(
    __in const BTSSPConfigurationInfo *pInfo
);

Parameters

  • pInfo
    [in] Pointer to a BTSSPConfigurationInfo structure that contains the configuration information to be set.

Return Value

The following table shows the possible return values.

Value

Description

ERROR_SUCCESS

Success.

ERROR_SERVICE_NOT_ACTIVE

The Bluetooth stack is not present.

Remarks

You must call this function before you call any SSP functions (that is, functions that begin with "BthSSP") other than BthSSPLocalSupported and BthSSPRemoteSupported. This function specifies the I/O capabilities of the local device.

If the IOCapability member of pInfo is set to BTSSPIO_Unspecified, the use of most SSP functions and BTE_CLASS_SSP events is disabled.

Requirements

Header

bt_api.h

Library

Btdrt.lib

See Also

Reference

Bluetooth API SSP Functions
BthSSPGetConfigurationInfo
BTSSPIOCapability