* companion: new CMD_GET_ADVERT_PATH -> RESP_CODE_ADVERT_PATH

This commit is contained in:
Scott Powell 2025-06-18 16:02:09 +10:00
parent 2a4b55a555
commit e6ce3c896d
5 changed files with 60 additions and 7 deletions

View file

@ -89,7 +89,7 @@ protected:
// 'UI' concepts, for sub-classes to implement
virtual bool isAutoAddEnabled() const { return true; }
virtual void onDiscoveredContact(ContactInfo& contact, bool is_new) = 0;
virtual void onDiscoveredContact(ContactInfo& contact, bool is_new, uint8_t path_len, const uint8_t* path) = 0;
virtual bool processAck(const uint8_t *data) = 0;
virtual void onContactPathUpdated(const ContactInfo& contact) = 0;
virtual void onMessageRecv(const ContactInfo& contact, mesh::Packet* pkt, uint32_t sender_timestamp, const char *text) = 0;