pub async fn run_app<U, P>(
stack: Stack<'static>,
uart: &U,
config: &'static SunsetMutex<SSHStampConfig>,
platform: &P,
) -> Result<(), Error>where
U: BufferedSerial,
P: PlatformServices,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.