Public Attributes
pepperl_fuchs::PacketHeader Struct Reference

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

#include <packet_structure.h>

List of all members.

Public Attributes

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

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

Delta between two succeding scan points 1/10000°

Definition at line 66 of file packet_structure.h.

Field status.

Definition at line 72 of file packet_structure.h.

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

Definition at line 63 of file packet_structure.h.

Index of first scan point within this packet.

Definition at line 60 of file packet_structure.h.

Header size, defaults to 60 bytes.

Definition at line 33 of file packet_structure.h.

Magic bytes, must be 5C A2 (hex)

Definition at line 24 of file packet_structure.h.

Total number of scan points within this packet.

Definition at line 57 of file packet_structure.h.

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

Definition at line 54 of file packet_structure.h.

Output status.

Definition at line 69 of file packet_structure.h.

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

Definition at line 39 of file packet_structure.h.

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

Definition at line 30 of file packet_structure.h.

Packet type, must be 43 00 (hex)

Definition at line 27 of file packet_structure.h.

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

Definition at line 51 of file packet_structure.h.

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

Definition at line 36 of file packet_structure.h.

Status flags.

Definition at line 48 of file packet_structure.h.

Raw timestamp of internal clock in NTP time format.

Definition at line 42 of file packet_structure.h.

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 Thu Jun 6 2019 19:34:12