UNPKG
enip-ts
Version:
latest (2.0.0)
2.0.0
1.2.2
1.2.1
1.2.0
1.1.0
1.0.7
1.0.6
Typescript implementation of the Ethernet/IP™ protocol.
github.com/kworz/ts-enip
kworz/ts-enip
enip-ts
/
dist
/
enip
/
states
/
index.d.ts
18 lines
(17 loc)
•
341 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export
type
ENIPState
= {
TCPState
:
States
;
session
: {
id
:
number
;
state
:
States
; };
connection
: {
id
:
number
;
seq_num
:
number
;
state
:
States
; };
error
: {
code
:
number
;
msg
:
string
; }; };
export
type
States
=
"unconnected"
|
"established"
|
"establishing"
;