|
|
|
|
@ -58,7 +58,7 @@ static void appTask(void *pv){ |
|
|
|
|
|
|
|
|
|
// endless loop
|
|
|
|
|
for(;;){ |
|
|
|
|
MyMqtt_Publish("scada/status", "Testmessage from ESP"); |
|
|
|
|
//MyMqtt_Publish("scada/status", "Testmessage from ESP");
|
|
|
|
|
|
|
|
|
|
vTaskDelay(pdMS_TO_TICKS(10000)); |
|
|
|
|
} |
|
|
|
|
@ -109,6 +109,8 @@ static uint8_t PrintStatus(const McuShell_StdIOType *io) { |
|
|
|
|
static uint8_t PrintHelp(const McuShell_StdIOType *io) { |
|
|
|
|
McuShell_SendHelpStr((unsigned char*)"challenge", (unsigned char*)"Group of ESP32 Challenge commands\r\n", io->stdOut); |
|
|
|
|
McuShell_SendHelpStr((unsigned char*)" help|status", (unsigned char*)"Shows Challenge help or status\r\n", io->stdOut); |
|
|
|
|
McuShell_SendHelpStr((unsigned char*)" setMode s(tationary)", (unsigned char*)"Sets the mode of this robot to stationary\r\n", io->stdOut); |
|
|
|
|
McuShell_SendHelpStr((unsigned char*)" setMode m(mobile)", (unsigned char*)"Sets the mode of this robot to mobile\r\n", io->stdOut); |
|
|
|
|
return ERR_OK; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|