mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* companion: fix for CMD_IMPORT_PRIVATE_KEY, to re-calc shared secrets
This commit is contained in:
parent
f66d900ae2
commit
f87e856347
2 changed files with 6 additions and 0 deletions
|
|
@ -88,6 +88,8 @@ protected:
|
|||
memset(connections, 0, sizeof(connections));
|
||||
}
|
||||
|
||||
void resetContacts() { num_contacts = 0; }
|
||||
|
||||
// 'UI' concepts, for sub-classes to implement
|
||||
virtual bool isAutoAddEnabled() const { return true; }
|
||||
virtual void onDiscoveredContact(ContactInfo& contact, bool is_new, uint8_t path_len, const uint8_t* path) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue