Rework packet serialization and parsing

This commit is contained in:
João Brázio 2025-09-05 01:50:50 +01:00
parent ee3c4baea5
commit 2b920dfed3
No known key found for this signature in database
GPG key ID: 56A1490716A324DD
3 changed files with 82 additions and 56 deletions

View file

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