-
Notifications
You must be signed in to change notification settings - Fork 2
/
config_network_example.h
40 lines (29 loc) · 2.11 KB
/
config_network_example.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// enter the SSIDs and passwords of as many networks you wish to try to connect to.
const int maxSsids = 4;
// There must be the same number of entities (specified above) in each of the following arrays
const String ssids[maxSsids] = {"Network1", "Network2", "Network3", "Network4"};
const String passwords[maxSsids] = {"password1", "password2", "password3", "password4"};
// If defined this must be of the form 999999999999:99999 e.g. "19216800400102560" equals 192.168.004.001:2560
// Each block of the ip address MUST be 3 digit. Use leading zeros if needed to insure 3 digits.
// The port MUST be 5 digit. Use leading zeros if needed to insure 5 digits.
// #define DEFAULT_IP_AND_PORT "19216800400102560"
// ********************************************************************************************
// The period that the controller waits for a connection in milliseconds. Default is 10 seconds (10000ms)
// If you are having problems connection to you network, try uncommenting the line increasing this
// #define SSID_CONNECTION_TIMEOUT 10000
// ********************************************************************************************
// Autoconnect to first SSID in the list above (default, if not specified is false)
// #define AUTO_CONNECT_TO_FIRST_DEFINED_SERVER true
// Autoconnect to first found server (default, if not specified is true)
// #define AUTO_CONNECT_TO_FIRST_WITHROTTLE_SERVER true
// ********************************************************************************************
// uncomment and increase the #define line below if you need to override the default buffer size
// (default, if not specified is 500)
//#define MAX_BUFFER_SIZE 1000
// *******************************************************************************************************************
// Roster selection
//
// uncomment this line if you wish the DccEXcontroller to search the roster when to enter a dcc address
// and use the roster entry if it finds it.
// #define SEARCH_ROSTER_ON_ENTRY_OF_DCC_ADDRESS true
// *******************************************************************************************************************