lib60870-C
2.3.2
C source code library for the IEC 60870-5-101/104 protocols
src
inc
api
link_layer_parameters.h
Go to the documentation of this file.
1
/*
2
* link_layer_parameters.h
3
*
4
* Copyright 2017-2022 Michael Zillgith
5
*
6
* This file is part of lib60870-C
7
*
8
* lib60870-C is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* lib60870-C is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with lib60870-C. If not, see <http://www.gnu.org/licenses/>.
20
*
21
* See COPYING file for the complete license text.
22
*/
23
24
#ifndef SRC_IEC60870_LINK_LAYER_LINK_LAYER_PARAMETERS_H_
25
#define SRC_IEC60870_LINK_LAYER_LINK_LAYER_PARAMETERS_H_
26
27
#include <stdbool.h>
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
40
typedef
struct
sLinkLayerParameters
*
LinkLayerParameters
;
41
42
struct
sLinkLayerParameters
{
43
int
addressLength;
44
int
timeoutForAck
;
45
int
timeoutRepeat
;
46
bool
useSingleCharACK
;
47
int
timeoutLinkState
;
48
};
49
50
#ifdef __cplusplus
51
}
52
#endif
53
54
#endif
/* SRC_IEC60870_LINK_LAYER_LINK_LAYER_PARAMETERS_H_ */
LinkLayerParameters
struct sLinkLayerParameters * LinkLayerParameters
Parameters for the IEC 60870-5 link layer.
Definition:
link_layer_parameters.h:40
sLinkLayerParameters
Definition:
link_layer_parameters.h:42
sLinkLayerParameters::timeoutLinkState
int timeoutLinkState
Definition:
link_layer_parameters.h:47
sLinkLayerParameters::useSingleCharACK
bool useSingleCharACK
Definition:
link_layer_parameters.h:46
sLinkLayerParameters::timeoutForAck
int timeoutForAck
Definition:
link_layer_parameters.h:44
sLinkLayerParameters::timeoutRepeat
int timeoutRepeat
Definition:
link_layer_parameters.h:45
Generated by
1.9.1