32 #ifdef MODULE_SHELL_LOCK
33 #ifndef CONFIG_SHELL_LOCK_PASSWORD
34 #error Using MODULE_SHELL_LOCK requires defining CONFIG_SHELL_LOCK_PASSWORD
42 #define CONFIG_SHELL_LOCK_ATTEMPTS_BEFORE_TIME_LOCK 3
44 #ifndef CONFIG_SHELL_LOCK_AUTO_LOCK_TIMEOUT_MS
50 #define CONFIG_SHELL_LOCK_AUTO_LOCK_TIMEOUT_MS (5 * 60 * 1000)
75 #ifdef MODULE_SHELL_LOCK_AUTO_LOCKING
80 void 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.