-
Notifications
You must be signed in to change notification settings - Fork 0
/
system_setup.h
28 lines (20 loc) · 1.19 KB
/
system_setup.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
/* system setup file for eStreamPlayer32_VS1053 */
const char* SSID = "xxx";
const char* PSK = "xxx";
#define VS1053_CS 5
#define VS1053_DCS 21
#define VS1053_DREQ 22
/* file server login credentials */
const char* LIBRARY_USER = "";
const char* LIBRARY_PWD = "";
/* SCRIPT_URL should point to the php script on the music file server */
const char* SCRIPT_URL = "http://192.168.0.50/music/eSP32_vs1053.php";
/* If SET_STATIC_IP is set to true then STATIC_IP, GATEWAY, SUBNET and PRIMARY_DNS have to be set to some sane values */
const bool SET_STATIC_IP = false;
const IPAddress STATIC_IP(192, 168, 0, 20); /* This should be outside your router dhcp range! */
const IPAddress GATEWAY(192, 168, 0, 1); /* Set to your gateway ip address */
const IPAddress SUBNET(255, 255, 255, 0); /* Usually 255,255,255,0 check in your router or pc connected to the same network */
const IPAddress PRIMARY_DNS(192, 168, 0, 10); /* Check in your router */
const IPAddress SECONDARY_DNS(0, 0, 0, 0); /* Check in your router */
const char* NTP_POOL = "nl.pool.ntp.org";
const char* TIMEZONE = "CET-1CEST,M3.5.0/2,M10.5.0/3"; /* Central European Time - see https://sites.google.com/a/usapiens.com/opnode/time-zones */