Bernard,
just to see what is possible:
in pfod.cpp:
void RemoteControl::sendBumperMenu(boolean update) {
if (update) serialPort->print("{:"); else serialPort->print(F("{.Bumper`1000"));
serialPort->print(F("|b00~Bumper Use "));
sendYesNo(robot->bumperUse);
serialPort->println(F("|b01~Counter l, r "));
serialPort->print(robot->bumperLeftCounter);
serialPort->print(", ");
serialPort->print(robot->bumperRightCounter);
#if defined(DUE)
serialPort->println(F("|b02~Value l, r "));
serialPort->print(robot->bumperLeft);
serialPort->print(", ");
serialPort->print(robot->bumperRight);
#endif
serialPort->println(F("|b03~Button Use "));
sendYesNo(robot->buttonUse);
serialPort->println();
Serial.println("#SENDER,12345,abcd#");
//serialPort->println(F("#SENDER,12345,abcd#")); //Solution1 <- simulating command
serialPort->println(F("#SENDER,12345,abcd")); //Solution2 <- simulating command
serialPort->println();
serialPort->println("}");
}
You can now see the mqtt-commandos in the esp32-console.
Gruß Fürst Ruprecht