Share via


BthSSPReadLocalOOBData (Compact 7)

3/12/2014

This function retrieves the local out-of-band (OOB) data for OOB transmission to a peer Bluetooth device.

Syntax

DWORD BthSSPReadLocalOOBData(
    __out BTSSPOOBData *pData
);

Parameters

  • pData
    [out] Pointer to a BTSSPOOBData structure that, on return, contains the requested OOB data.

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

The local application should call this function to retrieve the local values of C (hash) and R (randomizer) for transmission to a remote Bluetooth device by using an OOB mechanism.

Requirements

Header

bt_api.h

Library

Btdrt.lib

See Also

Reference

Bluetooth API SSP Functions