mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Rework packet serialization and parsing
This commit is contained in:
parent
ee3c4baea5
commit
2b920dfed3
3 changed files with 82 additions and 56 deletions
|
|
@ -27,6 +27,8 @@ public:
|
|||
|
||||
/**
|
||||
* @brief Processes a received packet from the bridge's medium.
|
||||
*
|
||||
* @param packet The packet that was received.
|
||||
*/
|
||||
virtual void onPacketReceived() = 0;
|
||||
virtual void onPacketReceived(mesh::Packet* packet) = 0;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue