IPWorks BLE 2020 Delphi Edition

Questions / Feedback?

ServerUpdate Event

Fired when the currently connected server updates its name or available services.

Syntax

type TServerUpdateEvent = procedure (
  Sender: TObject;
  const Name: String;
  const ChangedServices: String
) of Object;

property OnServerUpdate: TServerUpdateEvent read FOnServerUpdate write FOnServerUpdate;

Remarks

This event is fired under one of two conditions, both of which involve some sort of server-side change other than the value of a subscribed characteristic having changed (subscribed characteristic value updates are delivered through the Value event).

If the server's name has changed, this event is fired with the new name in the Name parameter, and the ServerName property is updated as well.

If the server's services have changed, this event is fired with a non-empty value in the ChangedServices parameter.

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