Add option to set up for wifi or AP on compile #53
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user