Go to the source code of this file.
|
enum | CB_Command {
NONE = 0,
COMMAND_START = 1,
COMMAND_STOP = 2,
COMMAND_RESET = 3,
COMMAND_DISABLE = 4
} |
|
enum | CB_State {
STATE_NOPOWER,
STATE_STANDBY,
STATE_PUMPING,
STATE_ON,
STATE_DISABLED
} |
|
enum | Master_State {
MASTER_NOPOWER,
MASTER_STANDBY,
MASTER_ON,
MASTER_OFF,
MASTER_SHUTDOWN
} |
|
#define COMMAND_FLAG_RESET_STATS 0x1 |
#define COMMAND_FLAG_RESET_TRANSITION_STATS 0x2 |
#define CURRENT_MESSAGE_SIZE (sizeof(PowerMessage)) |
#define REVISION_2_MESSAGE_SIZE (sizeof(MessageHeader) + sizeof(StatusStruct_Rev2)) |
Enumerator |
---|
NONE |
|
COMMAND_START |
|
COMMAND_STOP |
|
COMMAND_RESET |
|
COMMAND_DISABLE |
|
Definition at line 50 of file power_comm.h.
Enumerator |
---|
STATE_NOPOWER |
|
STATE_STANDBY |
|
STATE_PUMPING |
|
STATE_ON |
|
STATE_DISABLED |
|
Definition at line 49 of file power_comm.h.
Enumerator |
---|
MASTER_NOPOWER |
|
MASTER_STANDBY |
|
MASTER_ON |
|
MASTER_OFF |
|
MASTER_SHUTDOWN |
|
Definition at line 48 of file power_comm.h.
const unsigned COMMAND_MESSAGE_REVISION = 2 |
|
static |
const unsigned CURRENT_MESSAGE_REVISION = 3 |
|
static |
const unsigned MESSAGE_ID_COMMAND = 1 |
|
static |
const unsigned MESSAGE_ID_POWER = 0 |
|
static |
const unsigned MESSAGE_ID_STATUS = 3 |
|
static |
const unsigned MESSAGE_ID_TRANSITION = 2 |
|
static |
const unsigned MINIMUM_MESSAGE_REVISION = 2 |
|
static |
const unsigned POWER_PORT = 6801 |
|
static |
const unsigned STATUS_MESSAGE_REVISION = 2 |
|
static |
const unsigned TRANSITION_MESSAGE_REVISION = 2 |
|
static |