zigbee-herdsman 0.50.1 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/adapter/ember/adapter/emberAdapter.d.ts +23 -441
- package/dist/adapter/ember/adapter/emberAdapter.d.ts.map +1 -1
- package/dist/adapter/ember/adapter/emberAdapter.js +446 -1083
- package/dist/adapter/ember/adapter/emberAdapter.js.map +1 -1
- package/dist/adapter/ember/adapter/oneWaitress.d.ts +5 -4
- package/dist/adapter/ember/adapter/oneWaitress.d.ts.map +1 -1
- package/dist/adapter/ember/adapter/oneWaitress.js +28 -14
- package/dist/adapter/ember/adapter/oneWaitress.js.map +1 -1
- package/dist/adapter/ember/adapter/requestQueue.d.ts +14 -4
- package/dist/adapter/ember/adapter/requestQueue.d.ts.map +1 -1
- package/dist/adapter/ember/adapter/requestQueue.js +55 -35
- package/dist/adapter/ember/adapter/requestQueue.js.map +1 -1
- package/dist/adapter/ember/adapter/tokensManager.d.ts +10 -9
- package/dist/adapter/ember/adapter/tokensManager.d.ts.map +1 -1
- package/dist/adapter/ember/adapter/tokensManager.js +34 -34
- package/dist/adapter/ember/adapter/tokensManager.js.map +1 -1
- package/dist/adapter/ember/consts.d.ts +1 -0
- package/dist/adapter/ember/consts.d.ts.map +1 -1
- package/dist/adapter/ember/consts.js +2 -0
- package/dist/adapter/ember/consts.js.map +1 -1
- package/dist/adapter/ember/enums.d.ts +128 -407
- package/dist/adapter/ember/enums.d.ts.map +1 -1
- package/dist/adapter/ember/enums.js +140 -436
- package/dist/adapter/ember/enums.js.map +1 -1
- package/dist/adapter/ember/ezsp/buffalo.d.ts +13 -2
- package/dist/adapter/ember/ezsp/buffalo.d.ts.map +1 -1
- package/dist/adapter/ember/ezsp/buffalo.js +137 -28
- package/dist/adapter/ember/ezsp/buffalo.js.map +1 -1
- package/dist/adapter/ember/ezsp/consts.d.ts +2 -1
- package/dist/adapter/ember/ezsp/consts.d.ts.map +1 -1
- package/dist/adapter/ember/ezsp/consts.js +4 -3
- package/dist/adapter/ember/ezsp/consts.js.map +1 -1
- package/dist/adapter/ember/ezsp/enums.d.ts +160 -49
- package/dist/adapter/ember/ezsp/enums.d.ts.map +1 -1
- package/dist/adapter/ember/ezsp/enums.js +177 -47
- package/dist/adapter/ember/ezsp/enums.js.map +1 -1
- package/dist/adapter/ember/ezsp/ezsp.d.ts +975 -716
- package/dist/adapter/ember/ezsp/ezsp.d.ts.map +1 -1
- package/dist/adapter/ember/ezsp/ezsp.js +2413 -1882
- package/dist/adapter/ember/ezsp/ezsp.js.map +1 -1
- package/dist/adapter/ember/ezspError.d.ts +6 -0
- package/dist/adapter/ember/ezspError.d.ts.map +1 -0
- package/dist/adapter/ember/ezspError.js +13 -0
- package/dist/adapter/ember/ezspError.js.map +1 -0
- package/dist/adapter/ember/types.d.ts +89 -42
- package/dist/adapter/ember/types.d.ts.map +1 -1
- package/dist/adapter/ember/uart/ash.d.ts +11 -7
- package/dist/adapter/ember/uart/ash.d.ts.map +1 -1
- package/dist/adapter/ember/uart/ash.js +15 -17
- package/dist/adapter/ember/uart/ash.js.map +1 -1
- package/dist/adapter/ember/utils/math.d.ts +0 -8
- package/dist/adapter/ember/utils/math.d.ts.map +1 -1
- package/dist/adapter/ember/utils/math.js +1 -20
- package/dist/adapter/ember/utils/math.js.map +1 -1
- package/package.json +1 -1
- package/dist/adapter/ember/zdo.d.ts +0 -925
- package/dist/adapter/ember/zdo.d.ts.map +0 -1
- package/dist/adapter/ember/zdo.js +0 -723
- package/dist/adapter/ember/zdo.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
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.
|
|
4
|
-
/** Status
|
|
3
|
+
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;
|
|
4
|
+
/** Status Codes contains error and status code definitions used by Simplicity SDK software components and stacks. */
|
|
5
5
|
var SLStatus;
|
|
6
6
|
(function (SLStatus) {
|
|
7
7
|
// -----------------------------------------------------------------------------
|
|
@@ -193,6 +193,38 @@ var SLStatus;
|
|
|
193
193
|
/** Bad scan duration. */
|
|
194
194
|
SLStatus[SLStatus["BAD_SCAN_DURATION"] = 80] = "BAD_SCAN_DURATION";
|
|
195
195
|
// -----------------------------------------------------------------------------
|
|
196
|
+
// MAC transmit related status
|
|
197
|
+
/** The MAC transmit queue is full */
|
|
198
|
+
SLStatus[SLStatus["MAC_TRANSMIT_QUEUE_FULL"] = 83] = "MAC_TRANSMIT_QUEUE_FULL";
|
|
199
|
+
/**
|
|
200
|
+
* The transmit attempt failed because the radio scheduler could not find a slot to transmit this packet in or
|
|
201
|
+
* a higher priority event interrupted it
|
|
202
|
+
*/
|
|
203
|
+
SLStatus[SLStatus["TRANSMIT_SCHEDULER_FAIL"] = 84] = "TRANSMIT_SCHEDULER_FAIL";
|
|
204
|
+
/** An unsupported channel setting was specified */
|
|
205
|
+
SLStatus[SLStatus["TRANSMIT_INVALID_CHANNEL"] = 85] = "TRANSMIT_INVALID_CHANNEL";
|
|
206
|
+
/** An unsupported power setting was specified */
|
|
207
|
+
SLStatus[SLStatus["TRANSMIT_INVALID_POWER"] = 86] = "TRANSMIT_INVALID_POWER";
|
|
208
|
+
/** The expected ACK was received after the last transmission */
|
|
209
|
+
SLStatus[SLStatus["TRANSMIT_ACK_RECEIVED"] = 87] = "TRANSMIT_ACK_RECEIVED";
|
|
210
|
+
/**
|
|
211
|
+
* The transmit attempt was blocked from going over the air.
|
|
212
|
+
* Typically this is due to the Radio Hold Off (RHO) or Coexistence plugins as they can prevent transmits based on external signals.
|
|
213
|
+
*/
|
|
214
|
+
SLStatus[SLStatus["TRANSMIT_BLOCKED"] = 88] = "TRANSMIT_BLOCKED";
|
|
215
|
+
// -----------------------------------------------------------------------------
|
|
216
|
+
// NVM3 specific errors
|
|
217
|
+
/** The initialization was aborted as the NVM3 instance is not aligned properly in memory */
|
|
218
|
+
SLStatus[SLStatus["NVM3_ALIGNMENT_INVALID"] = 89] = "NVM3_ALIGNMENT_INVALID";
|
|
219
|
+
/** The initialization was aborted as the size of the NVM3 instance is too small */
|
|
220
|
+
SLStatus[SLStatus["NVM3_SIZE_TOO_SMALL"] = 90] = "NVM3_SIZE_TOO_SMALL";
|
|
221
|
+
/** The initialization was aborted as the NVM3 page size is not supported */
|
|
222
|
+
SLStatus[SLStatus["NVM3_PAGE_SIZE_NOT_SUPPORTED"] = 91] = "NVM3_PAGE_SIZE_NOT_SUPPORTED";
|
|
223
|
+
/** The application that there was an error initializing some of the tokens */
|
|
224
|
+
SLStatus[SLStatus["NVM3_TOKEN_INIT_FAILED"] = 92] = "NVM3_TOKEN_INIT_FAILED";
|
|
225
|
+
/** The initialization was aborted as the NVM3 instance was already opened with other parameters */
|
|
226
|
+
SLStatus[SLStatus["NVM3_OPENED_WITH_OTHER_PARAMETERS"] = 93] = "NVM3_OPENED_WITH_OTHER_PARAMETERS";
|
|
227
|
+
// -----------------------------------------------------------------------------
|
|
196
228
|
// Bluetooth status codes
|
|
197
229
|
/** Bonding procedure can't be started because device has no space left for bond. */
|
|
198
230
|
SLStatus[SLStatus["BT_OUT_OF_BONDS"] = 1026] = "BT_OUT_OF_BONDS";
|
|
@@ -601,438 +633,79 @@ var SLStatus;
|
|
|
601
633
|
SLStatus[SLStatus["COMPUTE_MATH_OVERFLOW"] = 5396] = "COMPUTE_MATH_OVERFLOW";
|
|
602
634
|
/** MATH numeric underflow */
|
|
603
635
|
SLStatus[SLStatus["COMPUTE_MATH_UNDERFLOW"] = 5397] = "COMPUTE_MATH_UNDERFLOW";
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
/** There are no more buffers. */
|
|
629
|
-
EmberStatus[EmberStatus["NO_BUFFERS"] = 24] = "NO_BUFFERS";
|
|
630
|
-
/** Packet is dropped by packet-handoff callbacks. */
|
|
631
|
-
EmberStatus[EmberStatus["PACKET_HANDOFF_DROP_PACKET"] = 25] = "PACKET_HANDOFF_DROP_PACKET";
|
|
632
|
-
// Serial Manager Errors
|
|
633
|
-
/** Specifies an invalid baud rate. */
|
|
634
|
-
EmberStatus[EmberStatus["SERIAL_INVALID_BAUD_RATE"] = 32] = "SERIAL_INVALID_BAUD_RATE";
|
|
635
|
-
/** Specifies an invalid serial port. */
|
|
636
|
-
EmberStatus[EmberStatus["SERIAL_INVALID_PORT"] = 33] = "SERIAL_INVALID_PORT";
|
|
637
|
-
/** Tried to send too much data. */
|
|
638
|
-
EmberStatus[EmberStatus["SERIAL_TX_OVERFLOW"] = 34] = "SERIAL_TX_OVERFLOW";
|
|
639
|
-
/** There wasn't enough space to store a received character and the character was dropped. */
|
|
640
|
-
EmberStatus[EmberStatus["SERIAL_RX_OVERFLOW"] = 35] = "SERIAL_RX_OVERFLOW";
|
|
641
|
-
/** Detected a UART framing error. */
|
|
642
|
-
EmberStatus[EmberStatus["SERIAL_RX_FRAME_ERROR"] = 36] = "SERIAL_RX_FRAME_ERROR";
|
|
643
|
-
/** Detected a UART parity error. */
|
|
644
|
-
EmberStatus[EmberStatus["SERIAL_RX_PARITY_ERROR"] = 37] = "SERIAL_RX_PARITY_ERROR";
|
|
645
|
-
/** There is no received data to process. */
|
|
646
|
-
EmberStatus[EmberStatus["SERIAL_RX_EMPTY"] = 38] = "SERIAL_RX_EMPTY";
|
|
647
|
-
/** The receive interrupt was not handled in time and a character was dropped. */
|
|
648
|
-
EmberStatus[EmberStatus["SERIAL_RX_OVERRUN_ERROR"] = 39] = "SERIAL_RX_OVERRUN_ERROR";
|
|
649
|
-
// MAC Errors
|
|
650
|
-
/** The MAC transmit queue is full. */
|
|
651
|
-
EmberStatus[EmberStatus["MAC_TRANSMIT_QUEUE_FULL"] = 57] = "MAC_TRANSMIT_QUEUE_FULL";
|
|
652
|
-
// Internal
|
|
653
|
-
/** MAC header FCF error on receive. */
|
|
654
|
-
EmberStatus[EmberStatus["MAC_UNKNOWN_HEADER_TYPE"] = 58] = "MAC_UNKNOWN_HEADER_TYPE";
|
|
655
|
-
/** MAC ACK header received. */
|
|
656
|
-
EmberStatus[EmberStatus["MAC_ACK_HEADER_TYPE"] = 59] = "MAC_ACK_HEADER_TYPE";
|
|
657
|
-
/** The MAC can't complete this task because it is scanning. */
|
|
658
|
-
EmberStatus[EmberStatus["MAC_SCANNING"] = 61] = "MAC_SCANNING";
|
|
659
|
-
/** No pending data exists for a data poll. */
|
|
660
|
-
EmberStatus[EmberStatus["MAC_NO_DATA"] = 49] = "MAC_NO_DATA";
|
|
661
|
-
/** Attempts to scan when joined to a network. */
|
|
662
|
-
EmberStatus[EmberStatus["MAC_JOINED_NETWORK"] = 50] = "MAC_JOINED_NETWORK";
|
|
663
|
-
/** Scan duration must be 0 to 14 inclusive. Tried to scan with an incorrect duration value. */
|
|
664
|
-
EmberStatus[EmberStatus["MAC_BAD_SCAN_DURATION"] = 51] = "MAC_BAD_SCAN_DURATION";
|
|
665
|
-
/** emberStartScan was called with an incorrect scan type. */
|
|
666
|
-
EmberStatus[EmberStatus["MAC_INCORRECT_SCAN_TYPE"] = 52] = "MAC_INCORRECT_SCAN_TYPE";
|
|
667
|
-
/** emberStartScan was called with an invalid channel mask. */
|
|
668
|
-
EmberStatus[EmberStatus["MAC_INVALID_CHANNEL_MASK"] = 53] = "MAC_INVALID_CHANNEL_MASK";
|
|
669
|
-
/** Failed to scan the current channel because the relevant MAC command could not be transmitted. */
|
|
670
|
-
EmberStatus[EmberStatus["MAC_COMMAND_TRANSMIT_FAILURE"] = 54] = "MAC_COMMAND_TRANSMIT_FAILURE";
|
|
671
|
-
/** An ACK was expected following the transmission but the MAC level ACK was never received. */
|
|
672
|
-
EmberStatus[EmberStatus["MAC_NO_ACK_RECEIVED"] = 64] = "MAC_NO_ACK_RECEIVED";
|
|
673
|
-
/** MAC failed to transmit a message because it could not successfully perform a radio network switch. */
|
|
674
|
-
EmberStatus[EmberStatus["MAC_RADIO_NETWORK_SWITCH_FAILED"] = 65] = "MAC_RADIO_NETWORK_SWITCH_FAILED";
|
|
675
|
-
/** An indirect data message timed out before a poll requested it. */
|
|
676
|
-
EmberStatus[EmberStatus["MAC_INDIRECT_TIMEOUT"] = 66] = "MAC_INDIRECT_TIMEOUT";
|
|
677
|
-
// Simulated EEPROM Errors
|
|
678
|
-
/**
|
|
679
|
-
* The Simulated EEPROM is telling the application that at least one flash page to be erased.
|
|
680
|
-
* The GREEN status means the current page has not filled above the ::ERASE_CRITICAL_THRESHOLD.
|
|
681
|
-
*
|
|
682
|
-
* The application should call the function ::halSimEepromErasePage() when it can to erase a page.
|
|
683
|
-
*/
|
|
684
|
-
EmberStatus[EmberStatus["SIM_EEPROM_ERASE_PAGE_GREEN"] = 67] = "SIM_EEPROM_ERASE_PAGE_GREEN";
|
|
685
|
-
/**
|
|
686
|
-
* The Simulated EEPROM is telling the application that at least one flash page must be erased.
|
|
687
|
-
* The RED status means the current page has filled above the ::ERASE_CRITICAL_THRESHOLD.
|
|
688
|
-
*
|
|
689
|
-
* Due to the shrinking availability of write space, data could be lost.
|
|
690
|
-
* The application must call the function ::halSimEepromErasePage() as soon as possible to erase a page.
|
|
691
|
-
*/
|
|
692
|
-
EmberStatus[EmberStatus["SIM_EEPROM_ERASE_PAGE_RED"] = 68] = "SIM_EEPROM_ERASE_PAGE_RED";
|
|
693
|
-
/**
|
|
694
|
-
* The Simulated EEPROM has run out of room to write new data and the data trying to be set has been lost.
|
|
695
|
-
* This error code is the result of ignoring the ::SIM_EEPROM_ERASE_PAGE_RED error code.
|
|
696
|
-
*
|
|
697
|
-
* The application must call the function ::halSimEepromErasePage() to make room for any further calls to set a token.
|
|
698
|
-
*/
|
|
699
|
-
EmberStatus[EmberStatus["SIM_EEPROM_FULL"] = 69] = "SIM_EEPROM_FULL";
|
|
700
|
-
// Errors 46 and 47 are now defined below in the flash error block (was attempting to prevent renumbering).
|
|
701
|
-
/**
|
|
702
|
-
* Attempt 1 to initialize the Simulated EEPROM has failed.
|
|
703
|
-
*
|
|
704
|
-
* This failure means the information already stored in the Flash (or a lack thereof),
|
|
705
|
-
* is fatally incompatible with the token information compiled into the code image being run.
|
|
706
|
-
*/
|
|
707
|
-
EmberStatus[EmberStatus["SIM_EEPROM_INIT_1_FAILED"] = 72] = "SIM_EEPROM_INIT_1_FAILED";
|
|
708
|
-
/**
|
|
709
|
-
* Attempt 2 to initialize the Simulated EEPROM has failed.
|
|
710
|
-
*
|
|
711
|
-
* This failure means Attempt 1 failed, and the token system failed to properly reload default tokens and reset the Simulated EEPROM.
|
|
712
|
-
*/
|
|
713
|
-
EmberStatus[EmberStatus["SIM_EEPROM_INIT_2_FAILED"] = 73] = "SIM_EEPROM_INIT_2_FAILED";
|
|
714
|
-
/**
|
|
715
|
-
* Attempt 3 to initialize the Simulated EEPROM has failed.
|
|
716
|
-
*
|
|
717
|
-
* This failure means one or both of the tokens ::TOKEN_MFG_NVDATA_VERSION or ::TOKEN_STACK_NVDATA_VERSION
|
|
718
|
-
* were incorrect and the token system failed to properly reload default tokens and reset the Simulated EEPROM.
|
|
719
|
-
*/
|
|
720
|
-
EmberStatus[EmberStatus["SIM_EEPROM_INIT_3_FAILED"] = 74] = "SIM_EEPROM_INIT_3_FAILED";
|
|
721
|
-
/**
|
|
722
|
-
* The Simulated EEPROM is repairing itself.
|
|
723
|
-
*
|
|
724
|
-
* While there's nothing for an app to do when the SimEE is going to
|
|
725
|
-
* repair itself (SimEE has to be fully functional for the rest of the
|
|
726
|
-
* system to work), alert the application to the fact that repair
|
|
727
|
-
* is occurring. There are debugging scenarios where an app might want
|
|
728
|
-
* to know that repair is happening, such as monitoring frequency.
|
|
729
|
-
* @note Common situations will trigger an expected repair, such as
|
|
730
|
-
* using an erased chip or changing token definitions.
|
|
731
|
-
*/
|
|
732
|
-
EmberStatus[EmberStatus["SIM_EEPROM_REPAIRING"] = 77] = "SIM_EEPROM_REPAIRING";
|
|
733
|
-
// Flash Errors
|
|
734
|
-
/**
|
|
735
|
-
* A fatal error has occurred while trying to write data to the Flash.
|
|
736
|
-
* The target memory attempting to be programmed is already programmed.
|
|
737
|
-
* The flash write routines were asked to flip a bit from a 0 to 1,
|
|
738
|
-
* which is physically impossible and the write was therefore inhibited.
|
|
739
|
-
* The data in the Flash cannot be trusted after this error.
|
|
740
|
-
*/
|
|
741
|
-
EmberStatus[EmberStatus["ERR_FLASH_WRITE_INHIBITED"] = 70] = "ERR_FLASH_WRITE_INHIBITED";
|
|
742
|
-
/**
|
|
743
|
-
* A fatal error has occurred while trying to write data to the Flash and the write verification has failed.
|
|
744
|
-
* Data in the Flash cannot be trusted after this error and it is possible this error is the result of exceeding the life cycles of the Flash.
|
|
745
|
-
*/
|
|
746
|
-
EmberStatus[EmberStatus["ERR_FLASH_VERIFY_FAILED"] = 71] = "ERR_FLASH_VERIFY_FAILED";
|
|
747
|
-
/**
|
|
748
|
-
* A fatal error has occurred while trying to write data to the Flash possibly due to write protection or an invalid address.
|
|
749
|
-
* Data in the Flash cannot be trusted after this error and it is possible this error is the result of exceeding the life cycles of the Flash.
|
|
750
|
-
*/
|
|
751
|
-
EmberStatus[EmberStatus["ERR_FLASH_PROG_FAIL"] = 75] = "ERR_FLASH_PROG_FAIL";
|
|
752
|
-
/**
|
|
753
|
-
* A fatal error has occurred while trying to erase the Flash possibly due to write protection.
|
|
754
|
-
* Data in the Flash cannot be trusted after this error and it is possible this error is the result of exceeding the life cycles of the Flash.
|
|
755
|
-
*/
|
|
756
|
-
EmberStatus[EmberStatus["ERR_FLASH_ERASE_FAIL"] = 76] = "ERR_FLASH_ERASE_FAIL";
|
|
757
|
-
// Bootloader Errors
|
|
758
|
-
/** The bootloader received an invalid message (failed attempt to go into bootloader). */
|
|
759
|
-
EmberStatus[EmberStatus["ERR_BOOTLOADER_TRAP_TABLE_BAD"] = 88] = "ERR_BOOTLOADER_TRAP_TABLE_BAD";
|
|
760
|
-
/** The bootloader received an invalid message (failed attempt to go into the bootloader). */
|
|
761
|
-
EmberStatus[EmberStatus["ERR_BOOTLOADER_TRAP_UNKNOWN"] = 89] = "ERR_BOOTLOADER_TRAP_UNKNOWN";
|
|
762
|
-
/** The bootloader cannot complete the bootload operation because either an image was not found or the image exceeded memory bounds. */
|
|
763
|
-
EmberStatus[EmberStatus["ERR_BOOTLOADER_NO_IMAGE"] = 90] = "ERR_BOOTLOADER_NO_IMAGE";
|
|
764
|
-
// Transport Errors
|
|
765
|
-
/** The APS layer attempted to send or deliver a message and failed. */
|
|
766
|
-
EmberStatus[EmberStatus["DELIVERY_FAILED"] = 102] = "DELIVERY_FAILED";
|
|
767
|
-
/** This binding index is out of range for the current binding table. */
|
|
768
|
-
EmberStatus[EmberStatus["BINDING_INDEX_OUT_OF_RANGE"] = 105] = "BINDING_INDEX_OUT_OF_RANGE";
|
|
769
|
-
/** This address table index is out of range for the current address table. */
|
|
770
|
-
EmberStatus[EmberStatus["ADDRESS_TABLE_INDEX_OUT_OF_RANGE"] = 106] = "ADDRESS_TABLE_INDEX_OUT_OF_RANGE";
|
|
771
|
-
/** An invalid binding table index was given to a function. */
|
|
772
|
-
EmberStatus[EmberStatus["INVALID_BINDING_INDEX"] = 108] = "INVALID_BINDING_INDEX";
|
|
773
|
-
/** The API call is not allowed given the current state of the stack. */
|
|
774
|
-
EmberStatus[EmberStatus["INVALID_CALL"] = 112] = "INVALID_CALL";
|
|
775
|
-
/** The link cost to a node is not known. */
|
|
776
|
-
EmberStatus[EmberStatus["COST_NOT_KNOWN"] = 113] = "COST_NOT_KNOWN";
|
|
777
|
-
/** The maximum number of in-flight messages = i.e., ::EMBER_APS_UNICAST_MESSAGE_COUNT, has been reached. */
|
|
778
|
-
EmberStatus[EmberStatus["MAX_MESSAGE_LIMIT_REACHED"] = 114] = "MAX_MESSAGE_LIMIT_REACHED";
|
|
779
|
-
/** The message to be transmitted is too big to fit into a single over-the-air packet. */
|
|
780
|
-
EmberStatus[EmberStatus["MESSAGE_TOO_LONG"] = 116] = "MESSAGE_TOO_LONG";
|
|
781
|
-
/** The application is trying to delete or overwrite a binding that is in use. */
|
|
782
|
-
EmberStatus[EmberStatus["BINDING_IS_ACTIVE"] = 117] = "BINDING_IS_ACTIVE";
|
|
783
|
-
/** The application is trying to overwrite an address table entry that is in use. */
|
|
784
|
-
EmberStatus[EmberStatus["ADDRESS_TABLE_ENTRY_IS_ACTIVE"] = 118] = "ADDRESS_TABLE_ENTRY_IS_ACTIVE";
|
|
785
|
-
/** An attempt was made to transmit during the suspend period. */
|
|
786
|
-
EmberStatus[EmberStatus["TRANSMISSION_SUSPENDED"] = 119] = "TRANSMISSION_SUSPENDED";
|
|
787
|
-
// Green Power status codes
|
|
788
|
-
/** Security match. */
|
|
789
|
-
EmberStatus[EmberStatus["MATCH"] = 120] = "MATCH";
|
|
790
|
-
/** Drop frame. */
|
|
791
|
-
EmberStatus[EmberStatus["DROP_FRAME"] = 121] = "DROP_FRAME";
|
|
792
|
-
/** */
|
|
793
|
-
EmberStatus[EmberStatus["PASS_UNPROCESSED"] = 122] = "PASS_UNPROCESSED";
|
|
794
|
-
/** */
|
|
795
|
-
EmberStatus[EmberStatus["TX_THEN_DROP"] = 123] = "TX_THEN_DROP";
|
|
796
|
-
/** */
|
|
797
|
-
EmberStatus[EmberStatus["NO_SECURITY"] = 124] = "NO_SECURITY";
|
|
798
|
-
/** */
|
|
799
|
-
EmberStatus[EmberStatus["COUNTER_FAILURE"] = 125] = "COUNTER_FAILURE";
|
|
800
|
-
/** */
|
|
801
|
-
EmberStatus[EmberStatus["AUTH_FAILURE"] = 126] = "AUTH_FAILURE";
|
|
802
|
-
/** */
|
|
803
|
-
EmberStatus[EmberStatus["UNPROCESSED"] = 127] = "UNPROCESSED";
|
|
804
|
-
// HAL Module Errors
|
|
805
|
-
/** The conversion is complete. */
|
|
806
|
-
EmberStatus[EmberStatus["ADC_CONVERSION_DONE"] = 128] = "ADC_CONVERSION_DONE";
|
|
807
|
-
/** The conversion cannot be done because a request is being processed. */
|
|
808
|
-
EmberStatus[EmberStatus["ADC_CONVERSION_BUSY"] = 129] = "ADC_CONVERSION_BUSY";
|
|
809
|
-
/** The conversion is deferred until the current request has been processed. */
|
|
810
|
-
EmberStatus[EmberStatus["ADC_CONVERSION_DEFERRED"] = 130] = "ADC_CONVERSION_DEFERRED";
|
|
811
|
-
/** No results are pending. */
|
|
812
|
-
EmberStatus[EmberStatus["ADC_NO_CONVERSION_PENDING"] = 132] = "ADC_NO_CONVERSION_PENDING";
|
|
813
|
-
/** Sleeping (for a duration) has been abnormally interrupted and exited prematurely. */
|
|
814
|
-
EmberStatus[EmberStatus["SLEEP_INTERRUPTED"] = 133] = "SLEEP_INTERRUPTED";
|
|
815
|
-
// PHY Errors
|
|
816
|
-
/**
|
|
817
|
-
* The transmit attempt failed because the radio scheduler could not find a slot
|
|
818
|
-
* to transmit this packet in or a higher priority event interrupted it.
|
|
819
|
-
*/
|
|
820
|
-
EmberStatus[EmberStatus["PHY_TX_SCHED_FAIL"] = 135] = "PHY_TX_SCHED_FAIL";
|
|
821
|
-
/** The transmit hardware buffer underflowed. */
|
|
822
|
-
EmberStatus[EmberStatus["PHY_TX_UNDERFLOW"] = 136] = "PHY_TX_UNDERFLOW";
|
|
823
|
-
/** The transmit hardware did not finish transmitting a packet. */
|
|
824
|
-
EmberStatus[EmberStatus["PHY_TX_INCOMPLETE"] = 137] = "PHY_TX_INCOMPLETE";
|
|
825
|
-
/** An unsupported channel setting was specified. */
|
|
826
|
-
EmberStatus[EmberStatus["PHY_INVALID_CHANNEL"] = 138] = "PHY_INVALID_CHANNEL";
|
|
827
|
-
/** An unsupported power setting was specified. */
|
|
828
|
-
EmberStatus[EmberStatus["PHY_INVALID_POWER"] = 139] = "PHY_INVALID_POWER";
|
|
829
|
-
/** The requested operation cannot be completed because the radio is currently busy, either transmitting a packet or performing calibration. */
|
|
830
|
-
EmberStatus[EmberStatus["PHY_TX_BUSY"] = 140] = "PHY_TX_BUSY";
|
|
831
|
-
/** The transmit attempt failed because all CCA attempts indicated that the channel was busy. */
|
|
832
|
-
EmberStatus[EmberStatus["PHY_TX_CCA_FAIL"] = 141] = "PHY_TX_CCA_FAIL";
|
|
636
|
+
// -----------------------------------------------------------------------------
|
|
637
|
+
// Zigbee status codes
|
|
638
|
+
/** Packet is dropped by packet-handoff callbacks */
|
|
639
|
+
SLStatus[SLStatus["ZIGBEE_PACKET_HANDOFF_DROPPED"] = 3073] = "ZIGBEE_PACKET_HANDOFF_DROPPED";
|
|
640
|
+
/** The APS layer attempted to send or deliver a message and failed */
|
|
641
|
+
SLStatus[SLStatus["ZIGBEE_DELIVERY_FAILED"] = 3074] = "ZIGBEE_DELIVERY_FAILED";
|
|
642
|
+
/** The maximum number of in-flight messages ::EMBER_APS_UNICAST_MESSAGE_COUNT has been reached */
|
|
643
|
+
SLStatus[SLStatus["ZIGBEE_MAX_MESSAGE_LIMIT_REACHED"] = 3075] = "ZIGBEE_MAX_MESSAGE_LIMIT_REACHED";
|
|
644
|
+
/** The application is trying to delete or overwrite a binding that is in use */
|
|
645
|
+
SLStatus[SLStatus["ZIGBEE_BINDING_IS_ACTIVE"] = 3076] = "ZIGBEE_BINDING_IS_ACTIVE";
|
|
646
|
+
/** The application is trying to overwrite an address table entry that is in use */
|
|
647
|
+
SLStatus[SLStatus["ZIGBEE_ADDRESS_TABLE_ENTRY_IS_ACTIVE"] = 3077] = "ZIGBEE_ADDRESS_TABLE_ENTRY_IS_ACTIVE";
|
|
648
|
+
/** After moving, a mobile node's attempt to re-establish contact with the network failed */
|
|
649
|
+
SLStatus[SLStatus["ZIGBEE_MOVE_FAILED"] = 3078] = "ZIGBEE_MOVE_FAILED";
|
|
650
|
+
/** The local node ID has changed. The application can get the new node ID by calling ::sl_zigbee_get_node_id() */
|
|
651
|
+
SLStatus[SLStatus["ZIGBEE_NODE_ID_CHANGED"] = 3079] = "ZIGBEE_NODE_ID_CHANGED";
|
|
652
|
+
/** The chosen security level is not supported by the stack */
|
|
653
|
+
SLStatus[SLStatus["ZIGBEE_INVALID_SECURITY_LEVEL"] = 3080] = "ZIGBEE_INVALID_SECURITY_LEVEL";
|
|
654
|
+
/** An error occurred when trying to encrypt at the APS Level */
|
|
655
|
+
SLStatus[SLStatus["ZIGBEE_IEEE_ADDRESS_DISCOVERY_IN_PROGRESS"] = 3081] = "ZIGBEE_IEEE_ADDRESS_DISCOVERY_IN_PROGRESS";
|
|
656
|
+
/** An error occurred when trying to encrypt at the APS Level */
|
|
657
|
+
SLStatus[SLStatus["ZIGBEE_APS_ENCRYPTION_ERROR"] = 3082] = "ZIGBEE_APS_ENCRYPTION_ERROR";
|
|
658
|
+
/** There was an attempt to form or join a network with security without calling ::sl_zigbee_set_initial_security_state() first */
|
|
659
|
+
SLStatus[SLStatus["ZIGBEE_SECURITY_STATE_NOT_SET"] = 3083] = "ZIGBEE_SECURITY_STATE_NOT_SET";
|
|
833
660
|
/**
|
|
834
|
-
*
|
|
835
|
-
*
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
/** The
|
|
842
|
-
|
|
843
|
-
/** The
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
|
|
849
|
-
/**
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
661
|
+
* There was an attempt to broadcast a key switch too quickly after broadcasting the next network key.
|
|
662
|
+
* The Trust Center must wait at least a period equal to the broadcast timeout so that all routers have a chance
|
|
663
|
+
* to receive the broadcast of the new network key
|
|
664
|
+
*/
|
|
665
|
+
SLStatus[SLStatus["ZIGBEE_TOO_SOON_FOR_SWITCH_KEY"] = 3084] = "ZIGBEE_TOO_SOON_FOR_SWITCH_KEY";
|
|
666
|
+
/** The received signature corresponding to the message that was passed to the CBKE Library failed verification and is not valid */
|
|
667
|
+
SLStatus[SLStatus["ZIGBEE_SIGNATURE_VERIFY_FAILURE"] = 3085] = "ZIGBEE_SIGNATURE_VERIFY_FAILURE";
|
|
668
|
+
/** The message could not be sent because the link key corresponding to the destination is not authorized for use in APS data messages */
|
|
669
|
+
SLStatus[SLStatus["ZIGBEE_KEY_NOT_AUTHORIZED"] = 3086] = "ZIGBEE_KEY_NOT_AUTHORIZED";
|
|
670
|
+
/** The application tried to use a binding that has been remotely modified and the change has not yet been reported to the application */
|
|
671
|
+
SLStatus[SLStatus["ZIGBEE_BINDING_HAS_CHANGED"] = 3087] = "ZIGBEE_BINDING_HAS_CHANGED";
|
|
672
|
+
/** The EUI of the Trust center has changed due to a successful rejoin after TC Swapout */
|
|
673
|
+
SLStatus[SLStatus["ZIGBEE_TRUST_CENTER_SWAP_EUI_HAS_CHANGED"] = 3088] = "ZIGBEE_TRUST_CENTER_SWAP_EUI_HAS_CHANGED";
|
|
674
|
+
/** A Trust Center Swapout Rejoin has occurred without the EUI of the TC changing */
|
|
675
|
+
SLStatus[SLStatus["ZIGBEE_TRUST_CENTER_SWAP_EUI_HAS_NOT_CHANGED"] = 3089] = "ZIGBEE_TRUST_CENTER_SWAP_EUI_HAS_NOT_CHANGED";
|
|
676
|
+
/** An attempt to generate random bytes failed because of insufficient random data from the radio */
|
|
677
|
+
SLStatus[SLStatus["ZIGBEE_INSUFFICIENT_RANDOM_DATA"] = 3090] = "ZIGBEE_INSUFFICIENT_RANDOM_DATA";
|
|
678
|
+
/** A Zigbee route error command frame was received indicating that a source routed message from this node failed en route */
|
|
679
|
+
SLStatus[SLStatus["ZIGBEE_SOURCE_ROUTE_FAILURE"] = 3091] = "ZIGBEE_SOURCE_ROUTE_FAILURE";
|
|
680
|
+
/** A Zigbee route error command frame was received indicating that a message sent to this node along a many-to-one route failed en route */
|
|
681
|
+
SLStatus[SLStatus["ZIGBEE_MANY_TO_ONE_ROUTE_FAILURE"] = 3092] = "ZIGBEE_MANY_TO_ONE_ROUTE_FAILURE";
|
|
682
|
+
/** A critical and fatal error indicating that the version of the stack trying to run does not match with the chip it's running on */
|
|
683
|
+
SLStatus[SLStatus["ZIGBEE_STACK_AND_HARDWARE_MISMATCH"] = 3093] = "ZIGBEE_STACK_AND_HARDWARE_MISMATCH";
|
|
684
|
+
/** The local PAN ID has changed. The application can get the new PAN ID by calling ::emberGetPanId() */
|
|
685
|
+
SLStatus[SLStatus["ZIGBEE_PAN_ID_CHANGED"] = 3094] = "ZIGBEE_PAN_ID_CHANGED";
|
|
858
686
|
/** The channel has changed. */
|
|
859
|
-
|
|
687
|
+
SLStatus[SLStatus["ZIGBEE_CHANNEL_CHANGED"] = 3095] = "ZIGBEE_CHANNEL_CHANGED";
|
|
860
688
|
/** The network has been opened for joining. */
|
|
861
|
-
|
|
689
|
+
SLStatus[SLStatus["ZIGBEE_NETWORK_OPENED"] = 3096] = "ZIGBEE_NETWORK_OPENED";
|
|
862
690
|
/** The network has been closed for joining. */
|
|
863
|
-
|
|
864
|
-
/** An attempt to join or rejoin the network failed because no router beacons could be heard by the joining node. */
|
|
865
|
-
EmberStatus[EmberStatus["NO_BEACONS"] = 171] = "NO_BEACONS";
|
|
691
|
+
SLStatus[SLStatus["ZIGBEE_NETWORK_CLOSED"] = 3097] = "ZIGBEE_NETWORK_CLOSED";
|
|
866
692
|
/**
|
|
867
693
|
* An attempt was made to join a Secured Network using a pre-configured key, but the Trust Center sent back a
|
|
868
|
-
* Network Key in-the-clear when an encrypted Network Key was required. (::EMBER_REQUIRE_ENCRYPTED_KEY)
|
|
694
|
+
* Network Key in-the-clear when an encrypted Network Key was required. (::EMBER_REQUIRE_ENCRYPTED_KEY)
|
|
869
695
|
*/
|
|
870
|
-
|
|
696
|
+
SLStatus[SLStatus["ZIGBEE_RECEIVED_KEY_IN_THE_CLEAR"] = 3098] = "ZIGBEE_RECEIVED_KEY_IN_THE_CLEAR";
|
|
871
697
|
/** An attempt was made to join a Secured Network, but the device did not receive a Network Key. */
|
|
872
|
-
|
|
698
|
+
SLStatus[SLStatus["ZIGBEE_NO_NETWORK_KEY_RECEIVED"] = 3099] = "ZIGBEE_NO_NETWORK_KEY_RECEIVED";
|
|
873
699
|
/** After a device joined a Secured Network, a Link Key was requested (::EMBER_GET_LINK_KEY_WHEN_JOINING) but no response was ever received. */
|
|
874
|
-
|
|
700
|
+
SLStatus[SLStatus["ZIGBEE_NO_LINK_KEY_RECEIVED"] = 3100] = "ZIGBEE_NO_LINK_KEY_RECEIVED";
|
|
875
701
|
/**
|
|
876
|
-
* An attempt was made to join a Secured Network without a pre-configured key,
|
|
877
|
-
*
|
|
702
|
+
* An attempt was made to join a Secured Network without a pre-configured key, but the Trust Center sent encrypted data using a
|
|
703
|
+
* pre-configured key.
|
|
878
704
|
*/
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
/** The chosen security level (the value of ::EMBER_SECURITY_LEVEL) is not supported by the stack. */
|
|
884
|
-
EmberStatus[EmberStatus["INVALID_SECURITY_LEVEL"] = 149] = "INVALID_SECURITY_LEVEL";
|
|
885
|
-
/**
|
|
886
|
-
* An error occurred when trying to encrypt at the APS Level.
|
|
887
|
-
*
|
|
888
|
-
* To APS encrypt an outgoing packet, the sender
|
|
889
|
-
* needs to know the EUI64 of the destination. This error occurs because
|
|
890
|
-
* the EUI64 of the destination can't be determined from
|
|
891
|
-
* the short address (no entry in the neighbor, child, binding
|
|
892
|
-
* or address tables).
|
|
893
|
-
*
|
|
894
|
-
* Every time this error code is seen, note that the stack initiates an
|
|
895
|
-
* IEEE address discovery request behind the scenes. Responses
|
|
896
|
-
* to the request are stored in the trust center cache portion of the
|
|
897
|
-
* address table. Note that you need at least 1 entry allocated for
|
|
898
|
-
* TC cache in the address table plugin. Depending on the available rows in
|
|
899
|
-
* the table, newly discovered addresses may replace old ones. The address
|
|
900
|
-
* table plugin is enabled by default on the host. If you are using an SoC
|
|
901
|
-
* platform, please be sure to add the address table plugin.
|
|
902
|
-
*
|
|
903
|
-
* When customers choose to send APS messages by using short addresses,
|
|
904
|
-
* they should incorporate a retry mechanism and try again, no sooner than
|
|
905
|
-
* 2 seconds later, to resend the APS message. If the app always
|
|
906
|
-
* receives 0xBE (IEEE_ADDRESS_DISCOVERY_IN_PROGRESS) after
|
|
907
|
-
* multiple retries, that might indicate that:
|
|
908
|
-
* a) destination node is not on the network
|
|
909
|
-
* b) there are problems with the health of the network
|
|
910
|
-
* c) there may not be any space set aside in the address table for
|
|
911
|
-
* the newly discovered address - this can be rectified by reserving
|
|
912
|
-
* more entries for the trust center cache in the address table plugin
|
|
913
|
-
*/
|
|
914
|
-
EmberStatus[EmberStatus["IEEE_ADDRESS_DISCOVERY_IN_PROGRESS"] = 190] = "IEEE_ADDRESS_DISCOVERY_IN_PROGRESS";
|
|
915
|
-
/**
|
|
916
|
-
* An error occurred when trying to encrypt at the APS Level.
|
|
917
|
-
*
|
|
918
|
-
* This error occurs either because the long address of the recipient can't be
|
|
919
|
-
* determined from the short address (no entry in the binding table)
|
|
920
|
-
* or there is no link key entry in the table associated with the destination,
|
|
921
|
-
* or there was a failure to load the correct key into the encryption core.
|
|
922
|
-
*/
|
|
923
|
-
EmberStatus[EmberStatus["APS_ENCRYPTION_ERROR"] = 166] = "APS_ENCRYPTION_ERROR";
|
|
924
|
-
/** There was an attempt to form or join a network with security without calling ::emberSetInitialSecurityState() first. */
|
|
925
|
-
EmberStatus[EmberStatus["SECURITY_STATE_NOT_SET"] = 168] = "SECURITY_STATE_NOT_SET";
|
|
926
|
-
/**
|
|
927
|
-
* There was an attempt to set an entry in the key table using an invalid long address. Invalid addresses include:
|
|
928
|
-
* - The local device's IEEE address
|
|
929
|
-
* - Trust Center's IEEE address
|
|
930
|
-
* - An existing table entry's IEEE address
|
|
931
|
-
* - An address consisting of all zeros or all F's
|
|
932
|
-
*/
|
|
933
|
-
EmberStatus[EmberStatus["KEY_TABLE_INVALID_ADDRESS"] = 179] = "KEY_TABLE_INVALID_ADDRESS";
|
|
934
|
-
/** There was an attempt to set a security configuration that is not valid given the other security settings. */
|
|
935
|
-
EmberStatus[EmberStatus["SECURITY_CONFIGURATION_INVALID"] = 183] = "SECURITY_CONFIGURATION_INVALID";
|
|
936
|
-
/**
|
|
937
|
-
* There was an attempt to broadcast a key switch too quickly after broadcasting the next network key.
|
|
938
|
-
* The Trust Center must wait at least a period equal to the broadcast timeout so that all routers have a chance
|
|
939
|
-
* to receive the broadcast of the new network key.
|
|
940
|
-
*/
|
|
941
|
-
EmberStatus[EmberStatus["TOO_SOON_FOR_SWITCH_KEY"] = 184] = "TOO_SOON_FOR_SWITCH_KEY";
|
|
942
|
-
/** The received signature corresponding to the message that was passed to the CBKE Library failed verification and is not valid. */
|
|
943
|
-
EmberStatus[EmberStatus["SIGNATURE_VERIFY_FAILURE"] = 185] = "SIGNATURE_VERIFY_FAILURE";
|
|
944
|
-
/**
|
|
945
|
-
* The message could not be sent because the link key corresponding to the destination is not authorized for use in APS data messages.
|
|
946
|
-
* APS Commands (sent by the stack) are allowed.
|
|
947
|
-
* To use it for encryption of APS data messages it must be authorized using a key agreement protocol (such as CBKE).
|
|
948
|
-
*/
|
|
949
|
-
EmberStatus[EmberStatus["KEY_NOT_AUTHORIZED"] = 187] = "KEY_NOT_AUTHORIZED";
|
|
950
|
-
/** The security data provided was not valid, or an integrity check failed. */
|
|
951
|
-
EmberStatus[EmberStatus["SECURITY_DATA_INVALID"] = 189] = "SECURITY_DATA_INVALID";
|
|
952
|
-
// Miscellaneous Network Errors
|
|
953
|
-
/** The node has not joined a network. */
|
|
954
|
-
EmberStatus[EmberStatus["NOT_JOINED"] = 147] = "NOT_JOINED";
|
|
955
|
-
/** A message cannot be sent because the network is currently overloaded. */
|
|
956
|
-
EmberStatus[EmberStatus["NETWORK_BUSY"] = 161] = "NETWORK_BUSY";
|
|
957
|
-
/** The application tried to send a message using an endpoint that it has not defined. */
|
|
958
|
-
EmberStatus[EmberStatus["INVALID_ENDPOINT"] = 163] = "INVALID_ENDPOINT";
|
|
959
|
-
/** The application tried to use a binding that has been remotely modified and the change has not yet been reported to the application. */
|
|
960
|
-
EmberStatus[EmberStatus["BINDING_HAS_CHANGED"] = 164] = "BINDING_HAS_CHANGED";
|
|
961
|
-
/** An attempt to generate random bytes failed because of insufficient random data from the radio. */
|
|
962
|
-
EmberStatus[EmberStatus["INSUFFICIENT_RANDOM_DATA"] = 165] = "INSUFFICIENT_RANDOM_DATA";
|
|
963
|
-
/** A Zigbee route error command frame was received indicating that a source routed message from this node failed en route. */
|
|
964
|
-
EmberStatus[EmberStatus["SOURCE_ROUTE_FAILURE"] = 169] = "SOURCE_ROUTE_FAILURE";
|
|
965
|
-
/**
|
|
966
|
-
* A Zigbee route error command frame was received indicating that a message sent to this node along a many-to-one route failed en route.
|
|
967
|
-
* The route error frame was delivered by an ad-hoc search for a functioning route.
|
|
968
|
-
*/
|
|
969
|
-
EmberStatus[EmberStatus["MANY_TO_ONE_ROUTE_FAILURE"] = 170] = "MANY_TO_ONE_ROUTE_FAILURE";
|
|
970
|
-
// Miscellaneous Utility Errors
|
|
971
|
-
/**
|
|
972
|
-
* A critical and fatal error indicating that the version of the
|
|
973
|
-
* stack trying to run does not match with the chip it's running on. The
|
|
974
|
-
* software (stack) on the chip must be replaced with software
|
|
975
|
-
* compatible with the chip.
|
|
976
|
-
*/
|
|
977
|
-
EmberStatus[EmberStatus["STACK_AND_HARDWARE_MISMATCH"] = 176] = "STACK_AND_HARDWARE_MISMATCH";
|
|
978
|
-
/** An index was passed into the function that was larger than the valid range. */
|
|
979
|
-
EmberStatus[EmberStatus["INDEX_OUT_OF_RANGE"] = 177] = "INDEX_OUT_OF_RANGE";
|
|
980
|
-
/** There are no empty entries left in the table. */
|
|
981
|
-
EmberStatus[EmberStatus["TABLE_FULL"] = 180] = "TABLE_FULL";
|
|
982
|
-
/** The requested table entry has been erased and contains no valid data. */
|
|
983
|
-
EmberStatus[EmberStatus["TABLE_ENTRY_ERASED"] = 182] = "TABLE_ENTRY_ERASED";
|
|
984
|
-
/** The requested function cannot be executed because the library that contains the necessary functionality is not present. */
|
|
985
|
-
EmberStatus[EmberStatus["LIBRARY_NOT_PRESENT"] = 181] = "LIBRARY_NOT_PRESENT";
|
|
986
|
-
/** The stack accepted the command and is currently processing the request. The results will be returned via an appropriate handler. */
|
|
987
|
-
EmberStatus[EmberStatus["OPERATION_IN_PROGRESS"] = 186] = "OPERATION_IN_PROGRESS";
|
|
988
|
-
/**
|
|
989
|
-
* The EUI of the Trust center has changed due to a successful rejoin.
|
|
990
|
-
* The device may need to perform other authentication to verify the new TC is authorized to take over.
|
|
991
|
-
*/
|
|
992
|
-
EmberStatus[EmberStatus["TRUST_CENTER_EUI_HAS_CHANGED"] = 188] = "TRUST_CENTER_EUI_HAS_CHANGED";
|
|
993
|
-
/** Trust center swapped out. The EUI has changed. */
|
|
994
|
-
EmberStatus[EmberStatus["TRUST_CENTER_SWAPPED_OUT_EUI_HAS_CHANGED"] = 188] = "TRUST_CENTER_SWAPPED_OUT_EUI_HAS_CHANGED";
|
|
995
|
-
/** Trust center swapped out. The EUI has not changed. */
|
|
996
|
-
EmberStatus[EmberStatus["TRUST_CENTER_SWAPPED_OUT_EUI_HAS_NOT_CHANGED"] = 191] = "TRUST_CENTER_SWAPPED_OUT_EUI_HAS_NOT_CHANGED";
|
|
997
|
-
// NVM3 Token Errors
|
|
998
|
-
/** NVM3 is telling the application that the initialization was aborted as no valid NVM3 page was found. */
|
|
999
|
-
EmberStatus[EmberStatus["NVM3_TOKEN_NO_VALID_PAGES"] = 192] = "NVM3_TOKEN_NO_VALID_PAGES";
|
|
1000
|
-
/** NVM3 is telling the application that the initialization was aborted as the NVM3 instance was already opened with other parameters. */
|
|
1001
|
-
EmberStatus[EmberStatus["NVM3_ERR_OPENED_WITH_OTHER_PARAMETERS"] = 193] = "NVM3_ERR_OPENED_WITH_OTHER_PARAMETERS";
|
|
1002
|
-
/** NVM3 is telling the application that the initialization was aborted as the NVM3 instance is not aligned properly in memory. */
|
|
1003
|
-
EmberStatus[EmberStatus["NVM3_ERR_ALIGNMENT_INVALID"] = 194] = "NVM3_ERR_ALIGNMENT_INVALID";
|
|
1004
|
-
/** NVM3 is telling the application that the initialization was aborted as the size of the NVM3 instance is too small. */
|
|
1005
|
-
EmberStatus[EmberStatus["NVM3_ERR_SIZE_TOO_SMALL"] = 195] = "NVM3_ERR_SIZE_TOO_SMALL";
|
|
1006
|
-
/** NVM3 is telling the application that the initialization was aborted as the NVM3 page size is not supported. */
|
|
1007
|
-
EmberStatus[EmberStatus["NVM3_ERR_PAGE_SIZE_NOT_SUPPORTED"] = 196] = "NVM3_ERR_PAGE_SIZE_NOT_SUPPORTED";
|
|
1008
|
-
/** NVM3 is telling the application that there was an error initializing some of the tokens. */
|
|
1009
|
-
EmberStatus[EmberStatus["NVM3_ERR_TOKEN_INIT"] = 197] = "NVM3_ERR_TOKEN_INIT";
|
|
1010
|
-
/** NVM3 is telling the application there has been an error when attempting to upgrade SimEE tokens. */
|
|
1011
|
-
EmberStatus[EmberStatus["NVM3_ERR_UPGRADE"] = 198] = "NVM3_ERR_UPGRADE";
|
|
1012
|
-
/** NVM3 is telling the application that there has been an unknown error. */
|
|
1013
|
-
EmberStatus[EmberStatus["NVM3_ERR_UNKNOWN"] = 199] = "NVM3_ERR_UNKNOWN";
|
|
1014
|
-
// Application Errors. These error codes are available for application use.
|
|
1015
|
-
/**
|
|
1016
|
-
* This error is reserved for customer application use.
|
|
1017
|
-
* This will never be returned from any portion of the network stack or HAL.
|
|
1018
|
-
*/
|
|
1019
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_0"] = 240] = "APPLICATION_ERROR_0";
|
|
1020
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_1"] = 241] = "APPLICATION_ERROR_1";
|
|
1021
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_2"] = 242] = "APPLICATION_ERROR_2";
|
|
1022
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_3"] = 243] = "APPLICATION_ERROR_3";
|
|
1023
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_4"] = 244] = "APPLICATION_ERROR_4";
|
|
1024
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_5"] = 245] = "APPLICATION_ERROR_5";
|
|
1025
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_6"] = 246] = "APPLICATION_ERROR_6";
|
|
1026
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_7"] = 247] = "APPLICATION_ERROR_7";
|
|
1027
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_8"] = 248] = "APPLICATION_ERROR_8";
|
|
1028
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_9"] = 249] = "APPLICATION_ERROR_9";
|
|
1029
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_10"] = 250] = "APPLICATION_ERROR_10";
|
|
1030
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_11"] = 251] = "APPLICATION_ERROR_11";
|
|
1031
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_12"] = 252] = "APPLICATION_ERROR_12";
|
|
1032
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_13"] = 253] = "APPLICATION_ERROR_13";
|
|
1033
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_14"] = 254] = "APPLICATION_ERROR_14";
|
|
1034
|
-
EmberStatus[EmberStatus["APPLICATION_ERROR_15"] = 255] = "APPLICATION_ERROR_15";
|
|
1035
|
-
})(EmberStatus || (exports.EmberStatus = EmberStatus = {}));
|
|
705
|
+
SLStatus[SLStatus["ZIGBEE_PRECONFIGURED_KEY_REQUIRED"] = 3101] = "ZIGBEE_PRECONFIGURED_KEY_REQUIRED";
|
|
706
|
+
/** A Zigbee EZSP error has occured. Track the origin and corresponding EzspStatus for more info. */
|
|
707
|
+
SLStatus[SLStatus["ZIGBEE_EZSP_ERROR"] = 3102] = "ZIGBEE_EZSP_ERROR";
|
|
708
|
+
})(SLStatus || (exports.SLStatus = SLStatus = {}));
|
|
1036
709
|
;
|
|
1037
710
|
/** Status values used by EZSP. */
|
|
1038
711
|
var EzspStatus;
|
|
@@ -1223,6 +896,25 @@ var EmberStackError;
|
|
|
1223
896
|
EmberStackError[EmberStackError["NETWORK_STATUS_BAD_KEY_SEQUENCE_NUMBER"] = 18] = "NETWORK_STATUS_BAD_KEY_SEQUENCE_NUMBER";
|
|
1224
897
|
EmberStackError[EmberStackError["NETWORK_STATUS_UNKNOWN_COMMAND"] = 19] = "NETWORK_STATUS_UNKNOWN_COMMAND";
|
|
1225
898
|
})(EmberStackError || (exports.EmberStackError = EmberStackError = {}));
|
|
899
|
+
var EmberGPStatus;
|
|
900
|
+
(function (EmberGPStatus) {
|
|
901
|
+
/** Success Status */
|
|
902
|
+
EmberGPStatus[EmberGPStatus["OK"] = 0] = "OK";
|
|
903
|
+
/** Match Frame */
|
|
904
|
+
EmberGPStatus[EmberGPStatus["MATCH"] = 1] = "MATCH";
|
|
905
|
+
/** Drop Frame */
|
|
906
|
+
EmberGPStatus[EmberGPStatus["DROP_FRAME"] = 2] = "DROP_FRAME";
|
|
907
|
+
/** Frame Unprocessed */
|
|
908
|
+
EmberGPStatus[EmberGPStatus["UNPROCESSED"] = 3] = "UNPROCESSED";
|
|
909
|
+
/** Frame Pass Unprocessed */
|
|
910
|
+
EmberGPStatus[EmberGPStatus["PASS_UNPROCESSED"] = 4] = "PASS_UNPROCESSED";
|
|
911
|
+
/** Frame TX Then Drop */
|
|
912
|
+
EmberGPStatus[EmberGPStatus["TX_THEN_DROP"] = 5] = "TX_THEN_DROP";
|
|
913
|
+
/** No Security */
|
|
914
|
+
EmberGPStatus[EmberGPStatus["NO_SECURITY"] = 6] = "NO_SECURITY";
|
|
915
|
+
/** Security Failure */
|
|
916
|
+
EmberGPStatus[EmberGPStatus["AUTH_FAILURE"] = 7] = "AUTH_FAILURE";
|
|
917
|
+
})(EmberGPStatus || (exports.EmberGPStatus = EmberGPStatus = {}));
|
|
1226
918
|
/** Type of Ember software version */
|
|
1227
919
|
var EmberVersionType;
|
|
1228
920
|
(function (EmberVersionType) {
|
|
@@ -1243,19 +935,6 @@ var EmberVersionType;
|
|
|
1243
935
|
EmberVersionType[EmberVersionType["GA"] = 170] = "GA";
|
|
1244
936
|
})(EmberVersionType || (exports.EmberVersionType = EmberVersionType = {}));
|
|
1245
937
|
;
|
|
1246
|
-
var EmberLeaveRequestFlags;
|
|
1247
|
-
(function (EmberLeaveRequestFlags) {
|
|
1248
|
-
/** Leave and rejoin. */
|
|
1249
|
-
EmberLeaveRequestFlags[EmberLeaveRequestFlags["AND_REJOIN"] = 128] = "AND_REJOIN";
|
|
1250
|
-
// Note: removeChildren is treated to be deprecated and should not be used!
|
|
1251
|
-
// CCB 2047
|
|
1252
|
-
// - CCB makes the first step to deprecate the 'leave and remove children' functionality.
|
|
1253
|
-
// - We were proactive here and deprecated it right away.
|
|
1254
|
-
// AND_REMOVE_CHILDREN = 0x40,
|
|
1255
|
-
/** Leave. */
|
|
1256
|
-
EmberLeaveRequestFlags[EmberLeaveRequestFlags["WITHOUT_REJOIN"] = 0] = "WITHOUT_REJOIN";
|
|
1257
|
-
})(EmberLeaveRequestFlags || (exports.EmberLeaveRequestFlags = EmberLeaveRequestFlags = {}));
|
|
1258
|
-
;
|
|
1259
938
|
/**
|
|
1260
939
|
* For emberSetTxPowerMode and mfglibSetPower.
|
|
1261
940
|
* uint16_t
|
|
@@ -2372,4 +2051,29 @@ var EmberGpSinkTableEntryStatus;
|
|
|
2372
2051
|
EmberGpSinkTableEntryStatus[EmberGpSinkTableEntryStatus["UNUSED"] = 255] = "UNUSED";
|
|
2373
2052
|
})(EmberGpSinkTableEntryStatus || (exports.EmberGpSinkTableEntryStatus = EmberGpSinkTableEntryStatus = {}));
|
|
2374
2053
|
;
|
|
2054
|
+
var EmberLeaveNetworkOption;
|
|
2055
|
+
(function (EmberLeaveNetworkOption) {
|
|
2056
|
+
/** Leave with no option. */
|
|
2057
|
+
EmberLeaveNetworkOption[EmberLeaveNetworkOption["WITH_NO_OPTION"] = 0] = "WITH_NO_OPTION";
|
|
2058
|
+
/** Leave with option rejoin. */
|
|
2059
|
+
EmberLeaveNetworkOption[EmberLeaveNetworkOption["WITH_OPTION_REJOIN"] = 32] = "WITH_OPTION_REJOIN";
|
|
2060
|
+
/** Leave is requested. */
|
|
2061
|
+
EmberLeaveNetworkOption[EmberLeaveNetworkOption["IS_REQUESTED"] = 64] = "IS_REQUESTED";
|
|
2062
|
+
})(EmberLeaveNetworkOption || (exports.EmberLeaveNetworkOption = EmberLeaveNetworkOption = {}));
|
|
2063
|
+
;
|
|
2064
|
+
/**
|
|
2065
|
+
* Packet transmit priorities in terms of getting into the MAC queue.
|
|
2066
|
+
*
|
|
2067
|
+
* SL_802154_TRANSMIT_PRIORITY_HIGH High priority headers go on the front of the queue.
|
|
2068
|
+
* SL_802154_TRANSMIT_PRIORITY_NORMAL Normal priority headers go on the back of the queue.
|
|
2069
|
+
* SL_802154_TRANSMIT_PRIORITY_SCAN_OKAY Normally, only beacon requests and orphan notifications can be sent during a scan.
|
|
2070
|
+
* They are submitted with SCAN_OKAY and go on the front of the queue. Other packets could be submitted with this priority, but it is not recommended.
|
|
2071
|
+
*/
|
|
2072
|
+
var EmberTransmitPriority;
|
|
2073
|
+
(function (EmberTransmitPriority) {
|
|
2074
|
+
EmberTransmitPriority[EmberTransmitPriority["HIGH"] = 0] = "HIGH";
|
|
2075
|
+
EmberTransmitPriority[EmberTransmitPriority["NORMAL"] = 1] = "NORMAL";
|
|
2076
|
+
EmberTransmitPriority[EmberTransmitPriority["SCAN_OKAY"] = 2] = "SCAN_OKAY";
|
|
2077
|
+
})(EmberTransmitPriority || (exports.EmberTransmitPriority = EmberTransmitPriority = {}));
|
|
2078
|
+
;
|
|
2375
2079
|
//# sourceMappingURL=enums.js.map
|