flip_wifi_storage.h 550 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <flip_wifi.h>
  3. // define the paths for all of the FlipperHTTP apps
  4. #define WIFI_SSID_LIST_PATH STORAGE_EXT_PATH_PREFIX "/apps_data/flip_wifi/data/wifi_list.txt"
  5. // Function to save the playlist
  6. void save_playlist(WiFiPlaylist *playlist);
  7. // Function to load the playlist
  8. bool load_playlist(WiFiPlaylist *playlist);
  9. void save_settings(const char *ssid, const char *password);
  10. bool save_char(
  11. const char *path_name, const char *value);
  12. bool load_char(
  13. const char *path_name,
  14. char *value,
  15. size_t value_size);