channel carries board info

This commit is contained in:
Nam Tran
2020-11-24 18:40:27 -06:00
parent a561e6b428
commit 57443a5c26
2 changed files with 26 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
#include <cstdlib>
class Channel {
uint32_t board_id;
uint32_t id;
uint32_t size;
uint32_t version;
@@ -16,6 +17,7 @@ class Channel {
bool valid;
public:
Channel(char const * ptr, size_t len);
Channel(char const * ptr, size_t len, uint32_t board);
void Print();
};