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 GattResponse.ReadError that was received.