feat: Recovery-Download beim Booten

This commit is contained in:
Michael Sauer
2026-09-12 02:24:58 +02:00
parent 7474cd77e1
commit 8fa4af7eb5
6 changed files with 172 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
#ifndef NL_RECOVERY_H
#define NL_RECOVERY_H
/* Looks for the recovery station for at most 3 s. When it is there, joins it and
starts the recovery download; the chip resets on success, so this call may not return.
Must run before nl_wifi_start(): it drives the SDK Wi-Fi APIs directly, without the
nl_wifi_sm state machine, and feeds the watchdog itself while it waits. */
void nl_recovery_try(void);
#endif