Code: |
AS + 312 |
Symbolic: |
bccForceVar |
This command will force the value of a variable (for example force the state of input channel). Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
VARID |
Variable identification |
|
10 |
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 |
|
nackNotInitialized |
Variable is not initialized |
|