Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of NNN40_CLI by
Processes commands coming from the serial port. More...
Go to the source code of this file.
Functions | |
| uint8_t | cyntecAtoi (uint8_t *str, uint8_t len) |
| Converts a character representation of a hex to real value. | |
| void | cyntecProcessCommandInput (uint8_t input) |
| Process the given char as a command. | |
| void | cyntecCommandReaderInit (void) |
| Initialize the command interpreter. | |
| uint8_t * | cyntecGetCommandArgument (uint8_t argNum, uint8_t *length) |
| Retrieves unsigned integer arguments. | |
| uint8_t | cyntecGetCommandTokenCnt (void) |
| Retrieves the token count. | |
Variables | |
| CyntecCommandEntry | cyntecCommandTable [] |
| File: core-cli.c Description: Core CLI commands used by all applications regardless of profile. | |
Detailed Description
Processes commands coming from the serial port.
See commands for documentation.
Copyright 2014 by DELTA Corporation. All rights reserved.
Definition in file command-interpreter.h.
Function Documentation
| uint8_t cyntecAtoi | ( | uint8_t * | str, |
| uint8_t | len | ||
| ) |
Converts a character representation of a hex to real value.
- Parameters:
-
c is the hex value in char format
- Returns:
- the value of the hex otherwise INVALID_HEX_CHARACTER
Definition at line 79 of file command-interpreter.cpp.
| void cyntecCommandReaderInit | ( | void | ) |
Initialize the command interpreter.
Definition at line 232 of file command-interpreter.cpp.
| uint8_t* cyntecGetCommandArgument | ( | uint8_t | argNum, |
| uint8_t * | length | ||
| ) |
Retrieves unsigned integer arguments.
Definition at line 446 of file command-interpreter.cpp.
| uint8_t cyntecGetCommandTokenCnt | ( | void | ) |
Retrieves the token count.
Definition at line 466 of file command-interpreter.cpp.
| void cyntecProcessCommandInput | ( | uint8_t | input ) |
Process the given char as a command.
Definition at line 399 of file command-interpreter.cpp.
Variable Documentation
| CyntecCommandEntry cyntecCommandTable[] |
File: core-cli.c Description: Core CLI commands used by all applications regardless of profile.
Copyright 2014 by CYNTEC Corporation. All rights reserved.
Definition at line 21 of file core_cli.cpp.
Generated on Tue Jul 12 2022 21:48:15 by
1.7.2
