Set the Scanner Attribute from the canopy board.
Uint16_t attr_num
: attribute no. of Scanner Attributes, not on the display menu [strings/arrays of length, greater than 240, are not supported].
Uint8_t *value
: pointer to the value of the attribute.
Uint16_t length
: length of the attribute.
Uint16_t offset
: reserved (0).
Uint8_t type
: attribute type.
bool permanent – Permanent – 1, Temporary – 0
From the UI, it is always going to be permanent (1).
Return value: uint8_t status
SCANNER_ATTR_UNSUPPORTEDTYPE (-3L)
SCANNER_ATTR_OTHERERR (-4L)
SCANNER_ATTR_NOTENOUGHMEM (-1L)