Files
story/firmware/echoear-platform-agent/main/device_reset.h
T

10 lines
451 B
C
Raw Normal View History

#pragma once
#include "esp_err.h"
// Run immediately after NVS initialization, before BLE, audio or voice tasks.
// Completes only a reset already authorized by the cloud and durably recorded.
esp_err_t device_reset_boot_cleanup(void);
// BLE provisioning worker only: after a fresh physical confirmation and Wi-Fi
// connection. That boot mode never starts call/control/OTA workers.
esp_err_t device_reset_from_setup(const char *physical_event_id);