OpENer - Open Source EtherNet/IP(TM) I/O Target Stack  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
encapsulation_data Struct Reference

#include <encap.h>

Data Fields

CipUint command_code
 
const EipUint8communication_buffer_start
 
const EipUint8current_communication_buffer_position
 
CipUint data_length
 
CipUdint options
 
CipOctet sender_context [8]
 
CipUdint session_handle
 
CipUdint status
 

Detailed Description

Definition at line 41 of file encap.h.

Field Documentation

CipUint encapsulation_data::command_code
const EipUint8* encapsulation_data::communication_buffer_start

Pointer to the communication buffer used for this message

Definition at line 48 of file encap.h.

Referenced by CreateEncapsulationStructure(), and HandleReceivedListIdentityCommandUdp().

const EipUint8* encapsulation_data::current_communication_buffer_position

The current position in the communication buffer during the decoding process

Definition at line 49 of file encap.h.

Referenced by CreateEncapsulationStructure(), HandleReceivedRegisterSessionCommand(), HandleReceivedSendRequestResponseDataCommand(), HandleReceivedSendUnitDataCommand(), and NotifyConnectedCommonPacketFormat().

CipUdint encapsulation_data::options
CipOctet encapsulation_data::sender_context[8]

length of 8, according to the specification

Definition at line 46 of file encap.h.

Referenced by CreateEncapsulationStructure(), and GenerateEncapsulationHeader().

CipUdint encapsulation_data::status

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