-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathNetwork.h
More file actions
20 lines (15 loc) · 986 Bytes
/
Network.h
File metadata and controls
20 lines (15 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Adjust the following values to match your needs
// -----------------------------------------------
#define servername "fileserver" // Set your server's logical name here e.g. if 'myserver' then address is http://myserver.local/
IPAddress local_IP(192, 168, 0, 150); // Set your server's fixed IP address here
IPAddress gateway(192, 168, 0, 1); // Set your network Gateway usually your Router base address
IPAddress subnet(255, 255, 255, 0); // Set your network sub-network mask here
IPAddress dns(192,168,0,1); // Set your network DNS usually your Router base address
const char ssid_1[] = "your_SSID1";
const char password_1[] = "your_PASSWORD_for SSID1";
const char ssid_2[] = "your_SSID2";
const char password_2[] = "your_PASSWORD_for SSID2";
const char ssid_3[] = "your_SSID3";
const char password_3[] = "your_PASSWORD_for SSID3";
const char ssid_4[] = "your_SSID4";
const char password_4[] = "your_PASSWORD_for SSID4";