IPWorks BLE 2020 Delphi Edition

Questions / Feedback?

Connected Event

Fired immediately after a connection to a remote device completes (or fails).

Syntax

type TConnectedEvent = procedure (
  Sender: TObject;
  StatusCode: Integer;
  const Description: String
) of Object;

property OnConnected: TConnectedEvent read FOnConnected write FOnConnected;

Remarks

If the connection is made successfully, StatusCode is 0 and Description is "OK".

If the connection fails, StatusCode has the error code returned by the Bluetooth stack. Description contains a description of this code.

Refer to the Connect method for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks BLE 2020 Delphi Edition - Version 20.0 [Build 8158]