Code: |
AS + 612 |
Symbolic: |
bccNetClientKasSessionBegin |
This command will start a keep alive session for current network client. Request parameter are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAG |
Request flags |
4 |
U32 |
STOUT |
Keep alive session timeout [ms] (0=unlimited; #1) |
8 |
U8 |
TEXTSIZE |
Field TEXT size |
9 |
STRZ |
TEXT |
Session description |
(#1) Unlimited or the maximum value is decided by the software of the connected device. The effective value can be obtained with the bccNetClientKasSessionInfo command, in field STOUT.
On success, a bccAck is received with no data.
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackIllegalContext |
Illegal context for a keep-alive-session (e.g. not a network connection) |
|
nackIllegalArgs |
Illegal parameter |
U16 What illegal 1=Flags 2=Keep alive timeout 3=Description |
nackExists |
A keep-alive-session is already active for the client |
|