mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
refactor: add populateContactFromAdvert()
This commit is contained in:
parent
403ce1db08
commit
741564dd48
2 changed files with 29 additions and 38 deletions
|
|
@ -89,6 +89,7 @@ protected:
|
|||
}
|
||||
|
||||
void resetContacts() { num_contacts = 0; }
|
||||
void populateContactFromAdvert(ContactInfo& ci, const mesh::Identity& id, const AdvertDataParser& parser, uint32_t timestamp);
|
||||
ContactInfo* allocateContactSlot(); // helper to find slot for new contact
|
||||
|
||||
// 'UI' concepts, for sub-classes to implement
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue