PHiLIP
app_shell_if.h
Go to the documentation of this file.
1 /*
2  * Copyright 2020 Kevin Weiss for HAW Hamburg
3  *
4  * This file is subject to the terms and conditions of the MIT License. See the
5  * file LICENSE in the top level directory for more details.
6  * SPDX-License-Identifier: MIT
7  */
8 
23 #ifndef APP_SHELL_IF_H_
24 #define APP_SHELL_IF_H_
25 
26 /* Defines ********************************************************************/
28 #define RX_END_CHAR '\n'
29 
31 #define TX_END_STR "\n"
32 
33 /* Function prototypes ********************************************************/
52 error_t parse_command(char *str, uint16_t buf_size, uint8_t access);
53 
54 #endif /* APP_SHELL_IF_H_ */
55 
error_t parse_command(char *str, uint16_t buf_size, uint8_t access)
Parses a string and executes commands.
Definition: app_shell_if.c:118