zigbee-herdsman
Version:
An open source Zigbee gateway solution with node.js.
80 lines • 3.51 kB
TypeScript
export declare enum Status {
/** Operation was successful. */
SUCCESS = 0,
/** Operation was not successful. */
FAILURE = 1,
/** The sender of the command does not have authorization to carry out this command. */
NOT_AUTHORIZED = 126,
RESERVED = 127,
/**
* The command appears to contain the wrong fields, as detected either by the presence of one or more invalid
* field entries or by there being missing fields.
* Command not carried out. Implementer has discretion as to whether to return this error or INVALID_FIELD.
*/
MALFORMED_COMMAND = 128,
/** The specified command is not supported on the device. Command not carried out. */
UNSUP_COMMAND = 129,
/** @deprecated use UNSUP_COMMAND */
UNSUP_GENERAL_COMMAND = 130,
/** @deprecated use UNSUP_COMMAND */
UNSUP_MANUF_CLUSTER_COMMAND = 131,
/** @deprecated use UNSUP_COMMAND */
UNSUP_MANUF_GENERAL_COMMAND = 132,
/** At least one field of the command contains an incorrect value, according to the specification the device is implemented to. */
INVALID_FIELD = 133,
/** The specified attribute does not exist on the device. */
UNSUPPORTED_ATTRIBUTE = 134,
/**
* Out of range error or set to a reserved value. Attribute keeps its old value.
* Note that an attribute value may be out of range if an attribute is related to another,
* e.g., with minimum and maximum attributes. See the individual attribute descriptions for specific details.
*/
INVALID_VALUE = 135,
/** Attempt to write a read-only attribute. */
READ_ONLY = 136,
/** An operation failed due to an insufficient amount of free space available. */
INSUFFICIENT_SPACE = 137,
/** @deprecated use SUCCESS */
DUPLICATE_EXISTS = 138,
/** The requested information (e.g., table entry) could not be found. */
NOT_FOUND = 139,
/** Periodic reports cannot be issued for this attribute.*/
UNREPORTABLE_ATTRIBUTE = 140,
/** The data type given for an attribute is incorrect. Command not carried out.*/
INVALID_DATA_TYPE = 141,
/** The selector for an attribute is incorrect. */
INVALID_SELECTOR = 142,
/** @deprecated use NOT_AUTHORIZED */
WRITE_ONLY = 143,
/** @deprecated use FAILURE */
INCONSISTENT_STARTUP_STATE = 144,
/** @deprecated use FAILURE */
DEFINED_OUT_OF_BAND = 145,
RESERVED14 = 146,
/** @deprecated use FAILURE */
ACTION_DENIED = 147,
/** The exchange was aborted due to excessive response time. */
TIMEOUT = 148,
/** Failed case when a client or a server decides to abort the upgrade process. */
ABORT = 149,
/** Invalid OTA upgrade image (ex. failed signature validation or signer information check or CRC check). */
INVALID_IMAGE = 150,
/** Server does not have data block available yet. */
WAIT_FOR_DATA = 151,
/** No OTA upgrade image available for the client. */
NO_IMAGE_AVAILABLE = 152,
/** The client still requires more OTA upgrade image files to successfully upgrade. */
REQUIRE_MORE_IMAGE = 153,
/** The command has been received and is being processed. */
NOTIFICATION_PENDING = 154,
/** @deprecated use FAILURE */
HARDWARE_FAILURE = 192,
/** @deprecated use FAILURE */
SOFTWARE_FAILURE = 193,
RESERVED15 = 194,
/** The cluster is not supported. */
UNSUPPORTED_CLUSTER = 195,
/** @deprecated use SUCCESS */
LIMIT_REACHED = 196
}
//# sourceMappingURL=status.d.ts.map