IPWorks BLE 2020 C++ Builder Edition

Questions / Feedback?

WriteResponse Event

Fired when the server acknowledges a successful value write request.

Syntax

typedef struct {
  String ServiceId;
  String CharacteristicId;
  String DescriptorId;
  String Uuid;
  String Description;
} TiplBLEClientWriteResponseEventParams;

typedef void __fastcall (__closure *TiplBLEClientWriteResponseEvent)(System::TObject* Sender, TiplBLEClientWriteResponseEventParams *e);

__property TiplBLEClientWriteResponseEvent OnWriteResponse = { read=FOnWriteResponse, write=FOnWriteResponse };

Remarks

This event is fired when the server acknowledges a successful value write request for a characteristic or descriptor.

ServiceId holds the Id of the service.

CharacteristicId holds the Id of the characteristic.

DescriptorId holds the Id of the descriptor. This is only populated when a descriptor value is written.

Uuid and Description are the UUID and Bluetooth SIG user-friendly name (if one is defined) of the characteristic or descriptor.

Note that this event is not fired if the write request was sent using PostValue, regardless of the outcome.

Refer to the WriteValue method for more information.

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