done
This commit is contained in:
@ -14,6 +14,8 @@ class ImtqHandler;
|
||||
|
||||
namespace imtq {
|
||||
|
||||
uint16_t integrationTimeFromSelectValue(uint8_t value);
|
||||
|
||||
enum class RequestType : uint8_t { MEASURE_NO_ACTUATION, ACTUATE, DO_NOTHING };
|
||||
|
||||
enum class SpecialRequest : uint8_t {
|
||||
@ -59,9 +61,10 @@ static const ReturnValue_t CC_UNAVAILABLE = MAKE_RETURN_CODE(5);
|
||||
static const ReturnValue_t INTERNAL_PROCESSING_ERROR = MAKE_RETURN_CODE(6);
|
||||
static const ReturnValue_t REJECTED_WITHOUT_REASON = MAKE_RETURN_CODE(7);
|
||||
static const ReturnValue_t CMD_ERR_UNKNOWN = MAKE_RETURN_CODE(8);
|
||||
static constexpr ReturnValue_t STARTUP_CFG_ERROR = MAKE_RETURN_CODE(9);
|
||||
//! [EXPORT] : [COMMENT] The status reply to a self test command was received but no self test
|
||||
//! command has been sent. This should normally never happen.
|
||||
static const ReturnValue_t UNEXPECTED_SELF_TEST_REPLY = MAKE_RETURN_CODE(0xA7);
|
||||
static const ReturnValue_t UNEXPECTED_SELF_TEST_REPLY = MAKE_RETURN_CODE(10);
|
||||
|
||||
namespace cmdIds {
|
||||
|
||||
@ -164,6 +167,13 @@ enum CC : uint8_t {
|
||||
|
||||
} // namespace CC
|
||||
|
||||
namespace param {
|
||||
|
||||
static constexpr uint16_t SEL_MTM = 0x2002;
|
||||
static constexpr uint16_t INTEGRATION_TIME_SELECT = 0x2003;
|
||||
|
||||
} // namespace param
|
||||
|
||||
size_t getReplySize(CC::CC cc, size_t* optSecondSize = nullptr);
|
||||
|
||||
namespace mode {
|
||||
|
Reference in New Issue
Block a user