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.