NestCodeEnum
enum class NestCodeEnum
Description: Nest status code enumeration
enum class NestCodeEnum(var value: Int) {
/**
*1 general error
*/
NORMAL(0),
/**
*2 The device is busy
*/
FAIL(1),
/**
*3 parameter error
*/
BUSY(2),
/**
*4 message parsing error
*/
PARAM_ERROR(3),
/**
*5 Unknown subscription message type
*/
MESSAGE_PARSE_ERROR(4),
/**
*6 too many subscribers
*/
UNKNOWN_SUBSCRIPTION_MESSAGE_TYPE(5),
/**
*7 Subscription frequency is too high
*/
OVER_SUBSCRIBERS(6),
/**
*8 The current hardware or firmware does not support this command
*/
SUBSCRIBER_TOO_OFTEN(7),
/**
*9 The firmware version does not match
*/
NO_SUPPORT(8),
/**
*-1 unknown
*/
NOT_MATCH_ERROR(9),
/**
*unknown
*/
UNKNOWN(-1);
}