Skip to main content

NestCommandType

enum class NestCommandType

Description: Nest command type enum

enum class NestCommandType(var value: Int) {
/**
* 0x01: hatch command
*/
CABIN_COMMAND(0x01),

/**
* 0x02: X position return to the center pole command
*/
POSITION_X_TO_CENTER(0x02),

/**
* 0x03: Y position charge and return to center lever command
*/
POSITION_Y_TO_CENTER(0x03),

/**
* 0x04: Motor driver board power supply
*/
MOTOR_DRIVER_POWER(0x04),

/**
* 0x05: Motor driver board reset
*/
MOTOR_DRIVER_BOARD_RESETS(0x05),

/**
* 0x06: Motor driver board configuration
*/
MOTOR_DRIVER_BOARD_CONFIG(0x06),

/**
* 0x07: motor return to zero
*/
MOTOR_RETURN_TO_ZERO(0x07),
/**
* 0x08: motor return to center
*/
MPOSITION_Z_TO_CENTER(0x08),

/**
* 0x10: Nest system configuration
*/
NEST_SYSTEM_CONFIG(0x10),

/**
* 0x11: Nest reset
*/
NEST_SYSTEM_RESETS(0x11),

/**
* 0x12: drone charging
*/
DRONE_CHARGING(0x12),

/**
* 0x13: UAV switch
*/
DRONE_SWITCH_ON_OFF(0x13),

/**
* 0x14: air conditioner
*/
AIR_CONDITIONING(0x14),

/**
* 0x15: Software emergency stop
*/
SOFT_STOP_ABRUPTLY(0x15),

/**
* 0x16: UPS power supply
**/
UPS_POWER_SUPPLY (0x16),

/**
* 0x17: Battery charging and supplementary power setting 50-70
**/
BATTERY_CHARGE_RESET(0x17),

/**
* 0x20: Nest status information
*/
NEST_STATUS_INFO(0x20),

/**
* 0x21: Body battery dynamic information
*/
BATTERY_DYNAMIC_INFO(0x21),

/**
* 0x22: Body battery static information
*/
BATTERY_STATIC_INFO(0x22),

/**
* 0x23: backup battery information
*/
SPARE_BATTERY_INFO(0x23),

/**
* 0x25: Motor driver board status information
*/
MOTOR_DRIVE_BOARD_STATUS(0x25),

/**
* 0x27 Z rod ready state S
**/
Z_ROD_STATUS(0x27),

/**
* 0x27 System self-test message
**/
AUTO_CHECK_SYSTEM(0x28),

/**
* 0x30: Auto command
*/
AUTO_COMMAND(0x30),

/**
* 0x31: Automatic command completed
*/
AUTO_COMMAND_FINISH(0x31),

/**
* Unknown state.
*/
UNKNOWN(0x00);
}