IPWorks Bluetooth 2020 Delphi Edition

Questions / Feedback?

AuthRequest Event

Fired when a device requests authentication.

Syntax

type TAuthRequestEvent = procedure (
  Sender: TObject;
  const Address: String;
  const Name: String;
  var Password: String;
  var Accept: Boolean
) of Object;

property OnAuthRequest: TAuthRequestEvent read FOnAuthRequest write FOnAuthRequest;

Remarks

This event fires when a device requests authentication. This will only fire if StartAuthMonitor has been previously called.

Address holds the Bluetooth address. For instance "00:02:72:C6:64:B7".

Name is the name of the device.

Password defines the password to be sent back to the device. This parameter will always be empty when the event fires and must be set within the event.

Accept specifies whether to accept the request. The default value is False. This must be set to True within this event to accept the request.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Bluetooth 2020 Delphi Edition - Version 20.0 [Build 7941]