Initial sanitized SmartSpeaker snapshot
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "esp_err.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Initializes the websocket client and starts the connection process
|
||||
void socket_client_init(void);
|
||||
|
||||
// Triggers an immediate WebSocket telemetry report push
|
||||
void trigger_telemetry_broadcast(void);
|
||||
|
||||
// OTA progress/result messages (called from ota_manager.c)
|
||||
void socket_send_ota_progress(int percent, int bytes_written, int bytes_total);
|
||||
void socket_send_ota_complete(void);
|
||||
void socket_send_ota_error(const char *reason);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user