Code: |
AS + 530 |
Symbolic: |
bccOOWSessionBegin |
This command will request to begin an OOW (Only One Write) session on the current link of the connected device. Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Request flags 0x1 Source TCP port is used togheter with source IP address as owner (supported only for TCP/IP) |
4 |
U32 |
TOUT |
Timeout to keep the session active [ms] (1-15000) |
8 |
U8[7] |
- |
(reserved) |
15 |
U8 |
TEXTSIZE |
Size of the TEXT field |
16 |
STRZ |
TEXT |
Session (owner) description |
On success, a bccAck is received with no data.
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackMissingArgs |
Missing arguments |
|
nackIllegalArgs |
Illegal arguments |
U16 What illegal: 1=Illega flags 2=Illegal timeout |
nackNotAuthorized |
The operation is not authorized |
|
nackAlreadyActive |
The OOW session is already active |
|
nackNotActive |
The OOW session is not active (WRITE ALWAYS modality selected) |
|
nackIllegalContext |
The operation conext is illegal (for example if not over an tcp/ip link) |
|