zigbee-herdsman
Version:
An open source ZigBee gateway solution with node.js.
649 lines • 144 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IEEE802154CcaMode = exports.EmberTransmitPriority = exports.EmberLeaveNetworkOption = exports.EmberGpSinkTableEntryStatus = exports.EmberGpSinkType = exports.EmberGpProxyTableEntryStatus = exports.EmberGpKeyType = exports.EmberGpSecurityLevel = exports.EmberGpApplicationId = exports.EmberZllKeyIndex = exports.EzspZllNetworkOperation = exports.EmberZllState = exports.EmberJoinDecision = exports.EmberDeviceUpdate = exports.EmberKeyStructBitmask = exports.EmberKeyStatus = exports.SecManFlag = exports.SecManDerivedKeyType = exports.SecManKeyType = exports.EmberCurrentSecurityBitmask = exports.EmberInterpanMessageType = exports.EmberMacPassthroughType = exports.EmberSourceRouteDiscoveryMode = exports.EmberApsOption = exports.EmberIncomingMessageType = exports.EmberOutgoingMessageType = exports.EmberBindingType = exports.EmberDutyCycleState = exports.EmberMultiPhyNwkConfig = exports.EmberNodeType = exports.EmberJoinMethod = exports.EzspNetworkScanType = exports.EmberNetworkStatus = exports.EmberNetworkInitBitmask = exports.EmberEntropySource = exports.EmberLibraryStatus = exports.EmberLibraryId = exports.EmberCounterType = exports.EmberEventUnits = exports.EmberInitialSecurityBitmask = exports.EmberExtendedSecurityBitmask = exports.EmberKeepAliveMode = exports.EmberTXPowerMode = exports.EmberVersionType = exports.EmberGPStatus = exports.EmberStackError = exports.EzspStatus = exports.SLStatus = void 0;
/** Status Codes contains error and status code definitions used by Simplicity SDK software components and stacks. */
var SLStatus;
(function (SLStatus) {
// -----------------------------------------------------------------------------
// Generic Errors
/** No error. */
SLStatus[SLStatus["OK"] = 0] = "OK";
/** Generic error. */
SLStatus[SLStatus["FAIL"] = 1] = "FAIL";
// -----------------------------------------------------------------------------
// State Errors
/** Generic invalid state error. */
SLStatus[SLStatus["INVALID_STATE"] = 2] = "INVALID_STATE";
/** Module is not ready for requested operation. */
SLStatus[SLStatus["NOT_READY"] = 3] = "NOT_READY";
/** Module is busy and cannot carry out requested operation. */
SLStatus[SLStatus["BUSY"] = 4] = "BUSY";
/** Operation is in progress and not yet complete (pass or fail). */
SLStatus[SLStatus["IN_PROGRESS"] = 5] = "IN_PROGRESS";
/** Operation aborted. */
SLStatus[SLStatus["ABORT"] = 6] = "ABORT";
/** Operation timed out. */
SLStatus[SLStatus["TIMEOUT"] = 7] = "TIMEOUT";
/** Operation not allowed per permissions. */
SLStatus[SLStatus["PERMISSION"] = 8] = "PERMISSION";
/** Non-blocking operation would block. */
SLStatus[SLStatus["WOULD_BLOCK"] = 9] = "WOULD_BLOCK";
/** Operation/module is Idle, cannot carry requested operation. */
SLStatus[SLStatus["IDLE"] = 10] = "IDLE";
/** Operation cannot be done while construct is waiting. */
SLStatus[SLStatus["IS_WAITING"] = 11] = "IS_WAITING";
/** No task/construct waiting/pending for that action/event. */
SLStatus[SLStatus["NONE_WAITING"] = 12] = "NONE_WAITING";
/** Operation cannot be done while construct is suspended. */
SLStatus[SLStatus["SUSPENDED"] = 13] = "SUSPENDED";
/** Feature not available due to software configuration. */
SLStatus[SLStatus["NOT_AVAILABLE"] = 14] = "NOT_AVAILABLE";
/** Feature not supported. */
SLStatus[SLStatus["NOT_SUPPORTED"] = 15] = "NOT_SUPPORTED";
/** Initialization failed. */
SLStatus[SLStatus["INITIALIZATION"] = 16] = "INITIALIZATION";
/** Module has not been initialized. */
SLStatus[SLStatus["NOT_INITIALIZED"] = 17] = "NOT_INITIALIZED";
/** Module has already been initialized. */
SLStatus[SLStatus["ALREADY_INITIALIZED"] = 18] = "ALREADY_INITIALIZED";
/** Object/construct has been deleted. */
SLStatus[SLStatus["DELETED"] = 19] = "DELETED";
/** Illegal call from ISR. */
SLStatus[SLStatus["ISR"] = 20] = "ISR";
/** Illegal call because network is up. */
SLStatus[SLStatus["NETWORK_UP"] = 21] = "NETWORK_UP";
/** Illegal call because network is down. */
SLStatus[SLStatus["NETWORK_DOWN"] = 22] = "NETWORK_DOWN";
/** Failure due to not being joined in a network. */
SLStatus[SLStatus["NOT_JOINED"] = 23] = "NOT_JOINED";
/** Invalid operation as there are no beacons. */
SLStatus[SLStatus["NO_BEACONS"] = 24] = "NO_BEACONS";
// -----------------------------------------------------------------------------
// Allocation/ownership Errors
/** Generic allocation error. */
SLStatus[SLStatus["ALLOCATION_FAILED"] = 25] = "ALLOCATION_FAILED";
/** No more resource available to perform the operation. */
SLStatus[SLStatus["NO_MORE_RESOURCE"] = 26] = "NO_MORE_RESOURCE";
/** Item/list/queue is empty. */
SLStatus[SLStatus["EMPTY"] = 27] = "EMPTY";
/** Item/list/queue is full. */
SLStatus[SLStatus["FULL"] = 28] = "FULL";
/** Item would overflow. */
SLStatus[SLStatus["WOULD_OVERFLOW"] = 29] = "WOULD_OVERFLOW";
/** Item/list/queue has been overflowed. */
SLStatus[SLStatus["HAS_OVERFLOWED"] = 30] = "HAS_OVERFLOWED";
/** Generic ownership error. */
SLStatus[SLStatus["OWNERSHIP"] = 31] = "OWNERSHIP";
/** Already/still owning resource. */
SLStatus[SLStatus["IS_OWNER"] = 32] = "IS_OWNER";
// -----------------------------------------------------------------------------
// Invalid Parameters Errors
/** Generic invalid argument or consequence of invalid argument. */
SLStatus[SLStatus["INVALID_PARAMETER"] = 33] = "INVALID_PARAMETER";
/** Invalid null pointer received as argument. */
SLStatus[SLStatus["NULL_POINTER"] = 34] = "NULL_POINTER";
/** Invalid configuration provided. */
SLStatus[SLStatus["INVALID_CONFIGURATION"] = 35] = "INVALID_CONFIGURATION";
/** Invalid mode. */
SLStatus[SLStatus["INVALID_MODE"] = 36] = "INVALID_MODE";
/** Invalid handle. */
SLStatus[SLStatus["INVALID_HANDLE"] = 37] = "INVALID_HANDLE";
/** Invalid type for operation. */
SLStatus[SLStatus["INVALID_TYPE"] = 38] = "INVALID_TYPE";
/** Invalid index. */
SLStatus[SLStatus["INVALID_INDEX"] = 39] = "INVALID_INDEX";
/** Invalid range. */
SLStatus[SLStatus["INVALID_RANGE"] = 40] = "INVALID_RANGE";
/** Invalid key. */
SLStatus[SLStatus["INVALID_KEY"] = 41] = "INVALID_KEY";
/** Invalid credentials. */
SLStatus[SLStatus["INVALID_CREDENTIALS"] = 42] = "INVALID_CREDENTIALS";
/** Invalid count. */
SLStatus[SLStatus["INVALID_COUNT"] = 43] = "INVALID_COUNT";
/** Invalid signature / verification failed. */
SLStatus[SLStatus["INVALID_SIGNATURE"] = 44] = "INVALID_SIGNATURE";
/** Item could not be found. */
SLStatus[SLStatus["NOT_FOUND"] = 45] = "NOT_FOUND";
/** Item already exists. */
SLStatus[SLStatus["ALREADY_EXISTS"] = 46] = "ALREADY_EXISTS";
// -----------------------------------------------------------------------------
// IO/Communication Errors
/** Generic I/O failure. */
SLStatus[SLStatus["IO"] = 47] = "IO";
/** I/O failure due to timeout. */
SLStatus[SLStatus["IO_TIMEOUT"] = 48] = "IO_TIMEOUT";
/** Generic transmission error. */
SLStatus[SLStatus["TRANSMIT"] = 49] = "TRANSMIT";
/** Transmit underflowed. */
SLStatus[SLStatus["TRANSMIT_UNDERFLOW"] = 50] = "TRANSMIT_UNDERFLOW";
/** Transmit is incomplete. */
SLStatus[SLStatus["TRANSMIT_INCOMPLETE"] = 51] = "TRANSMIT_INCOMPLETE";
/** Transmit is busy. */
SLStatus[SLStatus["TRANSMIT_BUSY"] = 52] = "TRANSMIT_BUSY";
/** Generic reception error. */
SLStatus[SLStatus["RECEIVE"] = 53] = "RECEIVE";
/** Failed to read on/via given object. */
SLStatus[SLStatus["OBJECT_READ"] = 54] = "OBJECT_READ";
/** Failed to write on/via given object. */
SLStatus[SLStatus["OBJECT_WRITE"] = 55] = "OBJECT_WRITE";
/** Message is too long. */
SLStatus[SLStatus["MESSAGE_TOO_LONG"] = 56] = "MESSAGE_TOO_LONG";
// -----------------------------------------------------------------------------
// EEPROM/Flash Errors
/** EEPROM MFG version mismatch. */
SLStatus[SLStatus["EEPROM_MFG_VERSION_MISMATCH"] = 57] = "EEPROM_MFG_VERSION_MISMATCH";
/** EEPROM Stack version mismatch. */
SLStatus[SLStatus["EEPROM_STACK_VERSION_MISMATCH"] = 58] = "EEPROM_STACK_VERSION_MISMATCH";
/** Flash write is inhibited. */
SLStatus[SLStatus["FLASH_WRITE_INHIBITED"] = 59] = "FLASH_WRITE_INHIBITED";
/** Flash verification failed. */
SLStatus[SLStatus["FLASH_VERIFY_FAILED"] = 60] = "FLASH_VERIFY_FAILED";
/** Flash programming failed. */
SLStatus[SLStatus["FLASH_PROGRAM_FAILED"] = 61] = "FLASH_PROGRAM_FAILED";
/** Flash erase failed. */
SLStatus[SLStatus["FLASH_ERASE_FAILED"] = 62] = "FLASH_ERASE_FAILED";
// -----------------------------------------------------------------------------
// MAC Errors
/** MAC no data. */
SLStatus[SLStatus["MAC_NO_DATA"] = 63] = "MAC_NO_DATA";
/** MAC no ACK received. */
SLStatus[SLStatus["MAC_NO_ACK_RECEIVED"] = 64] = "MAC_NO_ACK_RECEIVED";
/** MAC indirect timeout. */
SLStatus[SLStatus["MAC_INDIRECT_TIMEOUT"] = 65] = "MAC_INDIRECT_TIMEOUT";
/** MAC unknown header type. */
SLStatus[SLStatus["MAC_UNKNOWN_HEADER_TYPE"] = 66] = "MAC_UNKNOWN_HEADER_TYPE";
/** MAC ACK unknown header type. */
SLStatus[SLStatus["MAC_ACK_HEADER_TYPE"] = 67] = "MAC_ACK_HEADER_TYPE";
/** MAC command transmit failure. */
SLStatus[SLStatus["MAC_COMMAND_TRANSMIT_FAILURE"] = 68] = "MAC_COMMAND_TRANSMIT_FAILURE";
// -----------------------------------------------------------------------------
// CLI_STORAGE Errors
/** Error in open NVM */
SLStatus[SLStatus["CLI_STORAGE_NVM_OPEN_ERROR"] = 69] = "CLI_STORAGE_NVM_OPEN_ERROR";
// -----------------------------------------------------------------------------
// Security status codes
/** Image checksum is not valid. */
SLStatus[SLStatus["SECURITY_IMAGE_CHECKSUM_ERROR"] = 70] = "SECURITY_IMAGE_CHECKSUM_ERROR";
/** Decryption failed */
SLStatus[SLStatus["SECURITY_DECRYPT_ERROR"] = 71] = "SECURITY_DECRYPT_ERROR";
// -----------------------------------------------------------------------------
// Command status codes
/** Command was not recognized */
SLStatus[SLStatus["COMMAND_IS_INVALID"] = 72] = "COMMAND_IS_INVALID";
/** Command or parameter maximum length exceeded */
SLStatus[SLStatus["COMMAND_TOO_LONG"] = 73] = "COMMAND_TOO_LONG";
/** Data received does not form a complete command */
SLStatus[SLStatus["COMMAND_INCOMPLETE"] = 74] = "COMMAND_INCOMPLETE";
// -----------------------------------------------------------------------------
// Misc Errors
/** Bus error, e.g. invalid DMA address */
SLStatus[SLStatus["BUS_ERROR"] = 75] = "BUS_ERROR";
// -----------------------------------------------------------------------------
// Unified MAC Errors
/** CCA failure. */
SLStatus[SLStatus["CCA_FAILURE"] = 76] = "CCA_FAILURE";
// -----------------------------------------------------------------------------
// Scan errors
/** MAC scanning. */
SLStatus[SLStatus["MAC_SCANNING"] = 77] = "MAC_SCANNING";
/** MAC incorrect scan type. */
SLStatus[SLStatus["MAC_INCORRECT_SCAN_TYPE"] = 78] = "MAC_INCORRECT_SCAN_TYPE";
/** Invalid channel mask. */
SLStatus[SLStatus["INVALID_CHANNEL_MASK"] = 79] = "INVALID_CHANNEL_MASK";
/** Bad scan duration. */
SLStatus[SLStatus["BAD_SCAN_DURATION"] = 80] = "BAD_SCAN_DURATION";
// -----------------------------------------------------------------------------
// MAC transmit related status
/** The MAC transmit queue is full */
SLStatus[SLStatus["MAC_TRANSMIT_QUEUE_FULL"] = 83] = "MAC_TRANSMIT_QUEUE_FULL";
/**
* The transmit attempt failed because the radio scheduler could not find a slot to transmit this packet in or
* a higher priority event interrupted it
*/
SLStatus[SLStatus["TRANSMIT_SCHEDULER_FAIL"] = 84] = "TRANSMIT_SCHEDULER_FAIL";
/** An unsupported channel setting was specified */
SLStatus[SLStatus["TRANSMIT_INVALID_CHANNEL"] = 85] = "TRANSMIT_INVALID_CHANNEL";
/** An unsupported power setting was specified */
SLStatus[SLStatus["TRANSMIT_INVALID_POWER"] = 86] = "TRANSMIT_INVALID_POWER";
/** The expected ACK was received after the last transmission */
SLStatus[SLStatus["TRANSMIT_ACK_RECEIVED"] = 87] = "TRANSMIT_ACK_RECEIVED";
/**
* The transmit attempt was blocked from going over the air.
* Typically this is due to the Radio Hold Off (RHO) or Coexistence plugins as they can prevent transmits based on external signals.
*/
SLStatus[SLStatus["TRANSMIT_BLOCKED"] = 88] = "TRANSMIT_BLOCKED";
// -----------------------------------------------------------------------------
// NVM3 specific errors
/** The initialization was aborted as the NVM3 instance is not aligned properly in memory */
SLStatus[SLStatus["NVM3_ALIGNMENT_INVALID"] = 89] = "NVM3_ALIGNMENT_INVALID";
/** The initialization was aborted as the size of the NVM3 instance is too small */
SLStatus[SLStatus["NVM3_SIZE_TOO_SMALL"] = 90] = "NVM3_SIZE_TOO_SMALL";
/** The initialization was aborted as the NVM3 page size is not supported */
SLStatus[SLStatus["NVM3_PAGE_SIZE_NOT_SUPPORTED"] = 91] = "NVM3_PAGE_SIZE_NOT_SUPPORTED";
/** The application that there was an error initializing some of the tokens */
SLStatus[SLStatus["NVM3_TOKEN_INIT_FAILED"] = 92] = "NVM3_TOKEN_INIT_FAILED";
/** The initialization was aborted as the NVM3 instance was already opened with other parameters */
SLStatus[SLStatus["NVM3_OPENED_WITH_OTHER_PARAMETERS"] = 93] = "NVM3_OPENED_WITH_OTHER_PARAMETERS";
// -----------------------------------------------------------------------------
// Bluetooth status codes
/** Bonding procedure can't be started because device has no space left for bond. */
SLStatus[SLStatus["BT_OUT_OF_BONDS"] = 1026] = "BT_OUT_OF_BONDS";
/** Unspecified error */
SLStatus[SLStatus["BT_UNSPECIFIED"] = 1027] = "BT_UNSPECIFIED";
/** Hardware failure */
SLStatus[SLStatus["BT_HARDWARE"] = 1028] = "BT_HARDWARE";
/** The bonding does not exist. */
SLStatus[SLStatus["BT_NO_BONDING"] = 1030] = "BT_NO_BONDING";
/** Error using crypto functions */
SLStatus[SLStatus["BT_CRYPTO"] = 1031] = "BT_CRYPTO";
/** Data was corrupted. */
SLStatus[SLStatus["BT_DATA_CORRUPTED"] = 1032] = "BT_DATA_CORRUPTED";
/** Invalid periodic advertising sync handle */
SLStatus[SLStatus["BT_INVALID_SYNC_HANDLE"] = 1034] = "BT_INVALID_SYNC_HANDLE";
/** Bluetooth cannot be used on this hardware */
SLStatus[SLStatus["BT_INVALID_MODULE_ACTION"] = 1035] = "BT_INVALID_MODULE_ACTION";
/** Error received from radio */
SLStatus[SLStatus["BT_RADIO"] = 1036] = "BT_RADIO";
/** Returned when remote disconnects the connection-oriented channel by sending disconnection request. */
SLStatus[SLStatus["BT_L2CAP_REMOTE_DISCONNECTED"] = 1037] = "BT_L2CAP_REMOTE_DISCONNECTED";
/** Returned when local host disconnect the connection-oriented channel by sending disconnection request. */
SLStatus[SLStatus["BT_L2CAP_LOCAL_DISCONNECTED"] = 1038] = "BT_L2CAP_LOCAL_DISCONNECTED";
/** Returned when local host did not find a connection-oriented channel with given destination CID. */
SLStatus[SLStatus["BT_L2CAP_CID_NOT_EXIST"] = 1039] = "BT_L2CAP_CID_NOT_EXIST";
/** Returned when connection-oriented channel disconnected due to LE connection is dropped. */
SLStatus[SLStatus["BT_L2CAP_LE_DISCONNECTED"] = 1040] = "BT_L2CAP_LE_DISCONNECTED";
/** Returned when connection-oriented channel disconnected due to remote end send data even without credit. */
SLStatus[SLStatus["BT_L2CAP_FLOW_CONTROL_VIOLATED"] = 1042] = "BT_L2CAP_FLOW_CONTROL_VIOLATED";
/** Returned when connection-oriented channel disconnected due to remote end send flow control credits exceed 65535. */
SLStatus[SLStatus["BT_L2CAP_FLOW_CONTROL_CREDIT_OVERFLOWED"] = 1043] = "BT_L2CAP_FLOW_CONTROL_CREDIT_OVERFLOWED";
/** Returned when connection-oriented channel has run out of flow control credit and local application still trying to send data. */
SLStatus[SLStatus["BT_L2CAP_NO_FLOW_CONTROL_CREDIT"] = 1044] = "BT_L2CAP_NO_FLOW_CONTROL_CREDIT";
/** Returned when connection-oriented channel has not received connection response message within maximum timeout. */
SLStatus[SLStatus["BT_L2CAP_CONNECTION_REQUEST_TIMEOUT"] = 1045] = "BT_L2CAP_CONNECTION_REQUEST_TIMEOUT";
/** Returned when local host received a connection-oriented channel connection response with an invalid destination CID. */
SLStatus[SLStatus["BT_L2CAP_INVALID_CID"] = 1046] = "BT_L2CAP_INVALID_CID";
/** Returned when local host application tries to send a command which is not suitable for L2CAP channel's current state. */
SLStatus[SLStatus["BT_L2CAP_WRONG_STATE"] = 1047] = "BT_L2CAP_WRONG_STATE";
/** Flash reserved for PS store is full */
SLStatus[SLStatus["BT_PS_STORE_FULL"] = 1051] = "BT_PS_STORE_FULL";
/** PS key not found */
SLStatus[SLStatus["BT_PS_KEY_NOT_FOUND"] = 1052] = "BT_PS_KEY_NOT_FOUND";
/** Mismatched or insufficient security level */
SLStatus[SLStatus["BT_APPLICATION_MISMATCHED_OR_INSUFFICIENT_SECURITY"] = 1053] = "BT_APPLICATION_MISMATCHED_OR_INSUFFICIENT_SECURITY";
/** Encryption/decryption operation failed. */
SLStatus[SLStatus["BT_APPLICATION_ENCRYPTION_DECRYPTION_ERROR"] = 1054] = "BT_APPLICATION_ENCRYPTION_DECRYPTION_ERROR";
// -----------------------------------------------------------------------------
// Bluetooth controller status codes
/** Connection does not exist, or connection open request was cancelled. */
SLStatus[SLStatus["BT_CTRL_UNKNOWN_CONNECTION_IDENTIFIER"] = 4098] = "BT_CTRL_UNKNOWN_CONNECTION_IDENTIFIER";
/**
* Pairing or authentication failed due to incorrect results in the pairing or authentication procedure.
* This could be due to an incorrect PIN or Link Key
*/
SLStatus[SLStatus["BT_CTRL_AUTHENTICATION_FAILURE"] = 4101] = "BT_CTRL_AUTHENTICATION_FAILURE";
/** Pairing failed because of missing PIN, or authentication failed because of missing Key */
SLStatus[SLStatus["BT_CTRL_PIN_OR_KEY_MISSING"] = 4102] = "BT_CTRL_PIN_OR_KEY_MISSING";
/** Controller is out of memory. */
SLStatus[SLStatus["BT_CTRL_MEMORY_CAPACITY_EXCEEDED"] = 4103] = "BT_CTRL_MEMORY_CAPACITY_EXCEEDED";
/** Link supervision timeout has expired. */
SLStatus[SLStatus["BT_CTRL_CONNECTION_TIMEOUT"] = 4104] = "BT_CTRL_CONNECTION_TIMEOUT";
/** Controller is at limit of connections it can support. */
SLStatus[SLStatus["BT_CTRL_CONNECTION_LIMIT_EXCEEDED"] = 4105] = "BT_CTRL_CONNECTION_LIMIT_EXCEEDED";
/**
* The Synchronous Connection Limit to a Device Exceeded error code indicates that the Controller has reached
* the limit to the number of synchronous connections that can be achieved to a device.
*/
SLStatus[SLStatus["BT_CTRL_SYNCHRONOUS_CONNECTION_LIMIT_EXCEEDED"] = 4106] = "BT_CTRL_SYNCHRONOUS_CONNECTION_LIMIT_EXCEEDED";
/**
* The ACL Connection Already Exists error code indicates that an attempt to create a new ACL Connection
* to a device when there is already a connection to this device.
*/
SLStatus[SLStatus["BT_CTRL_ACL_CONNECTION_ALREADY_EXISTS"] = 4107] = "BT_CTRL_ACL_CONNECTION_ALREADY_EXISTS";
/** Command requested cannot be executed because the Controller is in a state where it cannot process this command at this time. */
SLStatus[SLStatus["BT_CTRL_COMMAND_DISALLOWED"] = 4108] = "BT_CTRL_COMMAND_DISALLOWED";
/** The Connection Rejected Due To Limited Resources error code indicates that an incoming connection was rejected due to limited resources. */
SLStatus[SLStatus["BT_CTRL_CONNECTION_REJECTED_DUE_TO_LIMITED_RESOURCES"] = 4109] = "BT_CTRL_CONNECTION_REJECTED_DUE_TO_LIMITED_RESOURCES";
/**
* The Connection Rejected Due To Security Reasons error code indicates that a connection was rejected due
* to security requirements not being fulfilled, like authentication or pairing.
*/
SLStatus[SLStatus["BT_CTRL_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS"] = 4110] = "BT_CTRL_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS";
/**
* The Connection was rejected because this device does not accept the BD_ADDR.
* This may be because the device will only accept connections from specific BD_ADDRs.
*/
SLStatus[SLStatus["BT_CTRL_CONNECTION_REJECTED_DUE_TO_UNACCEPTABLE_BD_ADDR"] = 4111] = "BT_CTRL_CONNECTION_REJECTED_DUE_TO_UNACCEPTABLE_BD_ADDR";
/** The Connection Accept Timeout has been exceeded for this connection attempt. */
SLStatus[SLStatus["BT_CTRL_CONNECTION_ACCEPT_TIMEOUT_EXCEEDED"] = 4112] = "BT_CTRL_CONNECTION_ACCEPT_TIMEOUT_EXCEEDED";
/** A feature or parameter value in the HCI command is not supported. */
SLStatus[SLStatus["BT_CTRL_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE"] = 4113] = "BT_CTRL_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE";
/** Command contained invalid parameters. */
SLStatus[SLStatus["BT_CTRL_INVALID_COMMAND_PARAMETERS"] = 4114] = "BT_CTRL_INVALID_COMMAND_PARAMETERS";
/** User on the remote device terminated the connection. */
SLStatus[SLStatus["BT_CTRL_REMOTE_USER_TERMINATED"] = 4115] = "BT_CTRL_REMOTE_USER_TERMINATED";
/** The remote device terminated the connection because of low resources */
SLStatus[SLStatus["BT_CTRL_REMOTE_DEVICE_TERMINATED_CONNECTION_DUE_TO_LOW_RESOURCES"] = 4116] = "BT_CTRL_REMOTE_DEVICE_TERMINATED_CONNECTION_DUE_TO_LOW_RESOURCES";
/** Remote Device Terminated Connection due to Power Off */
SLStatus[SLStatus["BT_CTRL_REMOTE_POWERING_OFF"] = 4117] = "BT_CTRL_REMOTE_POWERING_OFF";
/** Local device terminated the connection. */
SLStatus[SLStatus["BT_CTRL_CONNECTION_TERMINATED_BY_LOCAL_HOST"] = 4118] = "BT_CTRL_CONNECTION_TERMINATED_BY_LOCAL_HOST";
/**
* The Controller is disallowing an authentication or pairing procedure because too little time has elapsed
* since the last authentication or pairing attempt failed.
*/
SLStatus[SLStatus["BT_CTRL_REPEATED_ATTEMPTS"] = 4119] = "BT_CTRL_REPEATED_ATTEMPTS";
/**
* The device does not allow pairing. This can be for example, when a device only allows pairing during
* a certain time window after some user input allows pairing
*/
SLStatus[SLStatus["BT_CTRL_PAIRING_NOT_ALLOWED"] = 4120] = "BT_CTRL_PAIRING_NOT_ALLOWED";
/** The remote device does not support the feature associated with the issued command. */
SLStatus[SLStatus["BT_CTRL_UNSUPPORTED_REMOTE_FEATURE"] = 4122] = "BT_CTRL_UNSUPPORTED_REMOTE_FEATURE";
/** No other error code specified is appropriate to use. */
SLStatus[SLStatus["BT_CTRL_UNSPECIFIED_ERROR"] = 4127] = "BT_CTRL_UNSPECIFIED_ERROR";
/** Connection terminated due to link-layer procedure timeout. */
SLStatus[SLStatus["BT_CTRL_LL_RESPONSE_TIMEOUT"] = 4130] = "BT_CTRL_LL_RESPONSE_TIMEOUT";
/** LL procedure has collided with the same transaction or procedure that is already in progress. */
SLStatus[SLStatus["BT_CTRL_LL_PROCEDURE_COLLISION"] = 4131] = "BT_CTRL_LL_PROCEDURE_COLLISION";
/** The requested encryption mode is not acceptable at this time. */
SLStatus[SLStatus["BT_CTRL_ENCRYPTION_MODE_NOT_ACCEPTABLE"] = 4133] = "BT_CTRL_ENCRYPTION_MODE_NOT_ACCEPTABLE";
/** Link key cannot be changed because a fixed unit key is being used. */
SLStatus[SLStatus["BT_CTRL_LINK_KEY_CANNOT_BE_CHANGED"] = 4134] = "BT_CTRL_LINK_KEY_CANNOT_BE_CHANGED";
/** LMP PDU or LL PDU that includes an instant cannot be performed because the instant when this would have occurred has passed. */
SLStatus[SLStatus["BT_CTRL_INSTANT_PASSED"] = 4136] = "BT_CTRL_INSTANT_PASSED";
/** It was not possible to pair as a unit key was requested and it is not supported. */
SLStatus[SLStatus["BT_CTRL_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED"] = 4137] = "BT_CTRL_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED";
/** LMP transaction was started that collides with an ongoing transaction. */
SLStatus[SLStatus["BT_CTRL_DIFFERENT_TRANSACTION_COLLISION"] = 4138] = "BT_CTRL_DIFFERENT_TRANSACTION_COLLISION";
/** The Controller cannot perform channel assessment because it is not supported. */
SLStatus[SLStatus["BT_CTRL_CHANNEL_ASSESSMENT_NOT_SUPPORTED"] = 4142] = "BT_CTRL_CHANNEL_ASSESSMENT_NOT_SUPPORTED";
/** The HCI command or LMP PDU sent is only possible on an encrypted link. */
SLStatus[SLStatus["BT_CTRL_INSUFFICIENT_SECURITY"] = 4143] = "BT_CTRL_INSUFFICIENT_SECURITY";
/** A parameter value requested is outside the mandatory range of parameters for the given HCI command or LMP PDU. */
SLStatus[SLStatus["BT_CTRL_PARAMETER_OUT_OF_MANDATORY_RANGE"] = 4144] = "BT_CTRL_PARAMETER_OUT_OF_MANDATORY_RANGE";
/**
* The IO capabilities request or response was rejected because the sending Host does not support
* Secure Simple Pairing even though the receiving Link Manager does.
*/
SLStatus[SLStatus["BT_CTRL_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST"] = 4151] = "BT_CTRL_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST";
/**
* The Host is busy with another pairing operation and unable to support the requested pairing.
* The receiving device should retry pairing again later.
*/
SLStatus[SLStatus["BT_CTRL_HOST_BUSY_PAIRING"] = 4152] = "BT_CTRL_HOST_BUSY_PAIRING";
/** The Controller could not calculate an appropriate value for the Channel selection operation. */
SLStatus[SLStatus["BT_CTRL_CONNECTION_REJECTED_DUE_TO_NO_SUITABLE_CHANNEL_FOUND"] = 4153] = "BT_CTRL_CONNECTION_REJECTED_DUE_TO_NO_SUITABLE_CHANNEL_FOUND";
/** Operation was rejected because the controller is busy and unable to process the request. */
SLStatus[SLStatus["BT_CTRL_CONTROLLER_BUSY"] = 4154] = "BT_CTRL_CONTROLLER_BUSY";
/** Remote device terminated the connection because of an unacceptable connection interval. */
SLStatus[SLStatus["BT_CTRL_UNACCEPTABLE_CONNECTION_INTERVAL"] = 4155] = "BT_CTRL_UNACCEPTABLE_CONNECTION_INTERVAL";
/** Advertising for a fixed duration completed or, for directed advertising, that advertising completed without a connection being created. */
SLStatus[SLStatus["BT_CTRL_ADVERTISING_TIMEOUT"] = 4156] = "BT_CTRL_ADVERTISING_TIMEOUT";
/** Connection was terminated because the Message Integrity Check (MIC) failed on a received packet. */
SLStatus[SLStatus["BT_CTRL_CONNECTION_TERMINATED_DUE_TO_MIC_FAILURE"] = 4157] = "BT_CTRL_CONNECTION_TERMINATED_DUE_TO_MIC_FAILURE";
/** LL initiated a connection but the connection has failed to be established. Controller did not receive any packets from remote end. */
SLStatus[SLStatus["BT_CTRL_CONNECTION_FAILED_TO_BE_ESTABLISHED"] = 4158] = "BT_CTRL_CONNECTION_FAILED_TO_BE_ESTABLISHED";
/** The MAC of the 802.11 AMP was requested to connect to a peer, but the connection failed. */
SLStatus[SLStatus["BT_CTRL_MAC_CONNECTION_FAILED"] = 4159] = "BT_CTRL_MAC_CONNECTION_FAILED";
/**
* The master, at this time, is unable to make a coarse adjustment to the piconet clock, using the supplied parameters.
* Instead the master will attempt to move the clock using clock dragging.
*/
SLStatus[SLStatus["BT_CTRL_COARSE_CLOCK_ADJUSTMENT_REJECTED_BUT_WILL_TRY_TO_ADJUST_USING_CLOCK_DRAGGING"] = 4160] = "BT_CTRL_COARSE_CLOCK_ADJUSTMENT_REJECTED_BUT_WILL_TRY_TO_ADJUST_USING_CLOCK_DRAGGING";
/** A command was sent from the Host that should identify an Advertising or Sync handle, but the Advertising or Sync handle does not exist. */
SLStatus[SLStatus["BT_CTRL_UNKNOWN_ADVERTISING_IDENTIFIER"] = 4162] = "BT_CTRL_UNKNOWN_ADVERTISING_IDENTIFIER";
/** Number of operations requested has been reached and has indicated the completion of the activity (e.g., advertising or scanning). */
SLStatus[SLStatus["BT_CTRL_LIMIT_REACHED"] = 4163] = "BT_CTRL_LIMIT_REACHED";
/** A request to the Controller issued by the Host and still pending was successfully canceled. */
SLStatus[SLStatus["BT_CTRL_OPERATION_CANCELLED_BY_HOST"] = 4164] = "BT_CTRL_OPERATION_CANCELLED_BY_HOST";
/** An attempt was made to send or receive a packet that exceeds the maximum allowed packet l */
SLStatus[SLStatus["BT_CTRL_PACKET_TOO_LONG"] = 4165] = "BT_CTRL_PACKET_TOO_LONG";
// -----------------------------------------------------------------------------
// Bluetooth attribute status codes
/** The attribute handle given was not valid on this server */
SLStatus[SLStatus["BT_ATT_INVALID_HANDLE"] = 4353] = "BT_ATT_INVALID_HANDLE";
/** The attribute cannot be read */
SLStatus[SLStatus["BT_ATT_READ_NOT_PERMITTED"] = 4354] = "BT_ATT_READ_NOT_PERMITTED";
/** The attribute cannot be written */
SLStatus[SLStatus["BT_ATT_WRITE_NOT_PERMITTED"] = 4355] = "BT_ATT_WRITE_NOT_PERMITTED";
/** The attribute PDU was invalid */
SLStatus[SLStatus["BT_ATT_INVALID_PDU"] = 4356] = "BT_ATT_INVALID_PDU";
/** The attribute requires authentication before it can be read or written. */
SLStatus[SLStatus["BT_ATT_INSUFFICIENT_AUTHENTICATION"] = 4357] = "BT_ATT_INSUFFICIENT_AUTHENTICATION";
/** Attribute Server does not support the request received from the client. */
SLStatus[SLStatus["BT_ATT_REQUEST_NOT_SUPPORTED"] = 4358] = "BT_ATT_REQUEST_NOT_SUPPORTED";
/** Offset specified was past the end of the attribute */
SLStatus[SLStatus["BT_ATT_INVALID_OFFSET"] = 4359] = "BT_ATT_INVALID_OFFSET";
/** The attribute requires authorization before it can be read or written. */
SLStatus[SLStatus["BT_ATT_INSUFFICIENT_AUTHORIZATION"] = 4360] = "BT_ATT_INSUFFICIENT_AUTHORIZATION";
/** Too many prepare writes have been queued */
SLStatus[SLStatus["BT_ATT_PREPARE_QUEUE_FULL"] = 4361] = "BT_ATT_PREPARE_QUEUE_FULL";
/** No attribute found within the given attribute handle range. */
SLStatus[SLStatus["BT_ATT_ATT_NOT_FOUND"] = 4362] = "BT_ATT_ATT_NOT_FOUND";
/** The attribute cannot be read or written using the Read Blob Request */
SLStatus[SLStatus["BT_ATT_ATT_NOT_LONG"] = 4363] = "BT_ATT_ATT_NOT_LONG";
/** The Encryption Key Size used for encrypting this link is insufficient. */
SLStatus[SLStatus["BT_ATT_INSUFFICIENT_ENC_KEY_SIZE"] = 4364] = "BT_ATT_INSUFFICIENT_ENC_KEY_SIZE";
/** The attribute value length is invalid for the operation */
SLStatus[SLStatus["BT_ATT_INVALID_ATT_LENGTH"] = 4365] = "BT_ATT_INVALID_ATT_LENGTH";
/** The attribute request that was requested has encountered an error that was unlikely, and therefore could not be completed as requested. */
SLStatus[SLStatus["BT_ATT_UNLIKELY_ERROR"] = 4366] = "BT_ATT_UNLIKELY_ERROR";
/** The attribute requires encryption before it can be read or written. */
SLStatus[SLStatus["BT_ATT_INSUFFICIENT_ENCRYPTION"] = 4367] = "BT_ATT_INSUFFICIENT_ENCRYPTION";
/** The attribute type is not a supported grouping attribute as defined by a higher layer specification. */
SLStatus[SLStatus["BT_ATT_UNSUPPORTED_GROUP_TYPE"] = 4368] = "BT_ATT_UNSUPPORTED_GROUP_TYPE";
/** Insufficient Resources to complete the request */
SLStatus[SLStatus["BT_ATT_INSUFFICIENT_RESOURCES"] = 4369] = "BT_ATT_INSUFFICIENT_RESOURCES";
/** The server requests the client to rediscover the database. */
SLStatus[SLStatus["BT_ATT_OUT_OF_SYNC"] = 4370] = "BT_ATT_OUT_OF_SYNC";
/** The attribute parameter value was not allowed. */
SLStatus[SLStatus["BT_ATT_VALUE_NOT_ALLOWED"] = 4371] = "BT_ATT_VALUE_NOT_ALLOWED";
/** When this is returned in a BGAPI response, the application tried to read or write the value of a user attribute from the GATT database. */
SLStatus[SLStatus["BT_ATT_APPLICATION"] = 4480] = "BT_ATT_APPLICATION";
/** The requested write operation cannot be fulfilled for reasons other than permissions. */
SLStatus[SLStatus["BT_ATT_WRITE_REQUEST_REJECTED"] = 4604] = "BT_ATT_WRITE_REQUEST_REJECTED";
/** The Client Characteristic Configuration descriptor is not configured according to the requirements of the profile or service. */
SLStatus[SLStatus["BT_ATT_CLIENT_CHARACTERISTIC_CONFIGURATION_DESCRIPTOR_IMPROPERLY_CONFIGURED"] = 4605] = "BT_ATT_CLIENT_CHARACTERISTIC_CONFIGURATION_DESCRIPTOR_IMPROPERLY_CONFIGURED";
/** The profile or service request cannot be serviced because an operation that has been previously triggered is still in progress. */
SLStatus[SLStatus["BT_ATT_PROCEDURE_ALREADY_IN_PROGRESS"] = 4606] = "BT_ATT_PROCEDURE_ALREADY_IN_PROGRESS";
/** The attribute value is out of range as defined by a profile or service specification. */
SLStatus[SLStatus["BT_ATT_OUT_OF_RANGE"] = 4607] = "BT_ATT_OUT_OF_RANGE";
// -----------------------------------------------------------------------------
// Bluetooth Security Manager Protocol status codes
/** The user input of passkey failed, for example, the user cancelled the operation */
SLStatus[SLStatus["BT_SMP_PASSKEY_ENTRY_FAILED"] = 4609] = "BT_SMP_PASSKEY_ENTRY_FAILED";
/** Out of Band data is not available for authentication */
SLStatus[SLStatus["BT_SMP_OOB_NOT_AVAILABLE"] = 4610] = "BT_SMP_OOB_NOT_AVAILABLE";
/** The pairing procedure cannot be performed as authentication requirements cannot be met due to IO capabilities of one or both devices */
SLStatus[SLStatus["BT_SMP_AUTHENTICATION_REQUIREMENTS"] = 4611] = "BT_SMP_AUTHENTICATION_REQUIREMENTS";
/** The confirm value does not match the calculated compare value */
SLStatus[SLStatus["BT_SMP_CONFIRM_VALUE_FAILED"] = 4612] = "BT_SMP_CONFIRM_VALUE_FAILED";
/** Pairing is not supported by the device */
SLStatus[SLStatus["BT_SMP_PAIRING_NOT_SUPPORTED"] = 4613] = "BT_SMP_PAIRING_NOT_SUPPORTED";
/** The resultant encryption key size is insufficient for the security requirements of this device */
SLStatus[SLStatus["BT_SMP_ENCRYPTION_KEY_SIZE"] = 4614] = "BT_SMP_ENCRYPTION_KEY_SIZE";
/** The SMP command received is not supported on this device */
SLStatus[SLStatus["BT_SMP_COMMAND_NOT_SUPPORTED"] = 4615] = "BT_SMP_COMMAND_NOT_SUPPORTED";
/** Pairing failed due to an unspecified reason */
SLStatus[SLStatus["BT_SMP_UNSPECIFIED_REASON"] = 4616] = "BT_SMP_UNSPECIFIED_REASON";
/** Pairing or authentication procedure is disallowed because too little time has elapsed since last pairing request or security request */
SLStatus[SLStatus["BT_SMP_REPEATED_ATTEMPTS"] = 4617] = "BT_SMP_REPEATED_ATTEMPTS";
/** The Invalid Parameters error code indicates: the command length is invalid or a parameter is outside of the specified range. */
SLStatus[SLStatus["BT_SMP_INVALID_PARAMETERS"] = 4618] = "BT_SMP_INVALID_PARAMETERS";
/** Indicates to the remote device that the DHKey Check value received doesn't match the one calculated by the local device. */
SLStatus[SLStatus["BT_SMP_DHKEY_CHECK_FAILED"] = 4619] = "BT_SMP_DHKEY_CHECK_FAILED";
/** Indicates that the confirm values in the numeric comparison protocol do not match. */
SLStatus[SLStatus["BT_SMP_NUMERIC_COMPARISON_FAILED"] = 4620] = "BT_SMP_NUMERIC_COMPARISON_FAILED";
/** Indicates that the pairing over the LE transport failed due to a Pairing Request sent over the BR/EDR transport in process. */
SLStatus[SLStatus["BT_SMP_BREDR_PAIRING_IN_PROGRESS"] = 4621] = "BT_SMP_BREDR_PAIRING_IN_PROGRESS";
/** Indicates that the BR/EDR Link Key generated on the BR/EDR transport cannot be used to derive and distribute keys for the LE transport. */
SLStatus[SLStatus["BT_SMP_CROSS_TRANSPORT_KEY_DERIVATION_GENERATION_NOT_ALLOWED"] = 4622] = "BT_SMP_CROSS_TRANSPORT_KEY_DERIVATION_GENERATION_NOT_ALLOWED";
/** Indicates that the device chose not to accept a distributed key. */
SLStatus[SLStatus["BT_SMP_KEY_REJECTED"] = 4623] = "BT_SMP_KEY_REJECTED";
// -----------------------------------------------------------------------------
// Bluetooth Mesh status codes
/** Returned when trying to add a key or some other unique resource with an ID which already exists */
SLStatus[SLStatus["BT_MESH_ALREADY_EXISTS"] = 1281] = "BT_MESH_ALREADY_EXISTS";
/** Returned when trying to manipulate a key or some other resource with an ID which does not exist */
SLStatus[SLStatus["BT_MESH_DOES_NOT_EXIST"] = 1282] = "BT_MESH_DOES_NOT_EXIST";
/**
* Returned when an operation cannot be executed because a pre-configured limit for keys, key bindings,
* elements, models, virtual addresses, provisioned devices, or provisioning sessions is reached
*/
SLStatus[SLStatus["BT_MESH_LIMIT_REACHED"] = 1283] = "BT_MESH_LIMIT_REACHED";
/** Returned when trying to use a reserved address or add a "pre-provisioned" device using an address already used by some other device */
SLStatus[SLStatus["BT_MESH_INVALID_ADDRESS"] = 1284] = "BT_MESH_INVALID_ADDRESS";
/** In a BGAPI response, the user supplied malformed data; in a BGAPI event, the remote end responded with malformed or unrecognized data */
SLStatus[SLStatus["BT_MESH_MALFORMED_DATA"] = 1285] = "BT_MESH_MALFORMED_DATA";
/** An attempt was made to initialize a subsystem that was already initialized. */
SLStatus[SLStatus["BT_MESH_ALREADY_INITIALIZED"] = 1286] = "BT_MESH_ALREADY_INITIALIZED";
/** An attempt was made to use a subsystem that wasn't initialized yet. Call the subsystem's init function first. */
SLStatus[SLStatus["BT_MESH_NOT_INITIALIZED"] = 1287] = "BT_MESH_NOT_INITIALIZED";
/** Returned when trying to establish a friendship as a Low Power Node, but no acceptable friend offer message was received. */
SLStatus[SLStatus["BT_MESH_NO_FRIEND_OFFER"] = 1288] = "BT_MESH_NO_FRIEND_OFFER";
/** Provisioning link was unexpectedly closed before provisioning was complete. */
SLStatus[SLStatus["BT_MESH_PROV_LINK_CLOSED"] = 1289] = "BT_MESH_PROV_LINK_CLOSED";
/**An unrecognized provisioning PDU was received. */
SLStatus[SLStatus["BT_MESH_PROV_INVALID_PDU"] = 1290] = "BT_MESH_PROV_INVALID_PDU";
/**A provisioning PDU with wrong length or containing field values that are out of bounds was received. */
SLStatus[SLStatus["BT_MESH_PROV_INVALID_PDU_FORMAT"] = 1291] = "BT_MESH_PROV_INVALID_PDU_FORMAT";
/**An unexpected (out of sequence) provisioning PDU was received. */
SLStatus[SLStatus["BT_MESH_PROV_UNEXPECTED_PDU"] = 1292] = "BT_MESH_PROV_UNEXPECTED_PDU";
/**The computed confirmation value did not match the expected value. */
SLStatus[SLStatus["BT_MESH_PROV_CONFIRMATION_FAILED"] = 1293] = "BT_MESH_PROV_CONFIRMATION_FAILED";
/**Provisioning could not be continued due to insufficient resources. */
SLStatus[SLStatus["BT_MESH_PROV_OUT_OF_RESOURCES"] = 1294] = "BT_MESH_PROV_OUT_OF_RESOURCES";
/**The provisioning data block could not be decrypted. */
SLStatus[SLStatus["BT_MESH_PROV_DECRYPTION_FAILED"] = 1295] = "BT_MESH_PROV_DECRYPTION_FAILED";
/**An unexpected error happened during provisioning. */
SLStatus[SLStatus["BT_MESH_PROV_UNEXPECTED_ERROR"] = 1296] = "BT_MESH_PROV_UNEXPECTED_ERROR";
/**Device could not assign unicast addresses to all of its elements. */
SLStatus[SLStatus["BT_MESH_PROV_CANNOT_ASSIGN_ADDR"] = 1297] = "BT_MESH_PROV_CANNOT_ASSIGN_ADDR";
/**Returned when trying to reuse an address of a previously deleted device before an IV Index Update has been executed. */
SLStatus[SLStatus["BT_MESH_ADDRESS_TEMPORARILY_UNAVAILABLE"] = 1298] = "BT_MESH_ADDRESS_TEMPORARILY_UNAVAILABLE";
/**Returned when trying to assign an address that is used by one of the devices in the Device Database, or by the Provisioner itself. */
SLStatus[SLStatus["BT_MESH_ADDRESS_ALREADY_USED"] = 1299] = "BT_MESH_ADDRESS_ALREADY_USED";
/**Application key or publish address are not set */
SLStatus[SLStatus["BT_MESH_PUBLISH_NOT_CONFIGURED"] = 1300] = "BT_MESH_PUBLISH_NOT_CONFIGURED";
/**Application key is not bound to a model */
SLStatus[SLStatus["BT_MESH_APP_KEY_NOT_BOUND"] = 1301] = "BT_MESH_APP_KEY_NOT_BOUND";
// -----------------------------------------------------------------------------
// Bluetooth Mesh foundation status codes
/** Returned when address in request was not valid */
SLStatus[SLStatus["BT_MESH_FOUNDATION_INVALID_ADDRESS"] = 4865] = "BT_MESH_FOUNDATION_INVALID_ADDRESS";
/** Returned when model identified is not found for a given element */
SLStatus[SLStatus["BT_MESH_FOUNDATION_INVALID_MODEL"] = 4866] = "BT_MESH_FOUNDATION_INVALID_MODEL";
/** Returned when the key identified by AppKeyIndex is not stored in the node */
SLStatus[SLStatus["BT_MESH_FOUNDATION_INVALID_APP_KEY"] = 4867] = "BT_MESH_FOUNDATION_INVALID_APP_KEY";
/** Returned when the key identified by NetKeyIndex is not stored in the node */
SLStatus[SLStatus["BT_MESH_FOUNDATION_INVALID_NET_KEY"] = 4868] = "BT_MESH_FOUNDATION_INVALID_NET_KEY";
/** Returned when The node cannot serve the request due to insufficient resources */
SLStatus[SLStatus["BT_MESH_FOUNDATION_INSUFFICIENT_RESOURCES"] = 4869] = "BT_MESH_FOUNDATION_INSUFFICIENT_RESOURCES";
/** Returned when the key identified is already stored in the node and the new NetKey value is different */
SLStatus[SLStatus["BT_MESH_FOUNDATION_KEY_INDEX_EXISTS"] = 4870] = "BT_MESH_FOUNDATION_KEY_INDEX_EXISTS";
/** Returned when the model does not support the publish mechanism */
SLStatus[SLStatus["BT_MESH_FOUNDATION_INVALID_PUBLISH_PARAMS"] = 4871] = "BT_MESH_FOUNDATION_INVALID_PUBLISH_PARAMS";
/** Returned when the model does not support the subscribe mechanism */
SLStatus[SLStatus["BT_MESH_FOUNDATION_NOT_SUBSCRIBE_MODEL"] = 4872] = "BT_MESH_FOUNDATION_NOT_SUBSCRIBE_MODEL";
/** Returned when storing of the requested parameters failed */
SLStatus[SLStatus["BT_MESH_FOUNDATION_STORAGE_FAILURE"] = 4873] = "BT_MESH_FOUNDATION_STORAGE_FAILURE";
/**Returned when requested setting is not supported */
SLStatus[SLStatus["BT_MESH_FOUNDATION_NOT_SUPPORTED"] = 4874] = "BT_MESH_FOUNDATION_NOT_SUPPORTED";
/**Returned when the requested update operation cannot be performed due to general constraints */
SLStatus[SLStatus["BT_MESH_FOUNDATION_CANNOT_UPDATE"] = 4875] = "BT_MESH_FOUNDATION_CANNOT_UPDATE";
/**Returned when the requested delete operation cannot be performed due to general constraints */
SLStatus[SLStatus["BT_MESH_FOUNDATION_CANNOT_REMOVE"] = 4876] = "BT_MESH_FOUNDATION_CANNOT_REMOVE";
/**Returned when the requested bind operation cannot be performed due to general constraints */
SLStatus[SLStatus["BT_MESH_FOUNDATION_CANNOT_BIND"] = 4877] = "BT_MESH_FOUNDATION_CANNOT_BIND";
/**Returned when The node cannot start advertising with Node Identity or Proxy since the maximum number of parallel advertising is reached */
SLStatus[SLStatus["BT_MESH_FOUNDATION_TEMPORARILY_UNABLE"] = 4878] = "BT_MESH_FOUNDATION_TEMPORARILY_UNABLE";
/**Returned when the requested state cannot be set */
SLStatus[SLStatus["BT_MESH_FOUNDATION_CANNOT_SET"] = 4879] = "BT_MESH_FOUNDATION_CANNOT_SET";
/**Returned when an unspecified error took place */
SLStatus[SLStatus["BT_MESH_FOUNDATION_UNSPECIFIED"] = 4880] = "BT_MESH_FOUNDATION_UNSPECIFIED";
/**Returned when the NetKeyIndex and AppKeyIndex combination is not valid for a Config AppKey Update */
SLStatus[SLStatus["BT_MESH_FOUNDATION_INVALID_BINDING"] = 4881] = "BT_MESH_FOUNDATION_INVALID_BINDING";
// -----------------------------------------------------------------------------
// Wi-Fi Errors
/** Invalid firmware keyset */
SLStatus[SLStatus["WIFI_INVALID_KEY"] = 2817] = "WIFI_INVALID_KEY";
/** The firmware download took too long */
SLStatus[SLStatus["WIFI_FIRMWARE_DOWNLOAD_TIMEOUT"] = 2818] = "WIFI_FIRMWARE_DOWNLOAD_TIMEOUT";
/** Unknown request ID or wrong interface ID used */
SLStatus[SLStatus["WIFI_UNSUPPORTED_MESSAGE_ID"] = 2819] = "WIFI_UNSUPPORTED_MESSAGE_ID";
/** The request is successful but some parameters have been ignored */
SLStatus[SLStatus["WIFI_WARNING"] = 2820] = "WIFI_WARNING";
/** No Packets waiting to be received */
SLStatus[SLStatus["WIFI_NO_PACKET_TO_RECEIVE"] = 2821] = "WIFI_NO_PACKET_TO_RECEIVE";
/** The sleep mode is granted */
SLStatus[SLStatus["WIFI_SLEEP_GRANTED"] = 2824] = "WIFI_SLEEP_GRANTED";
/** The WFx does not go back to sleep */
SLStatus[SLStatus["WIFI_SLEEP_NOT_GRANTED"] = 2825] = "WIFI_SLEEP_NOT_GRANTED";
/** The SecureLink MAC key was not found */
SLStatus[SLStatus["WIFI_SECURE_LINK_MAC_KEY_ERROR"] = 2832] = "WIFI_SECURE_LINK_MAC_KEY_ERROR";
/** The SecureLink MAC key is already installed in OTP */
SLStatus[SLStatus["WIFI_SECURE_LINK_MAC_KEY_ALREADY_BURNED"] = 2833] = "WIFI_SECURE_LINK_MAC_KEY_ALREADY_BURNED";
/** The SecureLink MAC key cannot be installed in RAM */
SLStatus[SLStatus["WIFI_SECURE_LINK_RAM_MODE_NOT_ALLOWED"] = 2834] = "WIFI_SECURE_LINK_RAM_MODE_NOT_ALLOWED";
/** The SecureLink MAC key installation failed */
SLStatus[SLStatus["WIFI_SECURE_LINK_FAILED_UNKNOWN_MODE"] = 2835] = "WIFI_SECURE_LINK_FAILED_UNKNOWN_MODE";
/** SecureLink key (re)negotiation failed */
SLStatus[SLStatus["WIFI_SECURE_LINK_EXCHANGE_FAILED"] = 2836] = "WIFI_SECURE_LINK_EXCHANGE_FAILED";
/** The device is in an inappropriate state to perform the request */
SLStatus[SLStatus["WIFI_WRONG_STATE"] = 2840] = "WIFI_WRONG_STATE";
/** The request failed due to regulatory limitations */
SLStatus[SLStatus["WIFI_CHANNEL_NOT_ALLOWED"] = 2841] = "WIFI_CHANNEL_NOT_ALLOWED";
/** The connection request failed because no suitable AP was found */
SLStatus[SLStatus["WIFI_NO_MATCHING_AP"] = 2842] = "WIFI_NO_MATCHING_AP";
/** The connection request was aborted by host */
SLStatus[SLStatus["WIFI_CONNECTION_ABORTED"] = 2843] = "WIFI_CONNECTION_ABORTED";
/** The connection request failed because of a timeout */
SLStatus[SLStatus["WIFI_CONNECTION_TIMEOUT"] = 2844] = "WIFI_CONNECTION_TIMEOUT";
/** The connection request failed because the AP rejected the device */
SLStatus[SLStatus["WIFI_CONNECTION_REJECTED_BY_AP"] = 2845] = "WIFI_CONNECTION_REJECTED_BY_AP";
/** The connection request failed because the WPA handshake did not complete successfully */
SLStatus[SLStatus["WIFI_CONNECTION_AUTH_FAILURE"] = 2846] = "WIFI_CONNECTION_AUTH_FAILURE";
/** The request failed because the retry limit was exceeded */
SLStatus[SLStatus["WIFI_RETRY_EXCEEDED"] = 2847] = "WIFI_RETRY_EXCEEDED";
/** The request failed because the MSDU life time was exceeded */
SLStatus[SLStatus["WIFI_TX_LIFETIME_EXCEEDED"] = 2848] = "WIFI_TX_LIFETIME_EXCEEDED";
// -----------------------------------------------------------------------------
// MVP Driver and MVP Math status codes
/** Critical fault */
SLStatus[SLStatus["COMPUTE_DRIVER_FAULT"] = 5377] = "COMPUTE_DRIVER_FAULT";
/** ALU operation output NaN */
SLStatus[SLStatus["COMPUTE_DRIVER_ALU_NAN"] = 5378] = "COMPUTE_DRIVER_ALU_NAN";
/** ALU numeric overflow */
SLStatus[SLStatus["COMPUTE_DRIVER_ALU_OVERFLOW"] = 5379] = "COMPUTE_DRIVER_ALU_OVERFLOW";
/** ALU numeric underflow */
SLStatus[SLStatus["COMPUTE_DRIVER_ALU_UNDERFLOW"] = 5380] = "COMPUTE_DRIVER_ALU_UNDERFLOW";
/** Overflow during array store */
SLStatus[SLStatus["COMPUTE_DRIVER_STORE_CONVERSION_OVERFLOW"] = 5381] = "COMPUTE_DRIVER_STORE_CONVERSION_OVERFLOW";
/** Underflow during array store conversion */
SLStatus[SLStatus["COMPUTE_DRIVER_STORE_CONVERSION_UNDERFLOW"] = 5382] = "COMPUTE_DRIVER_STORE_CONVERSION_UNDERFLOW";
/** Infinity encountered during array store conversion */
SLStatus[SLStatus["COMPUTE_DRIVER_STORE_CONVERSION_INFINITY"] = 5383] = "COMPUTE_DRIVER_STORE_CONVERSION_INFINITY";
/** NaN encountered during array store conversion */
SLStatus[SLStatus["COMPUTE_DRIVER_STORE_CONVERSION_NAN"] = 5384] = "COMPUTE_DRIVER_STORE_CONVERSION_NAN";
/** MATH NaN encountered */
SLStatus[SLStatus["COMPUTE_MATH_NAN"] = 5394] = "COMPUTE_MATH_NAN";
/** MATH Infinity encountered */
SLStatus[SLStatus["COMPUTE_MATH_INFINITY"] = 5395] = "COMPUTE_MATH_INFINITY";
/** MATH numeric overflow */
SLStatus[SLStatus["COMPUTE_MATH_OVERFLOW"] = 5396] = "COMPUTE_MATH_OVERFLOW";
/** MATH numeric underflow */
SLStatus[SLStatus["COMPUTE_MATH_UNDERFLOW"] = 5397] = "COMPUTE_MATH_UNDERFLOW";
// -----------------------------------------------------------------------------
// Zigbee status codes
/** Packet is dropped by packet-handoff callbacks */
SLStatus[SLStatus["ZIGBEE_PACKET_HANDOFF_DROPPED"] = 3073] = "ZIGBEE_PACKET_HANDOFF_DROPPED";
/** The APS layer attempted to send or deliver a message and failed */
SLStatus[SLStatus["ZIGBEE_DELIVERY_FAILED"] = 3074] = "ZIGBEE_DELIVERY_FAILED";
/** The maximum number of in-flight messages ::EMBER_APS_UNICAST_MESSAGE_COUNT has been reached */
SLStatus[SLStatus["ZIGBEE_MAX_MESSAGE_LIMIT_REACHED"] = 3075] = "ZIGBEE_MAX_MESSAGE_LIMIT_REACHED";
/** The application is trying to delete or overwrite a binding that is in use */
SLStatus[SLStatus["ZIGBEE_BINDING_IS_ACTIVE"] = 3076] = "ZIGBEE_BINDING_IS_ACTIVE";
/** The application is trying to overwrite an address table entry that is in use */
SLStatus[SLStatus["ZIGBEE_ADDRESS_TABLE_ENTRY_IS_ACTIVE"] = 3077] = "ZIGBEE_ADDRESS_TABLE_ENTRY_IS_ACTIVE";
/** After moving, a mobile node's attempt to re-establish contact with the network failed */
SLStatus[SLStatus["ZIGBEE_MOVE_FAILED"] = 3