dateSourceTypes.h
1 #ifndef DATE_SOURCE_TYPES_H_
2 #define DATE_SOURCE_TYPES_H_
3 
4 #include <string>
5 
6 namespace dpyRtc {
7 
10 {
11  GNSS = 0,
12  MODEM = 1,
13  SNTP = 2,
14  FILE = 3,
15 };
16 
29 {
31  std::uint32_t Priority;
32  std::string URI;
33  bool LocalTime;
34 };
35 
36 } //dpyRtc
37 
38 #endif /* DATE_SOURCE_TYPES_H_ */
Definition: dateSourceTypes.h:28
std::string URI
URL/IP address or file absolute path where date source is located (127.0.0.1 for localhost) ...
Definition: dateSourceTypes.h:32
DateSourceType
Defines the possible status of date sources.
Definition: dateSourceTypes.h:9
bool LocalTime
Indicates if source is provided in local time or UTC time.
Definition: dateSourceTypes.h:33
std::uint32_t Priority
Priority of date source [1 - highest priority, 100 - lowest priority].
Definition: dateSourceTypes.h:31
SNTP Server.
Definition: dateSourceTypes.h:13
Modem device.
Definition: dateSourceTypes.h:12
DateSourceType Type
Date Source Type.
Definition: dateSourceTypes.h:30
Gnss device.
Definition: dateSourceTypes.h:11
Deepsy Rtc namespace that includes the different enums, structs or method signatures that should be u...
Definition: rtcApi.h:14
File , containing a line with date time info in ISO 8601:2000 standard date format [FTTZ]...
Definition: dateSourceTypes.h:14