timeserver(experimental)
This commit is contained in:
1 parent
f9f5f499ff
commit
c13934be99
7 files changed
+242
-61
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user