onConnect abstract method

Future<DeviceStatus> onConnect()

Callback on connect. Returns the DeviceStatus of the device.

Is to be overridden in sub-classes and implement device-specific connection.

Implementation

Future<DeviceStatus> onConnect();