onFailedToRead

Sets up a Transformation when failing to read from a RemoteAttribute.

Parameters

action

the Transformation to apply when a Response is received. Contains the Trigger that caused the RemoteAttribute to be read and the GattResponse.ReadError that was received.