Contains all things needed to define and implement a data_conversion_layer::start_request::Message. More...
Classes | |
class | Message |
Higher level data type representing a scanner start request. More... | |
Functions | |
RawData | serialize (const data_conversion_layer::start_request::Message &start_request, const uint32_t &seq_number=DEFAULT_SEQ_NUMBER) |
Variables | |
static const uint32_t | DEFAULT_SEQ_NUMBER { 0 } |
static const uint32_t | OPCODE { 0x35 } |
static constexpr uint64_t | RESERVED { 0 } |
Contains all things needed to define and implement a data_conversion_layer::start_request::Message.
RawData psen_scan_v2_standalone::data_conversion_layer::start_request::serialize | ( | const data_conversion_layer::start_request::Message & | start_request, |
const uint32_t & | seq_number = DEFAULT_SEQ_NUMBER |
||
) |
< Byte order: big endian
< Byte order: big endian
< The following 'enable' fields are a 1-byte mask each. Only the last 4 bits (little endian) are used, each of which represents a device. For example, (1000) only enables the Master device, while (1010) enables both the Master and the second Subscriber device.
< 0000000bin disabled, 00001111bin enabled.
Definition at line 61 of file start_request_serialization.cpp.
|
static |
Definition at line 27 of file start_request_serialization.h.
|
static |
Definition at line 41 of file start_request_serialization.cpp.
|
staticconstexpr |
Definition at line 39 of file start_request_serialization.cpp.