|
static uint8_t | ketCube_terminal_getNextParam (uint8_t ptr) |
| Return next command parameter index. More...
|
|
void | ketCube_terminal_usartIoInit (void) |
|
void | ketCube_terminal_usartIoDeInit (void) |
|
void | ketCube_terminal_usartRx (void) |
|
void | ketCube_terminal_usartTx (void) |
|
void | ketCube_terminal_usartErrorCallback (void) |
|
void | ketCube_terminal_usartWakeupCallback (void) |
|
void | ketCube_terminal_UsartPrintVa (char *format, va_list args) |
|
void | ketCube_terminal_UsartPrint (char *format,...) |
|
bool | IsNewCharReceived (void) |
|
char | GetNewChar (void) |
|
void | ketCube_terminal_Init (void) |
| Init terminal. More...
|
|
static bool | ketCube_terminal_parseParams (ketCube_terminal_cmd_t *command, ketCube_terminal_command_flags_t *contextFlags) |
| Parse command arguments and validate them. More...
|
|
static void | ketCube_terminal_printCommandOutput (ketCube_terminal_cmd_t *command) |
| Parse and print command outputs. More...
|
|
static int | ketCube_terminal_processCommandErrors () |
| Processes command error code, prints the result. More...
|
|
bool | ketCube_terminal_canRunCommand (ketCube_terminal_cmd_t *command, bool local) |
|
void | ketCube_terminal_execCMD (void) |
| Execute command-in-buffer. More...
|
|
void | ketCube_terminal_printCMDHelp (void) |
| Print help related to the current user input. More...
|
|
void | ketCube_terminal_UpdateCmdLine (void) |
| Print current unfinished command. More...
|
|
void | ketCube_terminal_ClearCmdLine (void) |
| Clear command line. More...
|
|
void | ketCube_terminal_ProcessCMD (void) |
| Process user input. More...
|
|
void | ketCube_terminal_Println (char *format,...) |
| Print line to serial line + newline. More...
|
|
void | ketCube_terminal_Print (char *format,...) |
| Print format to serial line. More...
|
|
void | ketCube_terminal_CoreSeverityPrintln (ketCube_severity_t msgSeverity, char *format,...) |
| Print Debug info to serial line + newline. More...
|
|
void | ketCube_terminal_DriverSeverityPrintln (const char *drvName, ketCube_severity_t msgSeverity, char *format,...) |
| Print Debug info to serial line + newline. More...
|
|
void | ketCube_terminal_ModSeverityPrintln (ketCube_severity_t msgSeverity, ketCube_cfg_moduleIDs_t modId, char *format, va_list args) |
| Print Debug info to serial line + newline. More...
|
|
void | ketCube_terminal_DebugPrintln (char *format,...) |
| Print Debug info to serial line + newline. More...
|
|
void | ketCube_terminal_DebugPrint (char *format,...) |
| Print Debug info to serial line. More...
|
|
This file contains the KETCube Terminal.
- Author
- Jan Belohoubek
-
Martin Ubl
- Version
- 0.2
- Date
- 2018-10-10
- Attention
© Copyright (c) 2018 University of West Bohemia in Pilsen All rights reserved.
Developed by: The SmartCampus Team Department of Technologies and Measurement www.smartcampus.cz | www.zcu.cz
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution.
- Neither the names of The SmartCampus Team, Department of Technologies and Measurement and Faculty of Electrical Engineering University of West Bohemia in Pilsen, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.