Go to the source code of this file.
◆ CONSOLE_MAX_LINE_LEN
#define CONSOLE_MAX_LINE_LEN CONFIG_CONSOLE_INPUT_MAX_LINE_LEN |
◆ console_input_fn
Console input processing handler signature.
Input processing is started when string is typed in the console. Carriage return is translated to NULL making string always NULL terminated. Application before calling register function need to initialize two fifo queues mentioned below.
- Parameters
-
avail | k_fifo queue keeping available input slots |
lines | k_fifo queue of entered lines which to be processed in the application code. |
completion | callback for tab completion of entered commands |