gom space commands
This commit is contained in:
@ -18,6 +18,11 @@
|
||||
|
||||
namespace GOMSPACE {
|
||||
|
||||
struct TableInfo {
|
||||
uint8_t sourceTable;
|
||||
uint8_t targetTable;
|
||||
};
|
||||
|
||||
enum SpecialRequestTypes {
|
||||
DEFAULT_COM_IF,
|
||||
GET_PDU_HK,
|
||||
@ -25,7 +30,8 @@ enum SpecialRequestTypes {
|
||||
GET_ACU_HK,
|
||||
GET_ACU_CONFIG,
|
||||
GET_P60DOCK_HK,
|
||||
GET_P60DOCK_CONFIG
|
||||
GET_P60DOCK_CONFIG,
|
||||
SAVE_TABLE
|
||||
};
|
||||
|
||||
enum CspPorts : uint8_t {
|
||||
@ -53,14 +59,17 @@ static const uint8_t P60_PORT_GNDWDT_RESET = 9;
|
||||
* Device commands are derived from the rparam.h of the gomspace lib..
|
||||
* IDs above 50 are reserved for device specific commands.
|
||||
*/
|
||||
static const DeviceCommandId_t PARAM_GET = 0; //!< [EXPORT] : [COMMAND]
|
||||
static const DeviceCommandId_t PING = 1; //!< [EXPORT] : [COMMAND]
|
||||
static const DeviceCommandId_t NONE = 2; // Set when no command is pending
|
||||
static const DeviceCommandId_t REBOOT = 4; //!< [EXPORT] : [COMMAND]
|
||||
static const DeviceCommandId_t GNDWDT_RESET = 9; //!< [EXPORT] : [COMMAND]
|
||||
static const DeviceCommandId_t PARAM_GET = 0; //!< [EXPORT] : [COMMAND]
|
||||
static const DeviceCommandId_t PARAM_SET = 255; //!< [EXPORT] : [COMMAND]
|
||||
static const DeviceCommandId_t REQUEST_HK_TABLE = 16; //!< [EXPORT] : [COMMAND]
|
||||
static const DeviceCommandId_t REQUEST_CONFIG_TABLE = 17; //!< [EXPORT] : [COMMAND]
|
||||
static const DeviceCommandId_t SAVE_TABLE_FILE = 18;
|
||||
static const DeviceCommandId_t SAVE_TABLE_DEFAULT = 19;
|
||||
static const DeviceCommandId_t PARAM_SET = 255; //!< [EXPORT] : [COMMAND]
|
||||
|
||||
// Not implemented yet
|
||||
// static const DeviceCommandId_t REQUEST_CALIB_TABLE = 18; //!< [EXPORT] : [COMMAND]
|
||||
//! [EXPORT] : [COMMAND] Print switch states, voltages and currents to the console
|
||||
|
Reference in New Issue
Block a user