cmd_system.h 645 B

123456789101112131415161718192021222324
  1. /* Console example — various system commands
  2. This example code is in the Public Domain (or CC0 licensed, at your option.)
  3. Unless required by applicable law or agreed to in writing, this
  4. software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  5. CONDITIONS OF ANY KIND, either express or implied.
  6. */
  7. #pragma once
  8. #include "esp_system.h"
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. // Register system functions
  13. void register_system();
  14. esp_err_t guided_factory();
  15. esp_err_t guided_restart_ota();
  16. void simple_restart();
  17. FILE * system_open_memstream(const char * cmdname,char **buf,size_t *buf_size);
  18. #ifdef __cplusplus
  19. }
  20. #endif