Software User Manual - Argos 3D-P320
Last change: 2 February 2016
Version 0.14
© Bluetechnix 2016
Page 20 | 70
Note
Be aware that a multicast stream may slow down your Ethernet network as the stream must
be spread to all active links of switches/hubs and routers.
3.2.1
UDP Streaming Header
The current protocol version is
1
.
Each frame transmitted on the UDP stream is split into packets of max. 1432 bytes length (except the last
which may be smaller). Each packet consists of a 32 byte UDP Streaming Header and up to 1400 bytes of
frame data (refer to Figure 3-1).
Addr
Field
Type
Value
Description
0x00
Version
Uint16
(high byte
first)
0x0001
Protocol version
0x02
FrameCounter
Uint16 (high
byte first)
Continuous frame counter. On an overrun it
restarts at 0.
0x04
PacketCounter
Uint16 (high
byte first)
Actual packet #. The frame data must be
recomposed in order of the packet #.
0x06
DataLength
Uint16 (high
byte first)
Length of the image data section of the current
packet.
0x08
FrameSize
Uint32 (high
byte first)
Size of the image data. It may be used to
calculate the expected # of packets for a
frame.
0x0C
PacketCRC32
Uint16 (high
byte first)
CRC32 checksum over the entire packet (pos 0
to pos n)
1)
0x10
Flags
Uint32
Refer to
Table 3-24
Optional flags
0x14
Reserved
Reserved for future use
0x20
ImageData
Image data section
Table 3-23: UDP packet header
Note 1): For the CRC32 calculation the CRC-32 is used (Polynom: 0x04C11DB7, start value: 0xFFFFFFFF).
Please ask the Bluetechnix support for an implementation example of the CRC-32.
Flags
Flags
Description
Bit 0
1: Ignore DataCrc32
Table 3-24: UDP packet header flag description
3.2.2
Frame Header
The current header version is
3
.
The frame data itself is split into a 64 byte frame header and the frame data section. The format of the frame
data depends on the selected image format and is described in chapter 4.3. Below you can find the format of
the 64 byte frame header.