Skip to main content

run_app

Function run_app 

Source
pub async fn run_app<U, P>(
    stack: Stack<'static>,
    uart: &U,
    config: &'static SunsetMutex<SSHStampConfig>,
    platform: &P,
) -> Result<(), Error>
Expand description

Runs the SSH server loop forever: accept TCP, run SSH, bridge to UART, then go round again. Does not return under normal operation.

ยงErrors

Returns an error only on unrecoverable TCP socket initialisation failure.