sendCommand abstract method

Future<void> sendCommand(
  1. DeviceCommand command
)

This will send the comamnd to the external source. If the communicator is not active, this will throw an exception. If the communicator is offline, but active, it should send the command the next time it reconnects.

Implementation

Future<void> sendCommand(DeviceCommand command);