CLI example for NNN50
Dependencies: NNN50_WIFI_API
Fork of NNN50_WiFi_HelloWorld 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 Thu Jul 14 2022 01:45:52 by
1.7.2
