mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* new targets: Xiao_C3_repeater_sx1262, _sx1268
This commit is contained in:
parent
4bf7d7d58f
commit
f1ab110ae1
5 changed files with 198 additions and 9 deletions
|
|
@ -92,8 +92,6 @@ protected:
|
|||
*/
|
||||
virtual void onPeerPathRecv(Packet* packet, int sender_idx, const uint8_t* secret, uint8_t* path, uint8_t path_len, uint8_t extra_type, uint8_t* extra, uint8_t extra_len) { }
|
||||
|
||||
virtual int searchChannelsByHash(const uint8_t* hash, GroupChannel channels[], int max_matches);
|
||||
|
||||
/**
|
||||
* \brief A new incoming Advertisement has been received.
|
||||
* NOTE: these can be received multiple times (per id/timestamp), via different routes
|
||||
|
|
@ -114,6 +112,13 @@ protected:
|
|||
*/
|
||||
virtual void onPathRecv(Packet* packet, Identity& sender, uint8_t* path, uint8_t path_len, uint8_t extra_type, uint8_t* extra, uint8_t extra_len) { }
|
||||
|
||||
/**
|
||||
* \brief Perform search of local DB of matching GroupChannels.
|
||||
* \param channels OUT - store matching channels in this array, up to max_matches
|
||||
* \returns Number of channels with matching hash
|
||||
*/
|
||||
virtual int searchChannelsByHash(const uint8_t* hash, GroupChannel channels[], int max_matches);
|
||||
|
||||
/**
|
||||
* \brief An encrypted group data packet has been received.
|
||||
* NOTE: the same payload can be received multiple times, via different routes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue