BthSSPSendKeypressNotification (Compact 7)
3/12/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.
- Type
[in] A BTSSP_Keypress_Notification_Type value indicating the kind of input progress; the action occurring on the remote device.
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 |