OpENer - Open Source EtherNet/IP(TM) I/O Target Stack
2.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
cipclass3connection.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright (c) 2011, Rockwell Automation, Inc.
3
* All rights reserved.
4
*
5
******************************************************************************/
6
7
#ifndef OPENER_CIPCLASS3CONNECTION_H_
8
#define OPENER_CIPCLASS3CONNECTION_H_
9
31
#include "
opener_api.h
"
32
#include "
cipconnectionmanager.h
"
33
#include "
cipconnectionobject.h
"
34
35
typedef
EipStatus
(*
CipConnectionStateHandler
)(
CipConnectionObject
*RESTRICT
36
const
connection_object,
37
ConnectionObjectState
new_state);
38
39
EipStatus
CipClass3ConnectionObjectStateEstablishedHandler
(
40
CipConnectionObject
*RESTRICT
const
connection_object,
41
ConnectionObjectState
new_state);
42
52
EipStatus
EstablishClass3Connection
(
53
CipConnectionObject
*RESTRICT
const
connection_object,
54
EipUint16
*
const
extended_error);
55
60
void
InitializeClass3ConnectionData
(
void
);
61
62
#endif
/* OPENER_CIPCLASS3CONNECTION_H_ */
opener_api.h
CipClass3ConnectionObjectStateEstablishedHandler
EipStatus CipClass3ConnectionObjectStateEstablishedHandler(CipConnectionObject *RESTRICT const connection_object, ConnectionObjectState new_state)
Definition:
cipclass3connection.c:76
ConnectionObjectState
ConnectionObjectState
Definition:
cipconnectionobject.h:20
cipconnectionobject.h
InitializeClass3ConnectionData
void InitializeClass3ConnectionData(void)
Initializes the explicit connections mechanism.
Definition:
cipclass3connection.c:71
EstablishClass3Connection
EipStatus EstablishClass3Connection(CipConnectionObject *RESTRICT const connection_object, EipUint16 *const extended_error)
Check if Class3 connection is available and if yes setup all data.
Definition:
cipclass3connection.c:26
EipStatus
EipStatus
EIP stack status enum.
Definition:
typedefs.h:93
cipconnectionmanager.h
cip_connection_object
Definition:
cipconnectionobject.h:104
EipUint16
uint16_t EipUint16
Definition:
typedefs.h:33
CipConnectionStateHandler
EipStatus(* CipConnectionStateHandler)(CipConnectionObject *RESTRICT const connection_object, ConnectionObjectState new_state)
Definition:
cipclass3connection.h:35
src
cip
cipclass3connection.h
Generated on Fri May 15 2020 21:07:15 for OpENer - Open Source EtherNet/IP(TM) I/O Target Stack by
1.8.6