BIAZI.ENG.BR
SZSPTP ez430-RF2480
1.0
ZigBee Sensor Network with synchronized time and time-stamped measurements.
<<
Programming
Electronics
Contact
License/Rights
>>
Main Page
Related Pages
Modules
Classes
Files
License
File List
File Members
ptp_const.h
Go to the documentation of this file.
1
/*
2
* ptp_const.h
3
*
4
* Created on: 15/04/2013
5
* Author: fernando
6
*/
7
17
#ifndef PTP_CONST_H
18
#define PTP_CONST_H
19
20
#include "
ptp_types.h
"
21
#include "
ptp_cfg.h
"
22
36
#define PTP_ALL_CLOCKS 0xFFFFFFFFFFFFFFFF;
37
41
#define PTP_PROFILE_DEFAULT_E2E = 0x001B19000100
42
#define PTP_PROFILE_DEFAULT_P2P = 0x001B19000200
43
47
#if PTP_CLOCK_TYPE == PTP_CLOCK_TYPE_BOUNDARY
48
#define PTP_CT PTP_CT_BOUNDARY
49
#elif PTP_CLOCK_TYPE == PTP_CLOCK_TYPE_ORDINARY
50
#define PTP_CT PTP_CT_ORDINARY
51
#else
52
#define PTP_CT PTP_CT_TRANSPARENT
53
#endif
54
58
#define PTP_ZEROSEQ64 "\x00\x00\x00\x00\x00\x00\x00\x00"
59
64
#endif
/* PTP_CONST_H */
ptp_types.h
PTP data types specifications.
ptp_cfg.h
PTP configuration values to compile.
Local:
Root
/
UPM
/
Master Tesis
/
SZS, PTP and Program
/
ptp_const.h