hydrolink-headers/include/hydrolink/hydrolink_enums.h
2025-02-25 14:31:52 +01:00

26 lines
No EOL
847 B
C

#pragma once
typedef enum SET_CMD_ID {
SET_CMD_ID_SWITCH = 1, /// Command for getting/setting the state of a switch
SET_CMD_ID_PWM = 2, /// Command for getting/setting the value of a PWM channel
SET_CMD_ID_ENUM_END = 3
}SET_CMD_ID;
#pragma once
typedef enum GET_CMD_ID {
GET_CMD_ID_SWITCH = 1, /// Command for getting/setting the state of a switch
GET_CMD_ID_PWM = 2, /// Command for getting/setting the value of a PWM channel
GET_CMD_ID_ENUM_END = 3
}GET_CMD_ID;
#pragma once
typedef enum CMD_RESULT {
CMD_RESULT_SUCCESS = 1, ///
CMD_RESULT_FAILED = 2, ///
CMD_RESULT_CMD_UKNOWN = 3, /// The received command was unknown or unhandled.
CMD_RESULT_ENUM_END = 4
}CMD_RESULT;
#pragma once
typedef enum ACK {
ACK_ACK = 1, ///
ACK_NACK = 2, ///
ACK_ENUM_END = 3
}ACK;