Advanced Distributed Systems module at HSLU
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

34 lines
801 B

/*
* application.h
*
* Created on: 25.11.2022
* Author: jonas
*/
#ifndef MAIN_CHALLENGE_APP_H_
#define MAIN_CHALLENGE_APP_H_
#include "stdbool.h"
/*! \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_ParseCommand(const unsigned char* cmd, bool *handled, const McuShell_StdIOType *io);
#endif
#endif /* MAIN_CHALLENGE_APP_H_ */