Subversion Repositories HomeAutomation

Rev

Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
363 johboh 1
 
2
 
3
#ifndef TIMESYNC_H
4
#define TIMESYNC_H
5
 
6
void timeSync(void);
7
 
8
DWORD getTime(timeClock tc);
9
DWORD getTimeStr(timeClock tc,char *str);
10
 
11
#define MAX_ARP_TRIES 10
12
#define MAX_TCP_TRIES 10
13
 
14
#define ServerPort 80
15
 
16
#define SYNC_INTERVAL 300
17
 
18
#define CR '\r'
19
#define LF '\n'
20
 
21
#endif