Always send the ReadSettings command in short format

This is needed for FIRE
pull/25/head
Paul Hollinsky 2020-08-10 12:30:30 -04:00
parent 7b3782cbe7
commit 07e99515fa
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ bool Encoder::encode(const Packetizer& packetizer, std::vector<uint8_t>& result,
msg->network = Network::NetID::Main51; msg->network = Network::NetID::Main51;
m51msg->command = cmd; m51msg->command = cmd;
switch(cmd) { switch(cmd) {
case Command::ReadSettings:
case Command::RequestSerialNumber: case Command::RequestSerialNumber:
case Command::EnableNetworkCommunication: case Command::EnableNetworkCommunication:
case Command::EnableNetworkCommunicationEx: case Command::EnableNetworkCommunicationEx: