timeserver(experimental)

This commit is contained in:
Verkehrsrot committed 2019-03-10 17:35:57 +01:00
1 parent f9f5f499ff
commit c13934be99
7 files changed
+242 -61

No files matched your search

-1
View File
@@ -42,7 +42,6 @@ public:
uint8_t getSize(void);
uint8_t *getBuffer(void);
void addByte(uint8_t value);
void addWord(uint16_t value);
void addCount(uint16_t value, uint8_t sniffytpe);
void addConfig(configData_t value);
void addStatus(uint16_t voltage, uint64_t uptime, float cputemp, uint32_t mem,
-4
View File
@@ -16,10 +16,6 @@ typedef struct {
uint8_t fractions; // 1/250ths second = 4 milliseconds resolution
} time_sync_message_t;
extern time_sync_message_t time_sync_messages[], time_sync_answers[];
extern uint8_t time_sync_seqNo;
extern bool time_sync_pending;
void send_Servertime_req(void);
void recv_Servertime_ans(uint8_t buf[], uint8_t buf_len);
void process_Servertime_sync_req(void *taskparameter);