WriteResponse Event
Fired when the server acknowledges a successful value write request.
Syntax
type TWriteResponseEvent = procedure ( Sender: TObject; const ServiceId: String; const CharacteristicId: String; const DescriptorId: String; const Uuid: String; const Description: String ) of Object;
property OnWriteResponse: TWriteResponseEvent 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.