Begin adding an encoder for messages

This commit is contained in:
Paul Hollinsky
2018-10-01 16:16:49 -04:00
parent d7372bbd5a
commit 5bf50ddc00
8 changed files with 133 additions and 15 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ bool Communication::close() {
}
bool Communication::sendPacket(std::vector<uint8_t>& bytes) {
return impl->write(packetizer->packetWrap(bytes));
return rawWrite(packetizer->packetWrap(bytes));
}
bool Communication::sendCommand(Command cmd, std::vector<uint8_t> arguments) {