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_ |
Frame containing all necessary fields for a Start Monitoring Command.
Definition at line 32 of file scanner_frames.h.
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.
password | Password for Laserscanner |
host_ip | IP-Address the Laserscanner should send to |
host_udp_port | UDP-Port the Laserscanner should send to |
Definition at line 30 of file scanner_frames.cpp.
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.
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.
uint32_t psen_scan::StartMonitoringFrame::host_ip_ |
Definition at line 38 of file scanner_frames.h.
uint32_t psen_scan::StartMonitoringFrame::host_udp_port_ |
Target IP address. Byte order: big endian
Definition at line 39 of file scanner_frames.h.
uint32_t const psen_scan::StartMonitoringFrame::OPCODE_ |
Constant 0x09. Byte order: little endian
Definition at line 37 of file scanner_frames.h.
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.
std::array<uint16_t, 12> const psen_scan::StartMonitoringFrame::RESERVED2_ |
Use all zeros
Definition at line 41 of file scanner_frames.h.
uint32_t const psen_scan::StartMonitoringFrame::RESERVED_ |
Use all zeros
Definition at line 35 of file scanner_frames.h.