/workspaces/astro/sol3-sdk/cpp/sol3/net/sync_framer.h Source File

Space-ng SDK: /workspaces/astro/sol3-sdk/cpp/sol3/net/sync_framer.h Source File
Space-ng SDK
sync_framer.h
Go to the documentation of this file.
1 // Copyright (c) Space-ng, inc. All rights reserved.
2 
3 #pragma once
4 
5 #include "sol3/net/framer.h"
6 
7 #include <cstdint>
8 #include <memory>
9 
10 namespace sol3::net {
11 
13  uint16_t sync_word = 0x7E7E;
14  enum class PayloadSize : uint8_t {
15  uint16,
16  uint32,
17  };
19 };
20 std::unique_ptr<IFramer> makeSyncFramer(SyncFramerConfig const& config);
21 
22 } // namespace sol3::net
Definition: buffer_pool.h:12
std::unique_ptr< IFramer > makeSyncFramer(SyncFramerConfig const &config)
Definition: sync_framer.h:12
PayloadSize payload_size
Definition: sync_framer.h:18
uint16_t sync_word
Definition: sync_framer.h:13
PayloadSize
Definition: sync_framer.h:14