firmware
v0.1.2
Chromation Spectrometer Dev-Kit
|
See StatusCode.h for context. More...
#include "StatusCode.h"
Go to the source code of this file.
Variables | |
status_code | OK = 0x00 |
status_code | ERROR = 0x01 |
status_code | INVALID_CMD = 0x02 |
led_state | OFF = 0x00 |
led_state | GREEN = 0x01 |
led_state | RED = 0x02 |
uint8_t | PADDING = 0xFF |
When status_code is ERROR, pad responses to send expected number of bytes. | |
See StatusCode.h for context.
Also see cfg/microspec.json
in the Python API repository.
"global"
defines the protocol byte codes.Definition in file StatusCodes.h.