Files
ninlight-w600/src/net/nl_recovery.h
T

11 lines
418 B
C

#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