33#ifdef MODULE_SHELL_LOCK
34 #ifndef CONFIG_SHELL_LOCK_PASSWORD
35 #error Using MODULE_SHELL_LOCK requires defining CONFIG_SHELL_LOCK_PASSWORD
43#define CONFIG_SHELL_LOCK_ATTEMPTS_BEFORE_TIME_LOCK 3
45#ifndef CONFIG_SHELL_LOCK_AUTO_LOCK_TIMEOUT_MS
51#define CONFIG_SHELL_LOCK_AUTO_LOCK_TIMEOUT_MS (5 * 60 * 1000)
76#ifdef MODULE_SHELL_LOCK_AUTO_LOCKING
81void shell_lock_auto_lock_refresh(
void);
void shell_lock_checkpoint(char *line_buf, int buf_size)
Entry point for the lock mechanism.
void shell_lock_do_lock(void)
Lock the shell.
bool shell_lock_is_locked(void)
Returns true, if the shell is in the locked state.
Shell interface definition.