21#ifndef LSHCORE_COMMUNICATION_CONSTANTS_STATIC_PAYLOADS_HPP
22#define LSHCORE_COMMUNICATION_CONSTANTS_STATIC_PAYLOADS_HPP
27namespace constants::payloads
39 constexpr etl::array<const uint8_t, 8>
JSON_BOOT_BYTES = {
'{',
'"',
'p',
'"',
':',
'4',
'}',
'\n'};
43 constexpr etl::array<const uint8_t, 8>
JSON_PING_BYTES = {
'{',
'"',
'p',
'"',
':',
'5',
'}',
'\n'};
StaticType
Defines the types of pre-serialized static payloads.
Definition static_payloads.hpp:33
constexpr etl::array< const uint8_t, 4 > MSGPACK_PING_BYTES
Pre-serialized PING payload in MsgPack format.
Definition static_payloads.hpp:44
constexpr etl::array< const uint8_t, 8 > JSON_BOOT_BYTES
Pre-serialized BOOT payload in JSON format.
Definition static_payloads.hpp:39
constexpr etl::array< const uint8_t, 8 > JSON_PING_BYTES
Pre-serialized PING payload in JSON format.
Definition static_payloads.hpp:43
constexpr etl::array< const uint8_t, 4 > MSGPACK_BOOT_BYTES
Pre-serialized BOOT payload in MsgPack format.
Definition static_payloads.hpp:40