Loading...
Searching...
No Matches
shell_lock.h File Reference

Shell interface definition. More...

Detailed Description

Shell interface definition.

Definition in file shell_lock.h.

#include "shell.h"
+ Include dependency graph for shell_lock.h:

Go to the source code of this file.

Macros

#define CONFIG_SHELL_LOCK_ATTEMPTS_BEFORE_TIME_LOCK   3
 Lock the login process after given attempts of failed logins for a few seconds.
 
#define CONFIG_SHELL_LOCK_AUTO_LOCK_TIMEOUT_MS   (5 * 60 * 1000)
 Lock the shell after this time span without user input Defaults to 5 minutes but can be overwritten in the applications Makefile.
 

Functions

void shell_lock_checkpoint (char *line_buf, int buf_size)
 Entry point for the lock mechanism.
 
bool shell_lock_is_locked (void)
 Returns true, if the shell is in the locked state.
 
void shell_lock_do_lock (void)
 Lock the shell.