sendMessage method

void sendMessage(
  1. Message message
)

Sends a Protobuf message to the device.

Implementation

void sendMessage(Message message) => _serial.write(message.writeToBuffer());