ember-zli
Version:
Interact with EmberZNet-based adapters using zigbee-herdsman 'ember' driver
111 lines (110 loc) • 3.87 kB
TypeScript
export declare enum FirmwareValidation {
VALID = 0,
INVALID = 1,
CANCELLED = 2
}
/**
* The NVM3 object key is used as a distinct identifier tag for a token stored in NVM3.
*/
export declare enum NVM3ObjectKey {
STACK_NVDATA_VERSION = 130817,
STACK_BOOT_COUNTER = 123491,
STACK_NONCE_COUNTER = 124259,
STACK_ANALYSIS_REBOOT = 123234,
STACK_KEYS = 125817,
STACK_NODE_DATA = 126564,
STACK_CLASSIC_DATA = 123748,
STACK_ALTERNATE_KEY = 124021,
STACK_APS_FRAME_COUNTER = 123171,
STACK_TRUST_CENTER = 123172,
STACK_NETWORK_MANAGEMENT = 123173,
STACK_PARENT_INFO = 123174,
STACK_PARENT_ADDITIONAL_INFO = 123175,
STACK_MULTI_PHY_NWK_INFO = 123176,
STACK_MIN_RECEIVED_RSSI = 123177,
STACK_RESTORED_EUI64 = 123178,
MULTI_NETWORK_STACK_KEYS = 65536,
MULTI_NETWORK_STACK_NODE_DATA = 65664,
MULTI_NETWORK_STACK_ALTERNATE_KEY = 65792,
MULTI_NETWORK_STACK_TRUST_CENTER = 65920,
MULTI_NETWORK_STACK_NETWORK_MANAGEMENT = 66048,
MULTI_NETWORK_STACK_PARENT_INFO = 66176,
MULTI_NETWORK_STACK_NONCE_COUNTER = 123424,
MULTI_NETWORK_STACK_PARENT_ADDITIONAL_INFO = 66304,
STACK_GP_DATA = 123480,
STACK_GP_PROXY_TABLE = 66432,
STACK_GP_SINK_TABLE = 66560,
STACK_GP_INCOMING_FC = 66688,
STACK_BINDING_TABLE = 66816,
STACK_CHILD_TABLE = 66944,
STACK_KEY_TABLE = 67072,
STACK_CERTIFICATE_TABLE = 67200,
STACK_ZLL_DATA = 124161,
STACK_ZLL_SECURITY = 124162,
STACK_ADDITIONAL_CHILD_DATA = 67328,
STACK_GP_INCOMING_FC_IN_SINK = 67456
}
/** Enumeration representing spinel protocol status code. uint32_t */
export declare enum CpcSystemStatus {
/** Operation has completed successfully. */
OK = 0,
/** Operation has failed for some undefined reason. */
FAILURE = 1,
/** The given operation has not been implemented. */
UNIMPLEMENTED = 2,
/** An argument to the given operation is invalid. */
INVALID_ARGUMENT = 3,
/** The given operation is invalid for the current state of the device. */
INVALID_STATE = 4,
/** The given command is not recognized. */
INVALID_COMMAND = 5,
/** The given Spinel interface is not supported. */
INVALID_INTERFACE = 6,
/** An internal runtime error has occurred. */
INTERNAL_ERROR = 7,
/** A security or authentication error has occurred. */
SECURITY_ERROR = 8,
/** An error has occurred while parsing the command. */
PARSE_ERROR = 9,
/** The operation is in progress and will be completed asynchronously. */
IN_PROGRESS = 10,
/** The operation has been prevented due to memory pressure. */
NOMEM = 11,
/** The device is currently performing a mutually exclusive operation. */
BUSY = 12,
/** The given property is not recognized. */
PROP_NOT_FOUND = 13,
/** The packet was dropped. */
PACKET_DROPPED = 14,
/** The result of the operation is empty. */
EMPTY = 15,
/** The command was too large to fit in the internal buffer. */
CMD_TOO_BIG = 16,
/** The packet was not acknowledged. */
NO_ACK = 17,
/** The packet was not sent due to a CCA failure. */
CCA_FAILURE = 18,
/** The operation is already in progress or the property was already set to the given value. */
ALREADY = 19,
/** The given item could not be found in the property. */
ITEM_NOT_FOUND = 20,
/** The given command cannot be performed on this property. */
INVALID_COMMAND_FOR_PROP = 21,
RESET_POWER_ON = 112,
RESET_EXTERNAL = 113,
RESET_SOFTWARE = 114,
RESET_FAULT = 115,
RESET_CRASH = 116,
RESET_ASSERT = 117,
RESET_OTHER = 118,
RESET_UNKNOWN = 119,
RESET_WATCHDOG = 120
}
export declare enum CpcSystemCommandId {
NOOP = 0,
RESET = 1,
PROP_VALUE_GET = 2,
PROP_VALUE_SET = 3,
PROP_VALUE_IS = 6,
INVALID = 255
}