Please enable JavaScript to view this site.

Code:

AS + 310

Symbolic:

bccReadVar

This command will read value for a variable. Request parameters are the following:

Offset

Type

Label

Description

0

VAR

VARID

Variable identification

On success, a bccAck is received with following data:

Offset

Type

Label

Description

0

U8[]

DATA

Variable data, according VARID field.

On failure, a bccNack is received. Specific errors:

NACK code

Description

Extra data

nackReadError

Error reading variable

 

nackIllegalArgs

Illegal parameter

U16 What illegal:

1=Type

2=Index

3=Address

4=Repeat counter

5=Bit index

6=Size

nackDataOverflow

Variable data too long (exceed 255)

 

nackWriteOnly

Variable is write only, cannot read.

 

nackNotInitialized

Variable is not initialized

 

For more information about variable types, see table of standard variables.

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC