Public Member Functions | Public Attributes | List of all members
psen_scan::StartMonitoringFrame Struct Reference

Frame containing all necessary fields for a Start Monitoring Command. More...

#include <scanner_frames.h>

Public Member Functions

 StartMonitoringFrame (const std::string &password="", const uint32_t &host_ip=0, const uint32_t &host_udp_port=0)
 Construct a new Start Monitoring Frame:: Start Monitoring Frame object. More...
 

Public Attributes

uint32_t crc_
 
uint64_t const FIXED_SEQUENCE_
 
uint32_t host_ip_
 
uint32_t host_udp_port_
 
uint32_t const OPCODE_
 
char password_ [8]
 
std::array< uint16_t, 12 > const RESERVED2_
 
uint32_t const RESERVED_
 

Detailed Description

Frame containing all necessary fields for a Start Monitoring Command.

Definition at line 32 of file scanner_frames.h.

Constructor & Destructor Documentation

◆ StartMonitoringFrame()

psen_scan::StartMonitoringFrame::StartMonitoringFrame ( const std::string &  password = "",
const uint32_t &  host_ip = 0,
const uint32_t &  host_udp_port = 0 
)

Construct a new Start Monitoring Frame:: Start Monitoring Frame object.

Parameters
passwordPassword for Laserscanner
host_ipIP-Address the Laserscanner should send to
host_udp_portUDP-Port the Laserscanner should send to

Definition at line 30 of file scanner_frames.cpp.

Member Data Documentation

◆ crc_

uint32_t psen_scan::StartMonitoringFrame::crc_

A CRC32 of all the following fields. Byte order: little endian

Definition at line 34 of file scanner_frames.h.

◆ FIXED_SEQUENCE_

uint64_t const psen_scan::StartMonitoringFrame::FIXED_SEQUENCE_

Target UDP port. Byte order: little endian Use byte sequence 10001000

Definition at line 40 of file scanner_frames.h.

◆ host_ip_

uint32_t psen_scan::StartMonitoringFrame::host_ip_

Definition at line 38 of file scanner_frames.h.

◆ host_udp_port_

uint32_t psen_scan::StartMonitoringFrame::host_udp_port_

Target IP address. Byte order: big endian

Definition at line 39 of file scanner_frames.h.

◆ OPCODE_

uint32_t const psen_scan::StartMonitoringFrame::OPCODE_

Constant 0x09. Byte order: little endian

Definition at line 37 of file scanner_frames.h.

◆ password_

char psen_scan::StartMonitoringFrame::password_[8]

Device Password in ASCII, filled with zeros for non-existing characters

Definition at line 36 of file scanner_frames.h.

◆ RESERVED2_

std::array<uint16_t, 12> const psen_scan::StartMonitoringFrame::RESERVED2_

Use all zeros

Definition at line 41 of file scanner_frames.h.

◆ RESERVED_

uint32_t const psen_scan::StartMonitoringFrame::RESERVED_

Use all zeros

Definition at line 35 of file scanner_frames.h.


The documentation for this struct was generated from the following files:


psen_scan
Author(s):
autogenerated on Mon Feb 28 2022 23:16:20