mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-10-23 19:12:47 +00:00
meshtimesync p1
This commit is contained in:
1 parent
fc940d27ba
commit
14cb8c61f9
30 files changed
+1231
-3
No files matched your search
@@ -157,6 +157,11 @@ protected:
|
||||
virtual void onLoginSent(const ContactInfo &contact) {}
|
||||
virtual void onChannelAdded(ChannelDetails *ch) {}
|
||||
|
||||
/* Every signature-verified advert, before contact filtering/dedup —
|
||||
* mesh time-sync harvesting hook. */
|
||||
virtual void onAdvertTimeSample(const mesh::Identity &id, uint32_t timestamp,
|
||||
uint8_t hops) { (void)id; (void)timestamp; (void)hops; }
|
||||
|
||||
// Storage concepts for subclasses to override
|
||||
virtual int getBlobByKey(const uint8_t key[], int key_len, uint8_t dest_buf[]) { return 0; }
|
||||
virtual bool putBlobByKey(const uint8_t key[], int key_len, const uint8_t src_buf[], int len) { return false; }
|
||||
|
||||
Reference in new issue
Block a user