refactor: add populateContactFromAdvert()

This commit is contained in:
taco 2026-01-13 01:05:42 +11:00
parent 403ce1db08
commit 741564dd48
2 changed files with 29 additions and 38 deletions

View file

@ -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