Classes | Functions | Variables
psen_scan_v2_standalone::data_conversion_layer::start_request Namespace Reference

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 }
 

Detailed Description

Contains all things needed to define and implement a data_conversion_layer::start_request::Message.

Function Documentation

◆ serialize()

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 52 of file start_request_serialization.cpp.

Variable Documentation

◆ DEFAULT_SEQ_NUMBER

const uint32_t psen_scan_v2_standalone::data_conversion_layer::start_request::DEFAULT_SEQ_NUMBER { 0 }
static

Definition at line 27 of file start_request_serialization.h.

◆ OPCODE

const uint32_t psen_scan_v2_standalone::data_conversion_layer::start_request::OPCODE { 0x35 }
static

Definition at line 42 of file start_request_serialization.cpp.

◆ RESERVED

constexpr uint64_t psen_scan_v2_standalone::data_conversion_layer::start_request::RESERVED { 0 }
staticconstexpr

Definition at line 40 of file start_request_serialization.cpp.



psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Nov 25 2023 03:46:26