Public Attributes | List of all members
pepperl_fuchs::PacketHeader Struct Reference

Header of a TCP or UDP data packet from the scanner. More...

#include <packet_structure.h>

Public Attributes

std::int32_t angular_increment
 Delta between two succeding scan points 1/10000° More...
 
std::uint32_t field_status
 Field status. More...
 
std::int32_t first_angle
 Absolute angle of first scan point within this packet in 1/10000° More...
 
std::uint16_t first_index
 Index of first scan point within this packet. More...
 
std::uint16_t header_size
 Header size, defaults to 60 bytes. More...
 
std::uint16_t magic
 Magic bytes, must be 5C A2 (hex) More...
 
std::uint16_t num_points_packet
 Total number of scan points within this packet. More...
 
std::uint16_t num_points_scan
 Total number of scan points (samples) within complete scan. More...
 
std::uint32_t output_status
 Output status. More...
 
std::uint16_t packet_number
 Sequence number for packet (counting packets of a particular scan, starting with 1) More...
 
std::uint32_t packet_size
 Overall packet size (header+payload), 1404 bytes with maximum payload. More...
 
std::uint16_t packet_type
 Packet type, must be 43 00 (hex) More...
 
std::uint32_t scan_frequency
 Frequency of scan-head rotation in mHz (Milli-Hertz) More...
 
std::uint16_t scan_number
 Sequence for scan (incremented for every scan, starting with 0, overflows) More...
 
std::uint32_t status_flags
 Status flags. More...
 
std::uint64_t timestamp_raw
 Raw timestamp of internal clock in NTP time format. More...
 
std::uint64_t timestamp_sync
 With an external NTP server synced Timestamp (currenty not available and and set to zero) More...
 

Detailed Description

Header of a TCP or UDP data packet from the scanner.

Definition at line 21 of file packet_structure.h.

Member Data Documentation

std::int32_t pepperl_fuchs::PacketHeader::angular_increment

Delta between two succeding scan points 1/10000°

Definition at line 66 of file packet_structure.h.

std::uint32_t pepperl_fuchs::PacketHeader::field_status

Field status.

Definition at line 72 of file packet_structure.h.

std::int32_t pepperl_fuchs::PacketHeader::first_angle

Absolute angle of first scan point within this packet in 1/10000°

Definition at line 63 of file packet_structure.h.

std::uint16_t pepperl_fuchs::PacketHeader::first_index

Index of first scan point within this packet.

Definition at line 60 of file packet_structure.h.

std::uint16_t pepperl_fuchs::PacketHeader::header_size

Header size, defaults to 60 bytes.

Definition at line 33 of file packet_structure.h.

std::uint16_t pepperl_fuchs::PacketHeader::magic

Magic bytes, must be 5C A2 (hex)

Definition at line 24 of file packet_structure.h.

std::uint16_t pepperl_fuchs::PacketHeader::num_points_packet

Total number of scan points within this packet.

Definition at line 57 of file packet_structure.h.

std::uint16_t pepperl_fuchs::PacketHeader::num_points_scan

Total number of scan points (samples) within complete scan.

Definition at line 54 of file packet_structure.h.

std::uint32_t pepperl_fuchs::PacketHeader::output_status

Output status.

Definition at line 69 of file packet_structure.h.

std::uint16_t pepperl_fuchs::PacketHeader::packet_number

Sequence number for packet (counting packets of a particular scan, starting with 1)

Definition at line 39 of file packet_structure.h.

std::uint32_t pepperl_fuchs::PacketHeader::packet_size

Overall packet size (header+payload), 1404 bytes with maximum payload.

Definition at line 30 of file packet_structure.h.

std::uint16_t pepperl_fuchs::PacketHeader::packet_type

Packet type, must be 43 00 (hex)

Definition at line 27 of file packet_structure.h.

std::uint32_t pepperl_fuchs::PacketHeader::scan_frequency

Frequency of scan-head rotation in mHz (Milli-Hertz)

Definition at line 51 of file packet_structure.h.

std::uint16_t pepperl_fuchs::PacketHeader::scan_number

Sequence for scan (incremented for every scan, starting with 0, overflows)

Definition at line 36 of file packet_structure.h.

std::uint32_t pepperl_fuchs::PacketHeader::status_flags

Status flags.

Definition at line 48 of file packet_structure.h.

std::uint64_t pepperl_fuchs::PacketHeader::timestamp_raw

Raw timestamp of internal clock in NTP time format.

Definition at line 42 of file packet_structure.h.

std::uint64_t pepperl_fuchs::PacketHeader::timestamp_sync

With an external NTP server synced Timestamp (currenty not available and and set to zero)

Definition at line 45 of file packet_structure.h.


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


pepperl_fuchs_r2000
Author(s): Denis Dillenberger
autogenerated on Mon Jun 10 2019 14:12:48