diff options
Diffstat (limited to 'manager.hpp')
-rw-r--r-- | manager.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manager.hpp b/manager.hpp index d7282e6..c0c4249 100644 --- a/manager.hpp +++ b/manager.hpp @@ -2,6 +2,7 @@ #include <blobs-ipmid/blobs.hpp> #include <ctime> +#include <host-ipmid/oemrouter.hpp> #include <memory> #include <string> #include <unordered_map> @@ -10,6 +11,16 @@ namespace blobs { +/* The maximum read size. + * NOTE: Once this can be dynamically determined, we'll switch to that method. + * Having this in a header allows it to used cleanly for now. + */ +const int crcSize = sizeof(uint16_t); +const int btReplyHdrLen = 5; +const int btTransportLength = 64; +const uint32_t maximumReadSize = + btTransportLength - (btReplyHdrLen + oem::groupMagicSize + crcSize); + struct SessionInfo { SessionInfo() = default; |