sendCommand method
Sends the given command
to the back end command and control server.
Implementation
@override
Future<void> sendCommand(DeviceCommand command) async {
if (_active == true) {
_commandQueue.add(command);
_sendCommands();
}
}