Code: |
AS + 614 |
Symbolic: |
bccNetClientKasSessionInfo |
This command will query information about the keep alive session for current network client. Request has no parameters.
On success, a bccAck is received with following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
STOUT |
Keep alive session effective timeout [ms]
|
4 |
U32 |
STLEFT |
Session left time before timeout [ms] |
8 |
U32 |
STATE |
State of the session: 0x1 TCP client connected 0x2 Communication active 0x4 Lost activity latched |
12 |
STRZ(16) |
SIP |
Source IP (client) |
28 |
U16 |
SPORT |
Source port (client) |
30 |
U16 |
TPORT |
Target port (device) |
32 |
U8 |
TEXTSIZE |
Field TEXT size |
33 |
STRZ |
TEXT |
Session description |
Notes:
•The bccNetClientKasSessionInfo command is a session exception and will not renew the keep-alive timeout.
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackNotFound |
No keep alive session found |
|
nackIllegalContext |
Illegal context for a keep-alive-session (e.g. not a network connection) |
|