Add option to set up for wifi or AP on compile #53

Merged
W1CDN merged 9 commits from access-point into main 2023-10-01 11:29:23 -05:00
Showing only changes of commit 7fc43238cd - Show all commits

View File

@ -41,9 +41,9 @@ const char* network = "ap";
const char* ssid = WIFI_SSID; const char* ssid = WIFI_SSID;
const char* password = WIFI_PASSWORD; const char* password = WIFI_PASSWORD;
// Create a new access point // Create a new access point
// Replace with your network credentials // Replace with your desired network credentials
const char* ssid_ap = "vulpes001"; const char* ssid_ap = "vulpes";
const char* password_ap = NULL; //"123456789"; const char* password_ap = NULL; //"123456789"; //NULL is empty
IPAddress local_ip(192,168,0,1); IPAddress local_ip(192,168,0,1);
IPAddress gateway(192,168,0,1); IPAddress gateway(192,168,0,1);
IPAddress subnet(255,255,255,0); IPAddress subnet(255,255,255,0);