Moved MAX_SSID and MAX_PWD from Settings.h to Network.h
This commit is contained in:
parent
ba66c6f01a
commit
c51396a170
|
|
@ -7,11 +7,15 @@
|
|||
|
||||
using std::unordered_set;
|
||||
|
||||
const int MAX_SSID=32; // max number of characters in WiFi SSID
|
||||
const int MAX_PWD=64; // max number of characters in WiFi Password
|
||||
|
||||
///////////////////////////////
|
||||
|
||||
struct Network {
|
||||
|
||||
const int MAX_HTTP=4095; // max number of bytes in HTTP message
|
||||
|
||||
char *apPassword=DEFAULT_AP_PASSWORD; // Access Point password (does not need to be secret - only used to ensure excrypted WiFi connection)
|
||||
unsigned long lifetime=DEFAULT_AP_TIMEOUT*1000; // length of time (in milliseconds) to keep Access Point alive before shutting down and re-starting
|
||||
|
||||
|
|
|
|||
|
|
@ -32,12 +32,6 @@
|
|||
|
||||
const int MAX_CONNECTIONS=8;
|
||||
|
||||
//////////////////////////////////////////////////////
|
||||
// Maximum characters in WiFi SSID and Password //
|
||||
|
||||
const int MAX_SSID=32;
|
||||
const int MAX_PWD=64;
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
// Message Log Level Control Macros //
|
||||
// 0=Minimal, 1=Informative, 2=All //
|
||||
|
|
|
|||
Loading…
Reference in New Issue