/* * application.h * * Created on: 25.11.2022 * Author: jonas */ #ifndef MAIN_CHALLENGE_APP_H_ #define MAIN_CHALLENGE_APP_H_ #include /*! \brief Module initialization, start app task */ void Challenge_App_Init(void); /*! \brief get mode of robot * \return true if stationary, false if mobile */ bool Challenge_App_GetRobotMode(void); #if PL_CONFIG_USE_SHELL #include "McuShell.h" /*! * \brief Command line and shell handler * \param cmd The command to be parsed * \param handled If command has been recognized and handled * \param io I/O handler to be used * \return error code, otherwise ERR_OK */ uint8_t Challenge_ParseShellCommand(const unsigned char* cmd, bool *handled, const McuShell_StdIOType *io); #endif #endif /* MAIN_CHALLENGE_APP_H_ */