CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
CdiRawExtraPacketHeader Struct Reference

Union of raw CDI extra packet headers. Use to reserve memory that can be used to hold raw CDI packet headers that contain extra data (ie. AVM configuration data). Each protocol version uses a specific data format and is kept internal. Use PayloadHeaderDecode() to decoded the raw packet header into CdiDecodedPacketHeader, which is protocol independent. Use PayloadHeaderInit() to convert a CdiDecodedPacketHeader into this format. More...

#include <protocol.h>

Data Fields

union { 
 
   uint8_t   header_v1 [CDI_RAW_PACKET_HEADER_SIZE_V1+MAX_CDI_PACKET_EXTRA_DATA
 For protocol version 1.
 
   uint8_t   header_v2 [CDI_RAW_PACKET_HEADER_SIZE_V2+MAX_CDI_PACKET_EXTRA_DATA
 For protocol version 2.
 
};  
 

Detailed Description

Union of raw CDI extra packet headers. Use to reserve memory that can be used to hold raw CDI packet headers that contain extra data (ie. AVM configuration data). Each protocol version uses a specific data format and is kept internal. Use PayloadHeaderDecode() to decoded the raw packet header into CdiDecodedPacketHeader, which is protocol independent. Use PayloadHeaderInit() to convert a CdiDecodedPacketHeader into this format.


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