8 #ifndef __SINRICPRO_CONFIG_H__
9 #define __SINRICPRO_CONFIG_H__
22 #define STR_HELPER(x) #x
23 #define STR(x) STR_HELPER(x)
26 #define SINRICPRO_VERSION_MAJOR 2
27 #define SINRICPRO_VERSION_MINOR 4
28 #define SINRICPRO_VERSION_REVISION 0
29 #define SINRICPRO_VERSION STR(SINRICPRO_VERSION_MAJOR) "." STR(SINRICPRO_VERSION_MINOR) "." STR(SINRICPRO_VERSION_REVISION)
32 #define SINRICPRO_SERVER_URL "ws.sinric.pro"
33 #define SINRICPRO_SERVER_PORT 80
34 #define SINRICPRO_SERVER_SSL_PORT 443
37 #define UDP_MULTICAST_IP IPAddress(224,9,9,9)
38 #define UDP_MULTICAST_PORT 3333
41 #define WEBSOCKET_PING_INTERVAL 300000
42 #define WEBSOCKET_PING_TIMEOUT 10000
43 #define WEBSOCKET_RETRY_COUNT 2
46 #define BUCKET_SIZE 10
47 #define DROP_OUT_TIME 60000
48 #define DROP_IN_TIME 1000u