Share via


BthRefreshEncryptionKey (Compact 7)

3/12/2014

This function causes the Controller to refresh the encryption key by pausing and resuming encryption.

Syntax

int BthRefreshEncryptionKey(
    BT_ADDR *pbt
);

Parameters

  • pbt
    [in] Pointer to the device address.

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.

Requirements

Header

bt_api.h

Library

Btdrt.lib

See Also

Reference

Bluetooth API Management Functions