boolean ackFail();
You can call this method in onWrite() and callback to respond with a failed result to the central device.
LGATTServer.h
LGATTWriteRequest Class