dashboard/src/panel/wifi_config.hpp

35 lines
1.2 KiB
C++

///////////////////////////////////////////////////////////////////////////////
// Tyler Perkins
// 21-12-21
// def overlay configuration
//
#pragma once
namespace dashboard::panel {
//This will be displayed at the top left on the status bar. Set to a blank
//string to not show anything
constexpr char WIFI_TITLE[] = "Wireless";
//Default time the slid is shown on the screen, in ms
//Default 15s
constexpr size_t WIFI_DEFAULT_TIME_ON_SCREEN = 15000;
//How long should we wait between updates? in ms
//Due to the nature of this panel, this value is ignored
constexpr size_t WIFI_UPDATE_INTERVAL = 60000;
//Set to true to have your public IP be shown on the wifi page
//Will make a curl request to WIFI_PUBLIC_IP_URL when the frame
//is rendered. This this is a privacy concern disable this option
constexpr bool WIFI_SHOW_PUBLIC_IP = true;
constexpr char WIFI_PUBLIC_IP_URL[] = "http://ipinfo.io/ip";
//All of the following options WILL be shown on the screen.
//If this is a privacy concernt for you, set the value to be blank
//(ie "") and it will not be shown
constexpr char WIFI_NETWORK_NAME[] = "MyNetwork";
constexpr char WIFI_NETWORK_PASS[] = "MyPassword";
}