Compartilhar via


BthSSPSendKeypressNotification (Compact 2013)

3/26/2014

This function is called repeatedly by the local application to communicate passkey entry progress to the remote Bluetooth device.

Syntax

DWORD BthSSPSendKeypressNotification(
    __in const BT_ADDR               *RemoteDevice,
    BTSSP_Keypress_Notification_Type  Type
);

Parameters

  • RemoteDevice
    [in] Pointer to the address of the remote device to receive key press notifications.

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

After the local application receives a BTE_SSP_USER_PASSKEY_REQUEST event, it calls this function one time for each key stroke, as the user enters the passkey.

After the user has completed or canceled the passkey entry, the application calls BthSSPUserPasskeyRequestReply to send the passkey value.

Requirements

Header

bt_api.h

Library

Btdrt.lib

See Also

Reference

Bluetooth API SSP Functions
BT_SSP_PASSKEY_REQUEST_EVENT