onExecuteWriteRequest

Emulates an Execute Write request to the characteristic.

This method after at least one onPrepareWriteRequest call. When execute is true, all previously prepared writes should be committed and applied atomically in the order they were received. When execute is false, all previously prepared writes should be discarded.

Return

The response of the execute write operation. This emulates a response received from the peripheral and it will be delayed to the client by one connection interval.

Parameters

execute

true to commit all previously prepared writes, false to discard them.

See also

Throws

in case of a client error (reported without a delay).