feat(control-plane): add configurable Wi-Fi reset button
This commit is contained in:
@@ -24,6 +24,7 @@ typedef enum {
|
||||
CONTROL_PLANE_KEY_ID_PTT = 0,
|
||||
CONTROL_PLANE_KEY_ID_SW1,
|
||||
CONTROL_PLANE_KEY_ID_SW2,
|
||||
CONTROL_PLANE_KEY_ID_RESET,
|
||||
} control_plane_key_id_t;
|
||||
|
||||
typedef enum {
|
||||
@@ -54,4 +55,3 @@ typedef struct {
|
||||
control_plane_key_event_t key;
|
||||
} data;
|
||||
} control_plane_system_event_t;
|
||||
|
||||
|
||||
@@ -158,6 +158,7 @@ const char *control_plane_key_event_type_name(control_plane_key_event_type_t typ
|
||||
|
||||
esp_err_t control_plane_start_key_input_task(void);
|
||||
void control_plane_stop_key_input_task(void);
|
||||
void control_plane_reset_wifi_provisioning_and_restart(void);
|
||||
esp_err_t control_plane_schedule_websocket_wait_task(void);
|
||||
void control_plane_set_ptt_active(bool active);
|
||||
esp_err_t control_plane_enter_mini_program_reprovisioning(const char *reason);
|
||||
|
||||
Reference in New Issue
Block a user