OpENer - Open Source EtherNet/IP(TM) I/O Target Stack  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cipioconnection.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (c) 2011, Rockwell Automation, Inc.
3  * All rights reserved.
4  *
5  ******************************************************************************/
6 
40 #ifndef OPENER_CIPIOCONNECTION_H_
41 #define OPENER_CIPIOCONNECTION_H_
42 
43 #include "opener_api.h"
44 #include "cipconnectionmanager.h"
45 #include "cipconnectionobject.h"
46 
57  CipConnectionObject *RESTRICT const connection_object,
58  EipUint16 *const extended_error);
59 
69 
76  CipConnectionObject *connection_object);
77 
79 extern unsigned int g_config_data_length;
80 
81 #endif /* OPENER_CIPIOCONNECTION_H_ */
EipUint8 * g_config_data_buffer
EipStatus
EIP stack status enum.
Definition: typedefs.h:93
uint8_t EipUint8
Definition: typedefs.h:32
EipStatus OpenCommunicationChannels(CipConnectionObject *connection_object)
Take the data given in the connection object structure and open the necessary communication channels...
EipStatus EstablishIoConnection(CipConnectionObject *RESTRICT const connection_object, EipUint16 *const extended_error)
Setup all data in order to establish an IO connection.
unsigned int g_config_data_length
uint16_t EipUint16
Definition: typedefs.h:33
void CloseCommunicationChannelsAndRemoveFromActiveConnectionsList(CipConnectionObject *connection_object)
close the communication channels of the given connection and remove it from the active connections li...