Code: |
AS + 318 |
Symbolic: |
bccSafeForceVar |
This command will force the value of a variable in a safe way (for example force the state of input channel). Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
VARSETID |
Variable set identification |
4 |
VARID |
Variable identification |
|
14 |
U8[] |
DATA |
Variable data, according VARID field. |
On success, a bccAck is received with no data.
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackReadOnly |
Variable read-only or predefined |
|
nackIllegalArgs |
Illegal arguments |
U16 What illegal: 1=Type 2=Index 3=Address 4=Repeat counter 5=Bit index 6=Size |
nackCantForce |
Variable value cannot be forced |
|
nackDataUnderflow |
Variable data too short |
|
nackIllegalVarsetId |
Illegal variable set identification |
|
nackNotInitialized |
Variable is not initialized |
|