@willieee802/zigbee-herdsman 0.49.0 → 0.49.2
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 +38 -0
- package/biome.json +1 -1
- package/dist/adapter/adapter.d.ts +66 -0
- package/dist/adapter/adapter.d.ts.map +1 -0
- package/dist/adapter/adapter.js +110 -0
- package/dist/adapter/adapter.js.map +1 -0
- package/dist/adapter/adapterDiscovery.d.ts +34 -0
- package/dist/adapter/adapterDiscovery.d.ts.map +1 -0
- package/dist/adapter/adapterDiscovery.js +646 -0
- package/dist/adapter/adapterDiscovery.js.map +1 -0
- package/dist/adapter/const.d.ts +9 -0
- package/dist/adapter/const.d.ts.map +1 -0
- package/dist/adapter/const.js +48 -0
- package/dist/adapter/const.js.map +1 -0
- package/dist/adapter/deconz/adapter/deconzAdapter.d.ts +61 -0
- package/dist/adapter/deconz/adapter/deconzAdapter.d.ts.map +1 -0
- package/dist/adapter/deconz/adapter/deconzAdapter.js +719 -0
- package/dist/adapter/deconz/adapter/deconzAdapter.js.map +1 -0
- package/dist/adapter/deconz/driver/constants.d.ts +210 -0
- package/dist/adapter/deconz/driver/constants.d.ts.map +1 -0
- package/dist/adapter/deconz/driver/constants.js +139 -0
- package/dist/adapter/deconz/driver/constants.js.map +1 -0
- package/dist/adapter/deconz/driver/driver.d.ts +111 -0
- package/dist/adapter/deconz/driver/driver.d.ts.map +1 -0
- package/dist/adapter/deconz/driver/driver.js +1362 -0
- package/dist/adapter/deconz/driver/driver.js.map +1 -0
- package/dist/adapter/deconz/driver/frame.d.ts +6 -0
- package/dist/adapter/deconz/driver/frame.d.ts.map +1 -0
- package/dist/adapter/deconz/driver/frame.js +13 -0
- package/dist/adapter/deconz/driver/frame.js.map +1 -0
- package/dist/adapter/deconz/driver/frameParser.d.ts +5 -0
- package/dist/adapter/deconz/driver/frameParser.d.ts.map +1 -0
- package/dist/adapter/deconz/driver/frameParser.js +700 -0
- package/dist/adapter/deconz/driver/frameParser.js.map +1 -0
- package/dist/adapter/deconz/driver/parser.d.ts +10 -0
- package/dist/adapter/deconz/driver/parser.d.ts.map +1 -0
- package/dist/adapter/deconz/driver/parser.js +39 -0
- package/dist/adapter/deconz/driver/parser.js.map +1 -0
- package/dist/adapter/deconz/driver/writer.d.ts +8 -0
- package/dist/adapter/deconz/driver/writer.d.ts.map +1 -0
- package/dist/adapter/deconz/driver/writer.js +53 -0
- package/dist/adapter/deconz/driver/writer.js.map +1 -0
- package/dist/adapter/ember/adapter/emberAdapter.d.ts +338 -0
- package/dist/adapter/ember/adapter/emberAdapter.d.ts.map +1 -0
- package/dist/adapter/ember/adapter/emberAdapter.js +1663 -0
- package/dist/adapter/ember/adapter/emberAdapter.js.map +1 -0
- package/dist/adapter/ember/adapter/endpoints.d.ts +27 -0
- package/dist/adapter/ember/adapter/endpoints.d.ts.map +1 -0
- package/dist/adapter/ember/adapter/endpoints.js +69 -0
- package/dist/adapter/ember/adapter/endpoints.js.map +1 -0
- package/dist/adapter/ember/adapter/oneWaitress.d.ts +112 -0
- package/dist/adapter/ember/adapter/oneWaitress.d.ts.map +1 -0
- package/dist/adapter/ember/adapter/oneWaitress.js +233 -0
- package/dist/adapter/ember/adapter/oneWaitress.js.map +1 -0
- package/dist/adapter/ember/adapter/tokensManager.d.ts +69 -0
- package/dist/adapter/ember/adapter/tokensManager.d.ts.map +1 -0
- package/dist/adapter/ember/adapter/tokensManager.js +684 -0
- package/dist/adapter/ember/adapter/tokensManager.js.map +1 -0
- package/dist/adapter/ember/consts.d.ts +107 -0
- package/dist/adapter/ember/consts.d.ts.map +1 -0
- package/dist/adapter/ember/consts.js +155 -0
- package/dist/adapter/ember/consts.js.map +1 -0
- package/dist/adapter/ember/enums.d.ts +1568 -0
- package/dist/adapter/ember/enums.d.ts.map +1 -0
- package/dist/adapter/ember/enums.js +1697 -0
- package/dist/adapter/ember/enums.js.map +1 -0
- package/dist/adapter/ember/ezsp/buffalo.d.ts +166 -0
- package/dist/adapter/ember/ezsp/buffalo.d.ts.map +1 -0
- package/dist/adapter/ember/ezsp/buffalo.js +1133 -0
- package/dist/adapter/ember/ezsp/buffalo.js.map +1 -0
- package/dist/adapter/ember/ezsp/consts.d.ts +117 -0
- package/dist/adapter/ember/ezsp/consts.d.ts.map +1 -0
- package/dist/adapter/ember/ezsp/consts.js +129 -0
- package/dist/adapter/ember/ezsp/consts.js.map +1 -0
- package/dist/adapter/ember/ezsp/enums.d.ts +1016 -0
- package/dist/adapter/ember/ezsp/enums.d.ts.map +1 -0
- package/dist/adapter/ember/ezsp/enums.js +1103 -0
- package/dist/adapter/ember/ezsp/enums.js.map +1 -0
- package/dist/adapter/ember/ezsp/ezsp.d.ts +2951 -0
- package/dist/adapter/ember/ezsp/ezsp.d.ts.map +1 -0
- package/dist/adapter/ember/ezsp/ezsp.js +7119 -0
- package/dist/adapter/ember/ezsp/ezsp.js.map +1 -0
- 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 +787 -0
- package/dist/adapter/ember/types.d.ts.map +1 -0
- package/dist/adapter/ember/types.js +3 -0
- package/dist/adapter/ember/types.js.map +1 -0
- package/dist/adapter/ember/uart/ash.d.ts +434 -0
- package/dist/adapter/ember/uart/ash.d.ts.map +1 -0
- package/dist/adapter/ember/uart/ash.js +1561 -0
- package/dist/adapter/ember/uart/ash.js.map +1 -0
- package/dist/adapter/ember/uart/consts.d.ts +91 -0
- package/dist/adapter/ember/uart/consts.d.ts.map +1 -0
- package/dist/adapter/ember/uart/consts.js +100 -0
- package/dist/adapter/ember/uart/consts.js.map +1 -0
- package/dist/adapter/ember/uart/enums.d.ts +191 -0
- package/dist/adapter/ember/uart/enums.d.ts.map +1 -0
- package/dist/adapter/ember/uart/enums.js +156 -0
- package/dist/adapter/ember/uart/enums.js.map +1 -0
- package/dist/adapter/ember/uart/parser.d.ts +7 -0
- package/dist/adapter/ember/uart/parser.d.ts.map +1 -0
- package/dist/adapter/ember/uart/parser.js +32 -0
- package/dist/adapter/ember/uart/parser.js.map +1 -0
- package/dist/adapter/ember/uart/queues.d.ts +84 -0
- package/dist/adapter/ember/uart/queues.d.ts.map +1 -0
- package/dist/adapter/ember/uart/queues.js +213 -0
- package/dist/adapter/ember/uart/queues.js.map +1 -0
- package/dist/adapter/ember/uart/writer.d.ts +13 -0
- package/dist/adapter/ember/uart/writer.d.ts.map +1 -0
- package/dist/adapter/ember/uart/writer.js +42 -0
- package/dist/adapter/ember/uart/writer.js.map +1 -0
- package/dist/adapter/ember/utils/initters.d.ts +20 -0
- package/dist/adapter/ember/utils/initters.d.ts.map +1 -0
- package/dist/adapter/ember/utils/initters.js +92 -0
- package/dist/adapter/ember/utils/initters.js.map +1 -0
- package/dist/adapter/ember/utils/math.d.ts +41 -0
- package/dist/adapter/ember/utils/math.d.ts.map +1 -0
- package/dist/adapter/ember/utils/math.js +80 -0
- package/dist/adapter/ember/utils/math.js.map +1 -0
- package/dist/adapter/events.d.ts +24 -0
- package/dist/adapter/events.d.ts.map +1 -0
- package/dist/adapter/events.js +3 -0
- package/dist/adapter/events.js.map +1 -0
- package/dist/adapter/ezsp/adapter/backup.d.ts +13 -0
- package/dist/adapter/ezsp/adapter/backup.d.ts.map +1 -0
- package/dist/adapter/ezsp/adapter/backup.js +89 -0
- package/dist/adapter/ezsp/adapter/backup.js.map +1 -0
- package/dist/adapter/ezsp/adapter/ezspAdapter.d.ts +53 -0
- package/dist/adapter/ezsp/adapter/ezspAdapter.d.ts.map +1 -0
- package/dist/adapter/ezsp/adapter/ezspAdapter.js +464 -0
- package/dist/adapter/ezsp/adapter/ezspAdapter.js.map +1 -0
- package/dist/adapter/ezsp/driver/commands.d.ts +37 -0
- package/dist/adapter/ezsp/driver/commands.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/commands.js +2387 -0
- package/dist/adapter/ezsp/driver/commands.js.map +1 -0
- package/dist/adapter/ezsp/driver/consts.d.ts +11 -0
- package/dist/adapter/ezsp/driver/consts.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/consts.js +14 -0
- package/dist/adapter/ezsp/driver/consts.js.map +1 -0
- package/dist/adapter/ezsp/driver/driver.d.ts +96 -0
- package/dist/adapter/ezsp/driver/driver.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/driver.js +852 -0
- package/dist/adapter/ezsp/driver/driver.js.map +1 -0
- package/dist/adapter/ezsp/driver/ezsp.d.ts +104 -0
- package/dist/adapter/ezsp/driver/ezsp.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/ezsp.js +678 -0
- package/dist/adapter/ezsp/driver/ezsp.js.map +1 -0
- package/dist/adapter/ezsp/driver/frame.d.ts +39 -0
- package/dist/adapter/ezsp/driver/frame.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/frame.js +101 -0
- package/dist/adapter/ezsp/driver/frame.js.map +1 -0
- package/dist/adapter/ezsp/driver/index.d.ts +4 -0
- package/dist/adapter/ezsp/driver/index.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/index.js +8 -0
- package/dist/adapter/ezsp/driver/index.js.map +1 -0
- package/dist/adapter/ezsp/driver/multicast.d.ts +16 -0
- package/dist/adapter/ezsp/driver/multicast.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/multicast.js +74 -0
- package/dist/adapter/ezsp/driver/multicast.js.map +1 -0
- package/dist/adapter/ezsp/driver/parser.d.ts +9 -0
- package/dist/adapter/ezsp/driver/parser.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/parser.js +109 -0
- package/dist/adapter/ezsp/driver/parser.js.map +1 -0
- package/dist/adapter/ezsp/driver/types/basic.d.ts +62 -0
- package/dist/adapter/ezsp/driver/types/basic.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/types/basic.js +187 -0
- package/dist/adapter/ezsp/driver/types/basic.js.map +1 -0
- package/dist/adapter/ezsp/driver/types/index.d.ts +9 -0
- package/dist/adapter/ezsp/driver/types/index.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/types/index.js +137 -0
- package/dist/adapter/ezsp/driver/types/index.js.map +1 -0
- package/dist/adapter/ezsp/driver/types/named.d.ts +1287 -0
- package/dist/adapter/ezsp/driver/types/named.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/types/named.js +2337 -0
- package/dist/adapter/ezsp/driver/types/named.js.map +1 -0
- package/dist/adapter/ezsp/driver/types/struct.d.ts +270 -0
- package/dist/adapter/ezsp/driver/types/struct.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/types/struct.js +869 -0
- package/dist/adapter/ezsp/driver/types/struct.js.map +1 -0
- package/dist/adapter/ezsp/driver/uart.d.ts +46 -0
- package/dist/adapter/ezsp/driver/uart.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/uart.js +390 -0
- package/dist/adapter/ezsp/driver/uart.js.map +1 -0
- package/dist/adapter/ezsp/driver/utils/crc16ccitt.d.ts +5 -0
- package/dist/adapter/ezsp/driver/utils/crc16ccitt.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/utils/crc16ccitt.js +37 -0
- package/dist/adapter/ezsp/driver/utils/crc16ccitt.js.map +1 -0
- package/dist/adapter/ezsp/driver/utils/index.d.ts +5 -0
- package/dist/adapter/ezsp/driver/utils/index.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/utils/index.js +35 -0
- package/dist/adapter/ezsp/driver/utils/index.js.map +1 -0
- package/dist/adapter/ezsp/driver/writer.d.ts +12 -0
- package/dist/adapter/ezsp/driver/writer.d.ts.map +1 -0
- package/dist/adapter/ezsp/driver/writer.js +92 -0
- package/dist/adapter/ezsp/driver/writer.js.map +1 -0
- package/dist/adapter/index.d.ts +4 -0
- package/dist/adapter/index.d.ts.map +1 -0
- package/dist/adapter/index.js +41 -0
- package/dist/adapter/index.js.map +1 -0
- package/dist/adapter/serialPort.d.ts +19 -0
- package/dist/adapter/serialPort.d.ts.map +1 -0
- package/dist/adapter/serialPort.js +51 -0
- package/dist/adapter/serialPort.js.map +1 -0
- package/dist/adapter/tstype.d.ts +52 -0
- package/dist/adapter/tstype.d.ts.map +1 -0
- package/dist/adapter/tstype.js +3 -0
- package/dist/adapter/tstype.js.map +1 -0
- package/dist/adapter/utils.d.ts +8 -0
- package/dist/adapter/utils.d.ts.map +1 -0
- package/dist/adapter/utils.js +42 -0
- package/dist/adapter/utils.js.map +1 -0
- package/dist/adapter/z-stack/adapter/adapter-backup.d.ts +62 -0
- package/dist/adapter/z-stack/adapter/adapter-backup.d.ts.map +1 -0
- package/dist/adapter/z-stack/adapter/adapter-backup.js +469 -0
- package/dist/adapter/z-stack/adapter/adapter-backup.js.map +1 -0
- package/dist/adapter/z-stack/adapter/adapter-nv-memory.d.ts +150 -0
- package/dist/adapter/z-stack/adapter/adapter-nv-memory.d.ts.map +1 -0
- package/dist/adapter/z-stack/adapter/adapter-nv-memory.js +279 -0
- package/dist/adapter/z-stack/adapter/adapter-nv-memory.js.map +1 -0
- package/dist/adapter/z-stack/adapter/endpoints.d.ts +12 -0
- package/dist/adapter/z-stack/adapter/endpoints.d.ts.map +1 -0
- package/dist/adapter/z-stack/adapter/endpoints.js +87 -0
- package/dist/adapter/z-stack/adapter/endpoints.js.map +1 -0
- package/dist/adapter/z-stack/adapter/manager.d.ts +86 -0
- package/dist/adapter/z-stack/adapter/manager.d.ts.map +1 -0
- package/dist/adapter/z-stack/adapter/manager.js +493 -0
- package/dist/adapter/z-stack/adapter/manager.js.map +1 -0
- package/dist/adapter/z-stack/adapter/tstype.d.ts +7 -0
- package/dist/adapter/z-stack/adapter/tstype.d.ts.map +1 -0
- package/dist/adapter/z-stack/adapter/tstype.js +10 -0
- package/dist/adapter/z-stack/adapter/tstype.js.map +1 -0
- package/dist/adapter/z-stack/adapter/zStackAdapter.d.ts +85 -0
- package/dist/adapter/z-stack/adapter/zStackAdapter.d.ts.map +1 -0
- package/dist/adapter/z-stack/adapter/zStackAdapter.js +924 -0
- package/dist/adapter/z-stack/adapter/zStackAdapter.js.map +1 -0
- package/dist/adapter/z-stack/constants/af.d.ts +24 -0
- package/dist/adapter/z-stack/constants/af.d.ts.map +1 -0
- package/dist/adapter/z-stack/constants/af.js +28 -0
- package/dist/adapter/z-stack/constants/af.js.map +1 -0
- package/dist/adapter/z-stack/constants/common.d.ts +279 -0
- package/dist/adapter/z-stack/constants/common.d.ts.map +1 -0
- package/dist/adapter/z-stack/constants/common.js +290 -0
- package/dist/adapter/z-stack/constants/common.js.map +1 -0
- package/dist/adapter/z-stack/constants/dbg.d.ts +23 -0
- package/dist/adapter/z-stack/constants/dbg.d.ts.map +1 -0
- package/dist/adapter/z-stack/constants/dbg.js +25 -0
- package/dist/adapter/z-stack/constants/dbg.js.map +1 -0
- package/dist/adapter/z-stack/constants/index.d.ts +11 -0
- package/dist/adapter/z-stack/constants/index.d.ts.map +1 -0
- package/dist/adapter/z-stack/constants/index.js +58 -0
- package/dist/adapter/z-stack/constants/index.js.map +1 -0
- package/dist/adapter/z-stack/constants/mac.d.ts +128 -0
- package/dist/adapter/z-stack/constants/mac.d.ts.map +1 -0
- package/dist/adapter/z-stack/constants/mac.js +130 -0
- package/dist/adapter/z-stack/constants/mac.js.map +1 -0
- package/dist/adapter/z-stack/constants/sapi.d.ts +25 -0
- package/dist/adapter/z-stack/constants/sapi.d.ts.map +1 -0
- package/dist/adapter/z-stack/constants/sapi.js +27 -0
- package/dist/adapter/z-stack/constants/sapi.js.map +1 -0
- package/dist/adapter/z-stack/constants/sys.d.ts +72 -0
- package/dist/adapter/z-stack/constants/sys.d.ts.map +1 -0
- package/dist/adapter/z-stack/constants/sys.js +74 -0
- package/dist/adapter/z-stack/constants/sys.js.map +1 -0
- package/dist/adapter/z-stack/constants/util.d.ts +82 -0
- package/dist/adapter/z-stack/constants/util.d.ts.map +1 -0
- package/dist/adapter/z-stack/constants/util.js +84 -0
- package/dist/adapter/z-stack/constants/util.js.map +1 -0
- package/dist/adapter/z-stack/constants/utils.d.ts +5 -0
- package/dist/adapter/z-stack/constants/utils.d.ts.map +1 -0
- package/dist/adapter/z-stack/constants/utils.js +14 -0
- package/dist/adapter/z-stack/constants/utils.js.map +1 -0
- package/dist/adapter/z-stack/constants/zdo.d.ts +103 -0
- package/dist/adapter/z-stack/constants/zdo.d.ts.map +1 -0
- package/dist/adapter/z-stack/constants/zdo.js +105 -0
- package/dist/adapter/z-stack/constants/zdo.js.map +1 -0
- package/dist/adapter/z-stack/models/startup-options.d.ts +13 -0
- package/dist/adapter/z-stack/models/startup-options.d.ts.map +1 -0
- package/dist/adapter/z-stack/models/startup-options.js +3 -0
- package/dist/adapter/z-stack/models/startup-options.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/address-manager-entry.d.ts +23 -0
- package/dist/adapter/z-stack/structs/entries/address-manager-entry.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/address-manager-entry.js +43 -0
- package/dist/adapter/z-stack/structs/entries/address-manager-entry.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/address-manager-table.d.ts +10 -0
- package/dist/adapter/z-stack/structs/entries/address-manager-table.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/address-manager-table.js +24 -0
- package/dist/adapter/z-stack/structs/entries/address-manager-table.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.d.ts +10 -0
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.js +16 -0
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.d.ts +10 -0
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.js +25 -0
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-entry.d.ts +10 -0
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-entry.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-entry.js +23 -0
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-entry.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.d.ts +10 -0
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.js +25 -0
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/channel-list.d.ts +8 -0
- package/dist/adapter/z-stack/structs/entries/channel-list.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/channel-list.js +12 -0
- package/dist/adapter/z-stack/structs/entries/channel-list.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/has-configured.d.ts +8 -0
- package/dist/adapter/z-stack/structs/entries/has-configured.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/has-configured.js +22 -0
- package/dist/adapter/z-stack/structs/entries/has-configured.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/index.d.ts +17 -0
- package/dist/adapter/z-stack/structs/entries/index.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/index.js +33 -0
- package/dist/adapter/z-stack/structs/entries/index.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nib.d.ts +10 -0
- package/dist/adapter/z-stack/structs/entries/nib.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nib.js +72 -0
- package/dist/adapter/z-stack/structs/entries/nib.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.d.ts +10 -0
- package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.js +21 -0
- package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nwk-key.d.ts +8 -0
- package/dist/adapter/z-stack/structs/entries/nwk-key.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nwk-key.js +19 -0
- package/dist/adapter/z-stack/structs/entries/nwk-key.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nwk-pan-id.d.ts +8 -0
- package/dist/adapter/z-stack/structs/entries/nwk-pan-id.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nwk-pan-id.js +12 -0
- package/dist/adapter/z-stack/structs/entries/nwk-pan-id.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.d.ts +13 -0
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.js +22 -0
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.d.ts +10 -0
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.js +24 -0
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/security-manager-entry.d.ts +20 -0
- package/dist/adapter/z-stack/structs/entries/security-manager-entry.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/security-manager-entry.js +35 -0
- package/dist/adapter/z-stack/structs/entries/security-manager-entry.js.map +1 -0
- package/dist/adapter/z-stack/structs/entries/security-manager-table.d.ts +10 -0
- package/dist/adapter/z-stack/structs/entries/security-manager-table.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/entries/security-manager-table.js +25 -0
- package/dist/adapter/z-stack/structs/entries/security-manager-table.js.map +1 -0
- package/dist/adapter/z-stack/structs/index.d.ts +5 -0
- package/dist/adapter/z-stack/structs/index.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/index.js +21 -0
- package/dist/adapter/z-stack/structs/index.js.map +1 -0
- package/dist/adapter/z-stack/structs/serializable-memory-object.d.ts +13 -0
- package/dist/adapter/z-stack/structs/serializable-memory-object.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/serializable-memory-object.js +3 -0
- package/dist/adapter/z-stack/structs/serializable-memory-object.js.map +1 -0
- package/dist/adapter/z-stack/structs/struct.d.ts +99 -0
- package/dist/adapter/z-stack/structs/struct.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/struct.js +308 -0
- package/dist/adapter/z-stack/structs/struct.js.map +1 -0
- package/dist/adapter/z-stack/structs/table.d.ts +94 -0
- package/dist/adapter/z-stack/structs/table.d.ts.map +1 -0
- package/dist/adapter/z-stack/structs/table.js +167 -0
- package/dist/adapter/z-stack/structs/table.js.map +1 -0
- package/dist/adapter/z-stack/unpi/constants.d.ts +29 -0
- package/dist/adapter/z-stack/unpi/constants.d.ts.map +1 -0
- package/dist/adapter/z-stack/unpi/constants.js +40 -0
- package/dist/adapter/z-stack/unpi/constants.js.map +1 -0
- package/dist/adapter/z-stack/unpi/frame.d.ts +15 -0
- package/dist/adapter/z-stack/unpi/frame.d.ts.map +1 -0
- package/dist/adapter/z-stack/unpi/frame.js +53 -0
- package/dist/adapter/z-stack/unpi/frame.js.map +1 -0
- package/dist/adapter/z-stack/unpi/index.d.ts +5 -0
- package/dist/adapter/z-stack/unpi/index.d.ts.map +1 -0
- package/dist/adapter/z-stack/unpi/index.js +44 -0
- package/dist/adapter/z-stack/unpi/index.js.map +1 -0
- package/dist/adapter/z-stack/unpi/parser.d.ts +10 -0
- package/dist/adapter/z-stack/unpi/parser.d.ts.map +1 -0
- package/dist/adapter/z-stack/unpi/parser.js +94 -0
- package/dist/adapter/z-stack/unpi/parser.js.map +1 -0
- package/dist/adapter/z-stack/unpi/writer.d.ts +9 -0
- package/dist/adapter/z-stack/unpi/writer.d.ts.map +1 -0
- package/dist/adapter/z-stack/unpi/writer.js +66 -0
- package/dist/adapter/z-stack/unpi/writer.js.map +1 -0
- package/dist/adapter/z-stack/utils/channel-list.d.ts +21 -0
- package/dist/adapter/z-stack/utils/channel-list.d.ts.map +1 -0
- package/dist/adapter/z-stack/utils/channel-list.js +45 -0
- package/dist/adapter/z-stack/utils/channel-list.js.map +1 -0
- package/dist/adapter/z-stack/utils/index.d.ts +3 -0
- package/dist/adapter/z-stack/utils/index.d.ts.map +1 -0
- package/dist/adapter/z-stack/utils/index.js +19 -0
- package/dist/adapter/z-stack/utils/index.js.map +1 -0
- package/dist/adapter/z-stack/utils/network-options.d.ts +9 -0
- package/dist/adapter/z-stack/utils/network-options.d.ts.map +1 -0
- package/dist/adapter/z-stack/utils/network-options.js +22 -0
- package/dist/adapter/z-stack/utils/network-options.js.map +1 -0
- package/dist/adapter/z-stack/znp/buffaloZnp.d.ts +10 -0
- package/dist/adapter/z-stack/znp/buffaloZnp.d.ts.map +1 -0
- package/dist/adapter/z-stack/znp/buffaloZnp.js +162 -0
- package/dist/adapter/z-stack/znp/buffaloZnp.js.map +1 -0
- package/dist/adapter/z-stack/znp/definition.d.ts +18 -0
- package/dist/adapter/z-stack/znp/definition.d.ts.map +1 -0
- package/dist/adapter/z-stack/znp/definition.js +2703 -0
- package/dist/adapter/z-stack/znp/definition.js.map +1 -0
- package/dist/adapter/z-stack/znp/index.d.ts +3 -0
- package/dist/adapter/z-stack/znp/index.d.ts.map +1 -0
- package/dist/adapter/z-stack/znp/index.js +8 -0
- package/dist/adapter/z-stack/znp/index.js.map +1 -0
- package/dist/adapter/z-stack/znp/parameterType.d.ts +19 -0
- package/dist/adapter/z-stack/znp/parameterType.d.ts.map +1 -0
- package/dist/adapter/z-stack/znp/parameterType.js +22 -0
- package/dist/adapter/z-stack/znp/parameterType.js.map +1 -0
- package/dist/adapter/z-stack/znp/tstype.d.ts +40 -0
- package/dist/adapter/z-stack/znp/tstype.d.ts.map +1 -0
- package/dist/adapter/z-stack/znp/tstype.js +3 -0
- package/dist/adapter/z-stack/znp/tstype.js.map +1 -0
- package/dist/adapter/z-stack/znp/utils.d.ts +4 -0
- package/dist/adapter/z-stack/znp/utils.d.ts.map +1 -0
- package/dist/adapter/z-stack/znp/utils.js +12 -0
- package/dist/adapter/z-stack/znp/utils.js.map +1 -0
- package/dist/adapter/z-stack/znp/znp.d.ts +43 -0
- package/dist/adapter/z-stack/znp/znp.d.ts.map +1 -0
- package/dist/adapter/z-stack/znp/znp.js +295 -0
- package/dist/adapter/z-stack/znp/znp.js.map +1 -0
- package/dist/adapter/z-stack/znp/zpiObject.d.ts +19 -0
- package/dist/adapter/z-stack/znp/zpiObject.d.ts.map +1 -0
- package/dist/adapter/z-stack/znp/zpiObject.js +121 -0
- package/dist/adapter/z-stack/znp/zpiObject.js.map +1 -0
- package/dist/adapter/zboss/adapter/zbossAdapter.d.ts +44 -0
- package/dist/adapter/zboss/adapter/zbossAdapter.d.ts.map +1 -0
- package/dist/adapter/zboss/adapter/zbossAdapter.js +365 -0
- package/dist/adapter/zboss/adapter/zbossAdapter.js.map +1 -0
- package/dist/adapter/zboss/commands.d.ts +20 -0
- package/dist/adapter/zboss/commands.d.ts.map +1 -0
- package/dist/adapter/zboss/commands.js +1141 -0
- package/dist/adapter/zboss/commands.js.map +1 -0
- package/dist/adapter/zboss/consts.d.ts +9 -0
- package/dist/adapter/zboss/consts.d.ts.map +1 -0
- package/dist/adapter/zboss/consts.js +12 -0
- package/dist/adapter/zboss/consts.js.map +1 -0
- package/dist/adapter/zboss/driver.d.ts +55 -0
- package/dist/adapter/zboss/driver.d.ts.map +1 -0
- package/dist/adapter/zboss/driver.js +358 -0
- package/dist/adapter/zboss/driver.js.map +1 -0
- package/dist/adapter/zboss/enums.d.ts +301 -0
- package/dist/adapter/zboss/enums.d.ts.map +1 -0
- package/dist/adapter/zboss/enums.js +359 -0
- package/dist/adapter/zboss/enums.js.map +1 -0
- package/dist/adapter/zboss/frame.d.ts +34 -0
- package/dist/adapter/zboss/frame.d.ts.map +1 -0
- package/dist/adapter/zboss/frame.js +200 -0
- package/dist/adapter/zboss/frame.js.map +1 -0
- package/dist/adapter/zboss/reader.d.ts +8 -0
- package/dist/adapter/zboss/reader.d.ts.map +1 -0
- package/dist/adapter/zboss/reader.js +59 -0
- package/dist/adapter/zboss/reader.js.map +1 -0
- package/dist/adapter/zboss/types.d.ts +2 -0
- package/dist/adapter/zboss/types.d.ts.map +1 -0
- package/dist/adapter/zboss/types.js +3 -0
- package/dist/adapter/zboss/types.js.map +1 -0
- package/dist/adapter/zboss/uart.d.ts +38 -0
- package/dist/adapter/zboss/uart.d.ts.map +1 -0
- package/dist/adapter/zboss/uart.js +373 -0
- package/dist/adapter/zboss/uart.js.map +1 -0
- package/dist/adapter/zboss/utils.d.ts +9 -0
- package/dist/adapter/zboss/utils.d.ts.map +1 -0
- package/dist/adapter/zboss/utils.js +56 -0
- package/dist/adapter/zboss/utils.js.map +1 -0
- package/dist/adapter/zboss/writer.d.ts +14 -0
- package/dist/adapter/zboss/writer.d.ts.map +1 -0
- package/dist/adapter/zboss/writer.js +41 -0
- package/dist/adapter/zboss/writer.js.map +1 -0
- package/dist/adapter/zigate/adapter/patchZdoBuffaloBE.d.ts +5 -0
- package/dist/adapter/zigate/adapter/patchZdoBuffaloBE.d.ts.map +1 -0
- package/dist/adapter/zigate/adapter/patchZdoBuffaloBE.js +26 -0
- package/dist/adapter/zigate/adapter/patchZdoBuffaloBE.js.map +1 -0
- package/dist/adapter/zigate/adapter/zigateAdapter.d.ts +63 -0
- package/dist/adapter/zigate/adapter/zigateAdapter.d.ts.map +1 -0
- package/dist/adapter/zigate/adapter/zigateAdapter.js +462 -0
- package/dist/adapter/zigate/adapter/zigateAdapter.js.map +1 -0
- package/dist/adapter/zigate/driver/buffaloZiGate.d.ts +22 -0
- package/dist/adapter/zigate/driver/buffaloZiGate.d.ts.map +1 -0
- package/dist/adapter/zigate/driver/buffaloZiGate.js +198 -0
- package/dist/adapter/zigate/driver/buffaloZiGate.js.map +1 -0
- package/dist/adapter/zigate/driver/commandType.d.ts +42 -0
- package/dist/adapter/zigate/driver/commandType.d.ts.map +1 -0
- package/dist/adapter/zigate/driver/commandType.js +381 -0
- package/dist/adapter/zigate/driver/commandType.js.map +1 -0
- package/dist/adapter/zigate/driver/constants.d.ts +116 -0
- package/dist/adapter/zigate/driver/constants.d.ts.map +1 -0
- package/dist/adapter/zigate/driver/constants.js +147 -0
- package/dist/adapter/zigate/driver/constants.js.map +1 -0
- package/dist/adapter/zigate/driver/frame.d.ts +26 -0
- package/dist/adapter/zigate/driver/frame.d.ts.map +1 -0
- package/dist/adapter/zigate/driver/frame.js +161 -0
- package/dist/adapter/zigate/driver/frame.js.map +1 -0
- package/dist/adapter/zigate/driver/messageType.d.ts +13 -0
- package/dist/adapter/zigate/driver/messageType.d.ts.map +1 -0
- package/dist/adapter/zigate/driver/messageType.js +281 -0
- package/dist/adapter/zigate/driver/messageType.js.map +1 -0
- package/dist/adapter/zigate/driver/parameterType.d.ts +25 -0
- package/dist/adapter/zigate/driver/parameterType.d.ts.map +1 -0
- package/dist/adapter/zigate/driver/parameterType.js +31 -0
- package/dist/adapter/zigate/driver/parameterType.js.map +1 -0
- package/dist/adapter/zigate/driver/ziGateObject.d.ts +23 -0
- package/dist/adapter/zigate/driver/ziGateObject.d.ts.map +1 -0
- package/dist/adapter/zigate/driver/ziGateObject.js +117 -0
- package/dist/adapter/zigate/driver/ziGateObject.js.map +1 -0
- package/dist/adapter/zigate/driver/zigate.d.ts +47 -0
- package/dist/adapter/zigate/driver/zigate.d.ts.map +1 -0
- package/dist/adapter/zigate/driver/zigate.js +364 -0
- package/dist/adapter/zigate/driver/zigate.js.map +1 -0
- package/dist/adapter/zoh/adapter/utils.d.ts +16 -0
- package/dist/adapter/zoh/adapter/utils.d.ts.map +1 -0
- package/dist/adapter/zoh/adapter/utils.js +31 -0
- package/dist/adapter/zoh/adapter/utils.js.map +1 -0
- package/dist/adapter/zoh/adapter/zohAdapter.d.ts +100 -0
- package/dist/adapter/zoh/adapter/zohAdapter.d.ts.map +1 -0
- package/dist/adapter/zoh/adapter/zohAdapter.js +715 -0
- package/dist/adapter/zoh/adapter/zohAdapter.js.map +1 -0
- package/dist/buffalo/buffalo.d.ts +67 -0
- package/dist/buffalo/buffalo.d.ts.map +1 -0
- package/dist/buffalo/buffalo.js +275 -0
- package/dist/buffalo/buffalo.js.map +1 -0
- package/dist/buffalo/index.d.ts +2 -0
- package/dist/buffalo/index.d.ts.map +1 -0
- package/dist/buffalo/index.js +6 -0
- package/dist/buffalo/index.js.map +1 -0
- package/dist/controller/controller.d.ts +155 -0
- package/dist/controller/controller.d.ts.map +1 -0
- package/dist/controller/controller.js +874 -0
- package/dist/controller/controller.js.map +1 -0
- package/dist/controller/database.d.ts +21 -0
- package/dist/controller/database.d.ts.map +1 -0
- package/dist/controller/database.js +128 -0
- package/dist/controller/database.js.map +1 -0
- package/dist/controller/events.d.ts +44 -0
- package/dist/controller/events.d.ts.map +1 -0
- package/dist/controller/events.js +3 -0
- package/dist/controller/events.js.map +1 -0
- package/dist/controller/greenPower.d.ts +78 -0
- package/dist/controller/greenPower.d.ts.map +1 -0
- package/dist/controller/greenPower.js +425 -0
- package/dist/controller/greenPower.js.map +1 -0
- package/dist/controller/helpers/index.d.ts +2 -0
- package/dist/controller/helpers/index.d.ts.map +1 -0
- package/dist/controller/helpers/index.js +38 -0
- package/dist/controller/helpers/index.js.map +1 -0
- package/dist/controller/helpers/installCodes.d.ts +27 -0
- package/dist/controller/helpers/installCodes.d.ts.map +1 -0
- package/dist/controller/helpers/installCodes.js +90 -0
- package/dist/controller/helpers/installCodes.js.map +1 -0
- package/dist/controller/helpers/ota.d.ts +53 -0
- package/dist/controller/helpers/ota.d.ts.map +1 -0
- package/dist/controller/helpers/ota.js +467 -0
- package/dist/controller/helpers/ota.js.map +1 -0
- package/dist/controller/helpers/request.d.ts +22 -0
- package/dist/controller/helpers/request.d.ts.map +1 -0
- package/dist/controller/helpers/request.js +82 -0
- package/dist/controller/helpers/request.js.map +1 -0
- package/dist/controller/helpers/requestQueue.d.ts +13 -0
- package/dist/controller/helpers/requestQueue.d.ts.map +1 -0
- package/dist/controller/helpers/requestQueue.js +109 -0
- package/dist/controller/helpers/requestQueue.js.map +1 -0
- package/dist/controller/helpers/zclFrameConverter.d.ts +7 -0
- package/dist/controller/helpers/zclFrameConverter.d.ts.map +1 -0
- package/dist/controller/helpers/zclFrameConverter.js +84 -0
- package/dist/controller/helpers/zclFrameConverter.js.map +1 -0
- package/dist/controller/helpers/zclTransactionSequenceNumber.d.ts +8 -0
- package/dist/controller/helpers/zclTransactionSequenceNumber.d.ts.map +1 -0
- package/dist/controller/helpers/zclTransactionSequenceNumber.js +14 -0
- package/dist/controller/helpers/zclTransactionSequenceNumber.js.map +1 -0
- package/dist/controller/index.d.ts +6 -0
- package/dist/controller/index.d.ts.map +1 -0
- package/dist/controller/index.js +9 -0
- package/dist/controller/index.js.map +1 -0
- package/dist/controller/model/device.d.ts +150 -0
- package/dist/controller/model/device.d.ts.map +1 -0
- package/dist/controller/model/device.js +1396 -0
- package/dist/controller/model/device.js.map +1 -0
- package/dist/controller/model/endpoint.d.ts +150 -0
- package/dist/controller/model/endpoint.d.ts.map +1 -0
- package/dist/controller/model/endpoint.js +822 -0
- package/dist/controller/model/endpoint.js.map +1 -0
- package/dist/controller/model/entity.d.ts +18 -0
- package/dist/controller/model/entity.d.ts.map +1 -0
- package/dist/controller/model/entity.js +35 -0
- package/dist/controller/model/entity.js.map +1 -0
- package/dist/controller/model/group.d.ts +50 -0
- package/dist/controller/model/group.d.ts.map +1 -0
- package/dist/controller/model/group.js +343 -0
- package/dist/controller/model/group.js.map +1 -0
- package/dist/controller/model/index.d.ts +6 -0
- package/dist/controller/model/index.d.ts.map +1 -0
- package/dist/controller/model/index.js +14 -0
- package/dist/controller/model/index.js.map +1 -0
- package/dist/controller/model/konnextConfig.d.ts +7 -0
- package/dist/controller/model/konnextConfig.d.ts.map +1 -0
- package/dist/controller/model/konnextConfig.js +3 -0
- package/dist/controller/model/konnextConfig.js.map +1 -0
- package/dist/controller/model/zigbeeEntity.d.ts +8 -0
- package/dist/controller/model/zigbeeEntity.d.ts.map +1 -0
- package/dist/controller/model/zigbeeEntity.js +11 -0
- package/dist/controller/model/zigbeeEntity.js.map +1 -0
- package/dist/controller/touchlink.d.ts +20 -0
- package/dist/controller/touchlink.d.ts.map +1 -0
- package/dist/controller/touchlink.js +169 -0
- package/dist/controller/touchlink.js.map +1 -0
- package/dist/controller/tstype.d.ts +152 -0
- package/dist/controller/tstype.d.ts.map +1 -0
- package/dist/controller/tstype.js +3 -0
- package/dist/controller/tstype.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +54 -0
- package/dist/index.js.map +1 -0
- package/dist/models/backup-storage-legacy.d.ts +25 -0
- package/dist/models/backup-storage-legacy.d.ts.map +1 -0
- package/dist/models/backup-storage-legacy.js +3 -0
- package/dist/models/backup-storage-legacy.js.map +1 -0
- package/dist/models/backup-storage-unified.d.ts +50 -0
- package/dist/models/backup-storage-unified.d.ts.map +1 -0
- package/dist/models/backup-storage-unified.js +3 -0
- package/dist/models/backup-storage-unified.js.map +1 -0
- package/dist/models/backup.d.ts +37 -0
- package/dist/models/backup.d.ts.map +1 -0
- package/dist/models/backup.js +3 -0
- package/dist/models/backup.js.map +1 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +22 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/network-options.d.ts +12 -0
- package/dist/models/network-options.d.ts.map +1 -0
- package/dist/models/network-options.js +3 -0
- package/dist/models/network-options.js.map +1 -0
- package/dist/utils/aes.d.ts +40 -0
- package/dist/utils/aes.d.ts.map +1 -0
- package/dist/utils/aes.js +207 -0
- package/dist/utils/aes.js.map +1 -0
- package/dist/utils/async-mutex.d.ts +7 -0
- package/dist/utils/async-mutex.d.ts.map +1 -0
- package/dist/utils/async-mutex.js +31 -0
- package/dist/utils/async-mutex.js.map +1 -0
- package/dist/utils/backup.d.ts +21 -0
- package/dist/utils/backup.d.ts.map +1 -0
- package/dist/utils/backup.js +179 -0
- package/dist/utils/backup.js.map +1 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +45 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/logger.d.ts +9 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +14 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/patchBigIntSerialization.d.ts +2 -0
- package/dist/utils/patchBigIntSerialization.d.ts.map +1 -0
- package/dist/utils/patchBigIntSerialization.js +9 -0
- package/dist/utils/patchBigIntSerialization.js.map +1 -0
- package/dist/utils/queue.d.ts +8 -0
- package/dist/utils/queue.d.ts.map +1 -0
- package/dist/utils/queue.js +67 -0
- package/dist/utils/queue.js.map +1 -0
- package/dist/utils/timeService.d.ts +6 -0
- package/dist/utils/timeService.d.ts.map +1 -0
- package/dist/utils/timeService.js +127 -0
- package/dist/utils/timeService.js.map +1 -0
- package/dist/utils/utils.d.ts +5 -0
- package/dist/utils/utils.d.ts.map +1 -0
- package/dist/utils/utils.js +24 -0
- package/dist/utils/utils.js.map +1 -0
- package/dist/utils/wait.d.ts +2 -0
- package/dist/utils/wait.d.ts.map +1 -0
- package/dist/utils/wait.js +9 -0
- package/dist/utils/wait.js.map +1 -0
- package/dist/utils/waitress.d.ts +23 -0
- package/dist/utils/waitress.d.ts.map +1 -0
- package/dist/utils/waitress.js +76 -0
- package/dist/utils/waitress.js.map +1 -0
- package/dist/zspec/consts.d.ts +75 -0
- package/dist/zspec/consts.d.ts.map +1 -0
- package/dist/zspec/consts.js +79 -0
- package/dist/zspec/consts.js.map +1 -0
- package/dist/zspec/enums.d.ts +19 -0
- package/dist/zspec/enums.d.ts.map +1 -0
- package/dist/zspec/enums.js +27 -0
- package/dist/zspec/enums.js.map +1 -0
- package/dist/zspec/index.d.ts +4 -0
- package/dist/zspec/index.d.ts.map +1 -0
- package/dist/zspec/index.js +43 -0
- package/dist/zspec/index.js.map +1 -0
- package/dist/zspec/tstypes.d.ts +19 -0
- package/dist/zspec/tstypes.d.ts.map +1 -0
- package/dist/zspec/tstypes.js +3 -0
- package/dist/zspec/tstypes.js.map +1 -0
- package/dist/zspec/utils.d.ts +77 -0
- package/dist/zspec/utils.d.ts.map +1 -0
- package/dist/zspec/utils.js +217 -0
- package/dist/zspec/utils.js.map +1 -0
- package/dist/zspec/zcl/buffaloZcl.d.ts +43 -0
- package/dist/zspec/zcl/buffaloZcl.d.ts.map +1 -0
- package/dist/zspec/zcl/buffaloZcl.js +969 -0
- package/dist/zspec/zcl/buffaloZcl.js.map +1 -0
- package/dist/zspec/zcl/definition/cluster.d.ts +3 -0
- package/dist/zspec/zcl/definition/cluster.d.ts.map +1 -0
- package/dist/zspec/zcl/definition/cluster.js +7507 -0
- package/dist/zspec/zcl/definition/cluster.js.map +1 -0
- package/dist/zspec/zcl/definition/clusters-types.d.ts +8135 -0
- package/dist/zspec/zcl/definition/clusters-types.d.ts.map +1 -0
- package/dist/zspec/zcl/definition/clusters-types.js +3 -0
- package/dist/zspec/zcl/definition/clusters-types.js.map +1 -0
- package/dist/zspec/zcl/definition/consts.d.ts +9 -0
- package/dist/zspec/zcl/definition/consts.d.ts.map +1 -0
- package/dist/zspec/zcl/definition/consts.js +27 -0
- package/dist/zspec/zcl/definition/consts.js.map +1 -0
- package/dist/zspec/zcl/definition/datatypes.d.ts +2173 -0
- package/dist/zspec/zcl/definition/datatypes.d.ts.map +1 -0
- package/dist/zspec/zcl/definition/datatypes.js +2315 -0
- package/dist/zspec/zcl/definition/datatypes.js.map +1 -0
- package/dist/zspec/zcl/definition/enums.d.ts +205 -0
- package/dist/zspec/zcl/definition/enums.d.ts.map +1 -0
- package/dist/zspec/zcl/definition/enums.js +218 -0
- package/dist/zspec/zcl/definition/enums.js.map +1 -0
- package/dist/zspec/zcl/definition/foundation.d.ts +10 -0
- package/dist/zspec/zcl/definition/foundation.d.ts.map +1 -0
- package/dist/zspec/zcl/definition/foundation.js +312 -0
- package/dist/zspec/zcl/definition/foundation.js.map +1 -0
- package/dist/zspec/zcl/definition/manufacturerCode.d.ts +729 -0
- package/dist/zspec/zcl/definition/manufacturerCode.d.ts.map +1 -0
- package/dist/zspec/zcl/definition/manufacturerCode.js +734 -0
- package/dist/zspec/zcl/definition/manufacturerCode.js.map +1 -0
- package/dist/zspec/zcl/definition/status.d.ts +69 -0
- package/dist/zspec/zcl/definition/status.d.ts.map +1 -0
- package/dist/zspec/zcl/definition/status.js +74 -0
- package/dist/zspec/zcl/definition/status.js.map +1 -0
- package/dist/zspec/zcl/definition/tstype.d.ts +273 -0
- package/dist/zspec/zcl/definition/tstype.d.ts.map +1 -0
- package/dist/zspec/zcl/definition/tstype.js +3 -0
- package/dist/zspec/zcl/definition/tstype.js.map +1 -0
- package/dist/zspec/zcl/index.d.ts +12 -0
- package/dist/zspec/zcl/index.d.ts.map +1 -0
- package/dist/zspec/zcl/index.js +57 -0
- package/dist/zspec/zcl/index.js.map +1 -0
- package/dist/zspec/zcl/utils.d.ts +15 -0
- package/dist/zspec/zcl/utils.d.ts.map +1 -0
- package/dist/zspec/zcl/utils.js +419 -0
- package/dist/zspec/zcl/utils.js.map +1 -0
- package/dist/zspec/zcl/zclFrame.d.ts +49 -0
- package/dist/zspec/zcl/zclFrame.d.ts.map +1 -0
- package/dist/zspec/zcl/zclFrame.js +328 -0
- package/dist/zspec/zcl/zclFrame.js.map +1 -0
- package/dist/zspec/zcl/zclHeader.d.ts +16 -0
- package/dist/zspec/zcl/zclHeader.d.ts.map +1 -0
- package/dist/zspec/zcl/zclHeader.js +88 -0
- package/dist/zspec/zcl/zclHeader.js.map +1 -0
- package/dist/zspec/zcl/zclStatusError.d.ts +6 -0
- package/dist/zspec/zcl/zclStatusError.d.ts.map +1 -0
- package/dist/zspec/zcl/zclStatusError.js +13 -0
- package/dist/zspec/zcl/zclStatusError.js.map +1 -0
- package/dist/zspec/zdo/buffaloZdo.d.ts +407 -0
- package/dist/zspec/zdo/buffaloZdo.d.ts.map +1 -0
- package/dist/zspec/zdo/buffaloZdo.js +1919 -0
- package/dist/zspec/zdo/buffaloZdo.js.map +1 -0
- package/dist/zspec/zdo/definition/clusters.d.ts +624 -0
- package/dist/zspec/zdo/definition/clusters.d.ts.map +1 -0
- package/dist/zspec/zdo/definition/clusters.js +686 -0
- package/dist/zspec/zdo/definition/clusters.js.map +1 -0
- package/dist/zspec/zdo/definition/consts.d.ts +13 -0
- package/dist/zspec/zdo/definition/consts.d.ts.map +1 -0
- package/dist/zspec/zdo/definition/consts.js +16 -0
- package/dist/zspec/zdo/definition/consts.js.map +1 -0
- package/dist/zspec/zdo/definition/enums.d.ts +85 -0
- package/dist/zspec/zdo/definition/enums.d.ts.map +1 -0
- package/dist/zspec/zdo/definition/enums.js +103 -0
- package/dist/zspec/zdo/definition/enums.js.map +1 -0
- package/dist/zspec/zdo/definition/status.d.ts +99 -0
- package/dist/zspec/zdo/definition/status.d.ts.map +1 -0
- package/dist/zspec/zdo/definition/status.js +108 -0
- package/dist/zspec/zdo/definition/status.js.map +1 -0
- package/dist/zspec/zdo/definition/tstypes.d.ts +955 -0
- package/dist/zspec/zdo/definition/tstypes.d.ts.map +1 -0
- package/dist/zspec/zdo/definition/tstypes.js +4 -0
- package/dist/zspec/zdo/definition/tstypes.js.map +1 -0
- package/dist/zspec/zdo/index.d.ts +8 -0
- package/dist/zspec/zdo/index.d.ts.map +1 -0
- package/dist/zspec/zdo/index.js +51 -0
- package/dist/zspec/zdo/index.js.map +1 -0
- package/dist/zspec/zdo/utils.d.ts +24 -0
- package/dist/zspec/zdo/utils.d.ts.map +1 -0
- package/dist/zspec/zdo/utils.js +74 -0
- package/dist/zspec/zdo/utils.js.map +1 -0
- package/dist/zspec/zdo/zdoStatusError.d.ts +6 -0
- package/dist/zspec/zdo/zdoStatusError.d.ts.map +1 -0
- package/dist/zspec/zdo/zdoStatusError.js +13 -0
- package/dist/zspec/zdo/zdoStatusError.js.map +1 -0
- package/package.json +90 -83
- package/src/controller/helpers/ota.ts +5 -2
- package/src/zspec/zcl/definition/cluster.ts +3 -294
- package/src/zspec/zcl/definition/clusters-types.ts +6 -355
- package/src/zspec/zcl/definition/tstype.ts +0 -14
- package/src/zspec/zcl/utils.ts +14 -31
- package/test/controller.test.ts +16 -8
- package/test/zcl.test.ts +36 -7
|
@@ -0,0 +1,1568 @@
|
|
|
1
|
+
/** Status Codes contains error and status code definitions used by Simplicity SDK software components and stacks. */
|
|
2
|
+
export declare enum SLStatus {
|
|
3
|
+
/** No error. */
|
|
4
|
+
OK = 0,
|
|
5
|
+
/** Generic error. */
|
|
6
|
+
FAIL = 1,
|
|
7
|
+
/** Generic invalid state error. */
|
|
8
|
+
INVALID_STATE = 2,
|
|
9
|
+
/** Module is not ready for requested operation. */
|
|
10
|
+
NOT_READY = 3,
|
|
11
|
+
/** Module is busy and cannot carry out requested operation. */
|
|
12
|
+
BUSY = 4,
|
|
13
|
+
/** Operation is in progress and not yet complete (pass or fail). */
|
|
14
|
+
IN_PROGRESS = 5,
|
|
15
|
+
/** Operation aborted. */
|
|
16
|
+
ABORT = 6,
|
|
17
|
+
/** Operation timed out. */
|
|
18
|
+
TIMEOUT = 7,
|
|
19
|
+
/** Operation not allowed per permissions. */
|
|
20
|
+
PERMISSION = 8,
|
|
21
|
+
/** Non-blocking operation would block. */
|
|
22
|
+
WOULD_BLOCK = 9,
|
|
23
|
+
/** Operation/module is Idle, cannot carry requested operation. */
|
|
24
|
+
IDLE = 10,
|
|
25
|
+
/** Operation cannot be done while construct is waiting. */
|
|
26
|
+
IS_WAITING = 11,
|
|
27
|
+
/** No task/construct waiting/pending for that action/event. */
|
|
28
|
+
NONE_WAITING = 12,
|
|
29
|
+
/** Operation cannot be done while construct is suspended. */
|
|
30
|
+
SUSPENDED = 13,
|
|
31
|
+
/** Feature not available due to software configuration. */
|
|
32
|
+
NOT_AVAILABLE = 14,
|
|
33
|
+
/** Feature not supported. */
|
|
34
|
+
NOT_SUPPORTED = 15,
|
|
35
|
+
/** Initialization failed. */
|
|
36
|
+
INITIALIZATION = 16,
|
|
37
|
+
/** Module has not been initialized. */
|
|
38
|
+
NOT_INITIALIZED = 17,
|
|
39
|
+
/** Module has already been initialized. */
|
|
40
|
+
ALREADY_INITIALIZED = 18,
|
|
41
|
+
/** Object/construct has been deleted. */
|
|
42
|
+
DELETED = 19,
|
|
43
|
+
/** Illegal call from ISR. */
|
|
44
|
+
ISR = 20,
|
|
45
|
+
/** Illegal call because network is up. */
|
|
46
|
+
NETWORK_UP = 21,
|
|
47
|
+
/** Illegal call because network is down. */
|
|
48
|
+
NETWORK_DOWN = 22,
|
|
49
|
+
/** Failure due to not being joined in a network. */
|
|
50
|
+
NOT_JOINED = 23,
|
|
51
|
+
/** Invalid operation as there are no beacons. */
|
|
52
|
+
NO_BEACONS = 24,
|
|
53
|
+
/** Generic allocation error. */
|
|
54
|
+
ALLOCATION_FAILED = 25,
|
|
55
|
+
/** No more resource available to perform the operation. */
|
|
56
|
+
NO_MORE_RESOURCE = 26,
|
|
57
|
+
/** Item/list/queue is empty. */
|
|
58
|
+
EMPTY = 27,
|
|
59
|
+
/** Item/list/queue is full. */
|
|
60
|
+
FULL = 28,
|
|
61
|
+
/** Item would overflow. */
|
|
62
|
+
WOULD_OVERFLOW = 29,
|
|
63
|
+
/** Item/list/queue has been overflowed. */
|
|
64
|
+
HAS_OVERFLOWED = 30,
|
|
65
|
+
/** Generic ownership error. */
|
|
66
|
+
OWNERSHIP = 31,
|
|
67
|
+
/** Already/still owning resource. */
|
|
68
|
+
IS_OWNER = 32,
|
|
69
|
+
/** Generic invalid argument or consequence of invalid argument. */
|
|
70
|
+
INVALID_PARAMETER = 33,
|
|
71
|
+
/** Invalid null pointer received as argument. */
|
|
72
|
+
NULL_POINTER = 34,
|
|
73
|
+
/** Invalid configuration provided. */
|
|
74
|
+
INVALID_CONFIGURATION = 35,
|
|
75
|
+
/** Invalid mode. */
|
|
76
|
+
INVALID_MODE = 36,
|
|
77
|
+
/** Invalid handle. */
|
|
78
|
+
INVALID_HANDLE = 37,
|
|
79
|
+
/** Invalid type for operation. */
|
|
80
|
+
INVALID_TYPE = 38,
|
|
81
|
+
/** Invalid index. */
|
|
82
|
+
INVALID_INDEX = 39,
|
|
83
|
+
/** Invalid range. */
|
|
84
|
+
INVALID_RANGE = 40,
|
|
85
|
+
/** Invalid key. */
|
|
86
|
+
INVALID_KEY = 41,
|
|
87
|
+
/** Invalid credentials. */
|
|
88
|
+
INVALID_CREDENTIALS = 42,
|
|
89
|
+
/** Invalid count. */
|
|
90
|
+
INVALID_COUNT = 43,
|
|
91
|
+
/** Invalid signature / verification failed. */
|
|
92
|
+
INVALID_SIGNATURE = 44,
|
|
93
|
+
/** Item could not be found. */
|
|
94
|
+
NOT_FOUND = 45,
|
|
95
|
+
/** Item already exists. */
|
|
96
|
+
ALREADY_EXISTS = 46,
|
|
97
|
+
/** Generic I/O failure. */
|
|
98
|
+
IO = 47,
|
|
99
|
+
/** I/O failure due to timeout. */
|
|
100
|
+
IO_TIMEOUT = 48,
|
|
101
|
+
/** Generic transmission error. */
|
|
102
|
+
TRANSMIT = 49,
|
|
103
|
+
/** Transmit underflowed. */
|
|
104
|
+
TRANSMIT_UNDERFLOW = 50,
|
|
105
|
+
/** Transmit is incomplete. */
|
|
106
|
+
TRANSMIT_INCOMPLETE = 51,
|
|
107
|
+
/** Transmit is busy. */
|
|
108
|
+
TRANSMIT_BUSY = 52,
|
|
109
|
+
/** Generic reception error. */
|
|
110
|
+
RECEIVE = 53,
|
|
111
|
+
/** Failed to read on/via given object. */
|
|
112
|
+
OBJECT_READ = 54,
|
|
113
|
+
/** Failed to write on/via given object. */
|
|
114
|
+
OBJECT_WRITE = 55,
|
|
115
|
+
/** Message is too long. */
|
|
116
|
+
MESSAGE_TOO_LONG = 56,
|
|
117
|
+
/** EEPROM MFG version mismatch. */
|
|
118
|
+
EEPROM_MFG_VERSION_MISMATCH = 57,
|
|
119
|
+
/** EEPROM Stack version mismatch. */
|
|
120
|
+
EEPROM_STACK_VERSION_MISMATCH = 58,
|
|
121
|
+
/** Flash write is inhibited. */
|
|
122
|
+
FLASH_WRITE_INHIBITED = 59,
|
|
123
|
+
/** Flash verification failed. */
|
|
124
|
+
FLASH_VERIFY_FAILED = 60,
|
|
125
|
+
/** Flash programming failed. */
|
|
126
|
+
FLASH_PROGRAM_FAILED = 61,
|
|
127
|
+
/** Flash erase failed. */
|
|
128
|
+
FLASH_ERASE_FAILED = 62,
|
|
129
|
+
/** MAC no data. */
|
|
130
|
+
MAC_NO_DATA = 63,
|
|
131
|
+
/** MAC no ACK received. */
|
|
132
|
+
MAC_NO_ACK_RECEIVED = 64,
|
|
133
|
+
/** MAC indirect timeout. */
|
|
134
|
+
MAC_INDIRECT_TIMEOUT = 65,
|
|
135
|
+
/** MAC unknown header type. */
|
|
136
|
+
MAC_UNKNOWN_HEADER_TYPE = 66,
|
|
137
|
+
/** MAC ACK unknown header type. */
|
|
138
|
+
MAC_ACK_HEADER_TYPE = 67,
|
|
139
|
+
/** MAC command transmit failure. */
|
|
140
|
+
MAC_COMMAND_TRANSMIT_FAILURE = 68,
|
|
141
|
+
/** Error in open NVM */
|
|
142
|
+
CLI_STORAGE_NVM_OPEN_ERROR = 69,
|
|
143
|
+
/** Image checksum is not valid. */
|
|
144
|
+
SECURITY_IMAGE_CHECKSUM_ERROR = 70,
|
|
145
|
+
/** Decryption failed */
|
|
146
|
+
SECURITY_DECRYPT_ERROR = 71,
|
|
147
|
+
/** Command was not recognized */
|
|
148
|
+
COMMAND_IS_INVALID = 72,
|
|
149
|
+
/** Command or parameter maximum length exceeded */
|
|
150
|
+
COMMAND_TOO_LONG = 73,
|
|
151
|
+
/** Data received does not form a complete command */
|
|
152
|
+
COMMAND_INCOMPLETE = 74,
|
|
153
|
+
/** Bus error, e.g. invalid DMA address */
|
|
154
|
+
BUS_ERROR = 75,
|
|
155
|
+
/** CCA failure. */
|
|
156
|
+
CCA_FAILURE = 76,
|
|
157
|
+
/** MAC scanning. */
|
|
158
|
+
MAC_SCANNING = 77,
|
|
159
|
+
/** MAC incorrect scan type. */
|
|
160
|
+
MAC_INCORRECT_SCAN_TYPE = 78,
|
|
161
|
+
/** Invalid channel mask. */
|
|
162
|
+
INVALID_CHANNEL_MASK = 79,
|
|
163
|
+
/** Bad scan duration. */
|
|
164
|
+
BAD_SCAN_DURATION = 80,
|
|
165
|
+
/** The MAC transmit queue is full */
|
|
166
|
+
MAC_TRANSMIT_QUEUE_FULL = 83,
|
|
167
|
+
/**
|
|
168
|
+
* The transmit attempt failed because the radio scheduler could not find a slot to transmit this packet in or
|
|
169
|
+
* a higher priority event interrupted it
|
|
170
|
+
*/
|
|
171
|
+
TRANSMIT_SCHEDULER_FAIL = 84,
|
|
172
|
+
/** An unsupported channel setting was specified */
|
|
173
|
+
TRANSMIT_INVALID_CHANNEL = 85,
|
|
174
|
+
/** An unsupported power setting was specified */
|
|
175
|
+
TRANSMIT_INVALID_POWER = 86,
|
|
176
|
+
/** The expected ACK was received after the last transmission */
|
|
177
|
+
TRANSMIT_ACK_RECEIVED = 87,
|
|
178
|
+
/**
|
|
179
|
+
* The transmit attempt was blocked from going over the air.
|
|
180
|
+
* Typically this is due to the Radio Hold Off (RHO) or Coexistence plugins as they can prevent transmits based on external signals.
|
|
181
|
+
*/
|
|
182
|
+
TRANSMIT_BLOCKED = 88,
|
|
183
|
+
/** The initialization was aborted as the NVM3 instance is not aligned properly in memory */
|
|
184
|
+
NVM3_ALIGNMENT_INVALID = 89,
|
|
185
|
+
/** The initialization was aborted as the size of the NVM3 instance is too small */
|
|
186
|
+
NVM3_SIZE_TOO_SMALL = 90,
|
|
187
|
+
/** The initialization was aborted as the NVM3 page size is not supported */
|
|
188
|
+
NVM3_PAGE_SIZE_NOT_SUPPORTED = 91,
|
|
189
|
+
/** The application that there was an error initializing some of the tokens */
|
|
190
|
+
NVM3_TOKEN_INIT_FAILED = 92,
|
|
191
|
+
/** The initialization was aborted as the NVM3 instance was already opened with other parameters */
|
|
192
|
+
NVM3_OPENED_WITH_OTHER_PARAMETERS = 93,
|
|
193
|
+
/** Critical fault */
|
|
194
|
+
COMPUTE_DRIVER_FAULT = 5377,
|
|
195
|
+
/** ALU operation output NaN */
|
|
196
|
+
COMPUTE_DRIVER_ALU_NAN = 5378,
|
|
197
|
+
/** ALU numeric overflow */
|
|
198
|
+
COMPUTE_DRIVER_ALU_OVERFLOW = 5379,
|
|
199
|
+
/** ALU numeric underflow */
|
|
200
|
+
COMPUTE_DRIVER_ALU_UNDERFLOW = 5380,
|
|
201
|
+
/** Overflow during array store */
|
|
202
|
+
COMPUTE_DRIVER_STORE_CONVERSION_OVERFLOW = 5381,
|
|
203
|
+
/** Underflow during array store conversion */
|
|
204
|
+
COMPUTE_DRIVER_STORE_CONVERSION_UNDERFLOW = 5382,
|
|
205
|
+
/** Infinity encountered during array store conversion */
|
|
206
|
+
COMPUTE_DRIVER_STORE_CONVERSION_INFINITY = 5383,
|
|
207
|
+
/** NaN encountered during array store conversion */
|
|
208
|
+
COMPUTE_DRIVER_STORE_CONVERSION_NAN = 5384,
|
|
209
|
+
/** MATH NaN encountered */
|
|
210
|
+
COMPUTE_MATH_NAN = 5394,
|
|
211
|
+
/** MATH Infinity encountered */
|
|
212
|
+
COMPUTE_MATH_INFINITY = 5395,
|
|
213
|
+
/** MATH numeric overflow */
|
|
214
|
+
COMPUTE_MATH_OVERFLOW = 5396,
|
|
215
|
+
/** MATH numeric underflow */
|
|
216
|
+
COMPUTE_MATH_UNDERFLOW = 5397,
|
|
217
|
+
/** Packet is dropped by packet-handoff callbacks */
|
|
218
|
+
ZIGBEE_PACKET_HANDOFF_DROPPED = 3073,
|
|
219
|
+
/** The APS layer attempted to send or deliver a message and failed */
|
|
220
|
+
ZIGBEE_DELIVERY_FAILED = 3074,
|
|
221
|
+
/** The maximum number of in-flight messages ::EMBER_APS_UNICAST_MESSAGE_COUNT has been reached */
|
|
222
|
+
ZIGBEE_MAX_MESSAGE_LIMIT_REACHED = 3075,
|
|
223
|
+
/** The application is trying to delete or overwrite a binding that is in use */
|
|
224
|
+
ZIGBEE_BINDING_IS_ACTIVE = 3076,
|
|
225
|
+
/** The application is trying to overwrite an address table entry that is in use */
|
|
226
|
+
ZIGBEE_ADDRESS_TABLE_ENTRY_IS_ACTIVE = 3077,
|
|
227
|
+
/** After moving, a mobile node's attempt to re-establish contact with the network failed */
|
|
228
|
+
ZIGBEE_MOVE_FAILED = 3078,
|
|
229
|
+
/** The local node ID has changed. The application can get the new node ID by calling ::sl_zigbee_get_node_id() */
|
|
230
|
+
ZIGBEE_NODE_ID_CHANGED = 3079,
|
|
231
|
+
/** The chosen security level is not supported by the stack */
|
|
232
|
+
ZIGBEE_INVALID_SECURITY_LEVEL = 3080,
|
|
233
|
+
/** An error occurred when trying to encrypt at the APS Level */
|
|
234
|
+
ZIGBEE_IEEE_ADDRESS_DISCOVERY_IN_PROGRESS = 3081,
|
|
235
|
+
/** An error occurred when trying to encrypt at the APS Level */
|
|
236
|
+
ZIGBEE_APS_ENCRYPTION_ERROR = 3082,
|
|
237
|
+
/** There was an attempt to form or join a network with security without calling ::sl_zigbee_set_initial_security_state() first */
|
|
238
|
+
ZIGBEE_SECURITY_STATE_NOT_SET = 3083,
|
|
239
|
+
/**
|
|
240
|
+
* There was an attempt to broadcast a key switch too quickly after broadcasting the next network key.
|
|
241
|
+
* The Trust Center must wait at least a period equal to the broadcast timeout so that all routers have a chance
|
|
242
|
+
* to receive the broadcast of the new network key
|
|
243
|
+
*/
|
|
244
|
+
ZIGBEE_TOO_SOON_FOR_SWITCH_KEY = 3084,
|
|
245
|
+
/** The received signature corresponding to the message that was passed to the CBKE Library failed verification and is not valid */
|
|
246
|
+
ZIGBEE_SIGNATURE_VERIFY_FAILURE = 3085,
|
|
247
|
+
/** The message could not be sent because the link key corresponding to the destination is not authorized for use in APS data messages */
|
|
248
|
+
ZIGBEE_KEY_NOT_AUTHORIZED = 3086,
|
|
249
|
+
/** The application tried to use a binding that has been remotely modified and the change has not yet been reported to the application */
|
|
250
|
+
ZIGBEE_BINDING_HAS_CHANGED = 3087,
|
|
251
|
+
/** The EUI of the Trust center has changed due to a successful rejoin after TC Swapout */
|
|
252
|
+
ZIGBEE_TRUST_CENTER_SWAP_EUI_HAS_CHANGED = 3088,
|
|
253
|
+
/** A Trust Center Swapout Rejoin has occurred without the EUI of the TC changing */
|
|
254
|
+
ZIGBEE_TRUST_CENTER_SWAP_EUI_HAS_NOT_CHANGED = 3089,
|
|
255
|
+
/** An attempt to generate random bytes failed because of insufficient random data from the radio */
|
|
256
|
+
ZIGBEE_INSUFFICIENT_RANDOM_DATA = 3090,
|
|
257
|
+
/** A Zigbee route error command frame was received indicating that a source routed message from this node failed en route */
|
|
258
|
+
ZIGBEE_SOURCE_ROUTE_FAILURE = 3091,
|
|
259
|
+
/** 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 */
|
|
260
|
+
ZIGBEE_MANY_TO_ONE_ROUTE_FAILURE = 3092,
|
|
261
|
+
/** 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 */
|
|
262
|
+
ZIGBEE_STACK_AND_HARDWARE_MISMATCH = 3093,
|
|
263
|
+
/** The local PAN ID has changed. The application can get the new PAN ID by calling ::emberGetPanId() */
|
|
264
|
+
ZIGBEE_PAN_ID_CHANGED = 3094,
|
|
265
|
+
/** The channel has changed. */
|
|
266
|
+
ZIGBEE_CHANNEL_CHANGED = 3095,
|
|
267
|
+
/** The network has been opened for joining. */
|
|
268
|
+
ZIGBEE_NETWORK_OPENED = 3096,
|
|
269
|
+
/** The network has been closed for joining. */
|
|
270
|
+
ZIGBEE_NETWORK_CLOSED = 3097,
|
|
271
|
+
/**
|
|
272
|
+
* An attempt was made to join a Secured Network using a pre-configured key, but the Trust Center sent back a
|
|
273
|
+
* Network Key in-the-clear when an encrypted Network Key was required. (::EMBER_REQUIRE_ENCRYPTED_KEY)
|
|
274
|
+
*/
|
|
275
|
+
ZIGBEE_RECEIVED_KEY_IN_THE_CLEAR = 3098,
|
|
276
|
+
/** An attempt was made to join a Secured Network, but the device did not receive a Network Key. */
|
|
277
|
+
ZIGBEE_NO_NETWORK_KEY_RECEIVED = 3099,
|
|
278
|
+
/** After a device joined a Secured Network, a Link Key was requested (::EMBER_GET_LINK_KEY_WHEN_JOINING) but no response was ever received. */
|
|
279
|
+
ZIGBEE_NO_LINK_KEY_RECEIVED = 3100,
|
|
280
|
+
/**
|
|
281
|
+
* An attempt was made to join a Secured Network without a pre-configured key, but the Trust Center sent encrypted data using a
|
|
282
|
+
* pre-configured key.
|
|
283
|
+
*/
|
|
284
|
+
ZIGBEE_PRECONFIGURED_KEY_REQUIRED = 3101,
|
|
285
|
+
/** A Zigbee EZSP error has occured. Track the origin and corresponding EzspStatus for more info. */
|
|
286
|
+
ZIGBEE_EZSP_ERROR = 3102,
|
|
287
|
+
/** Node ID discovery failed. */
|
|
288
|
+
ZIGBEE_ID_DISCOVERY_FAILED = 3103,
|
|
289
|
+
/** Message was sent but no APS ACK received. */
|
|
290
|
+
ZIGBEE_NO_APS_ACK = 3104,
|
|
291
|
+
/** APS message was canceled. */
|
|
292
|
+
ZIGBEE_APS_MESSAGE_CANCELED = 3105,
|
|
293
|
+
/** Node ID discovery not enabled. */
|
|
294
|
+
ZIGBEE_ID_DISCOVERY_NOT_ENABLED = 3106,
|
|
295
|
+
/** Message was not sent, Node ID discovery is underway. */
|
|
296
|
+
ZIGBEE_ID_DISCOVERY_UNDERWAY = 3107,
|
|
297
|
+
/** The message was not sent because a route discovery is currently underway. There is no route to the target until the route discovery completes. */
|
|
298
|
+
ZIGBEE_SEND_UNICAST_ROUTE_DISCOVERY_UNDERWAY = 3108,
|
|
299
|
+
/** Radius is 0 or message has been dropped because route request failed or failed to submit message to tx queue. */
|
|
300
|
+
ZIGBEE_SEND_UNICAST_FAILURE = 3109,
|
|
301
|
+
/** No active route to the destination. */
|
|
302
|
+
ZIGBEE_SEND_UNICAST_NO_ROUTE = 3110,
|
|
303
|
+
/** Broadcast message timeout while waiting for sleepy children to poll. */
|
|
304
|
+
ZIGBEE_BROADCAST_TO_SLEEPY_CHILDREN_TIMEOUT = 3111,
|
|
305
|
+
/** Expected a neighbor to relay the message, but none did. */
|
|
306
|
+
ZIGBEE_BROADCAST_RELAY_FAILED = 3112
|
|
307
|
+
}
|
|
308
|
+
/** Status values used by EZSP. */
|
|
309
|
+
export declare enum EzspStatus {
|
|
310
|
+
/** Success. */
|
|
311
|
+
SUCCESS = 0,
|
|
312
|
+
/** Fatal error. */
|
|
313
|
+
SPI_ERR_FATAL = 16,
|
|
314
|
+
/** The Response frame of the current transaction indicates the NCP has reset. */
|
|
315
|
+
SPI_ERR_NCP_RESET = 17,
|
|
316
|
+
/** The NCP is reporting that the Command frame of the current transaction is oversized (the length byte is too large). */
|
|
317
|
+
SPI_ERR_OVERSIZED_EZSP_FRAME = 18,
|
|
318
|
+
/** The Response frame of the current transaction indicates the previous transaction was aborted (nSSEL deasserted too soon). */
|
|
319
|
+
SPI_ERR_ABORTED_TRANSACTION = 19,
|
|
320
|
+
/** The Response frame of the current transaction indicates the frame terminator is missing from the Command frame. */
|
|
321
|
+
SPI_ERR_MISSING_FRAME_TERMINATOR = 20,
|
|
322
|
+
/** The NCP has not provided a Response within the time limit defined by WAIT_SECTION_TIMEOUT. */
|
|
323
|
+
SPI_ERR_WAIT_SECTION_TIMEOUT = 21,
|
|
324
|
+
/** The Response frame from the NCP is missing the frame terminator. */
|
|
325
|
+
SPI_ERR_NO_FRAME_TERMINATOR = 22,
|
|
326
|
+
/** The Host attempted to send an oversized Command (the length byte is too large) and the AVR's spi-protocol.c blocked the transmission. */
|
|
327
|
+
SPI_ERR_EZSP_COMMAND_OVERSIZED = 23,
|
|
328
|
+
/** The NCP attempted to send an oversized Response (the length byte is too large) and the AVR's spi-protocol.c blocked the reception. */
|
|
329
|
+
SPI_ERR_EZSP_RESPONSE_OVERSIZED = 24,
|
|
330
|
+
/** The Host has sent the Command and is still waiting for the NCP to send a Response. */
|
|
331
|
+
SPI_WAITING_FOR_RESPONSE = 25,
|
|
332
|
+
/** The NCP has not asserted nHOST_INT within the time limit defined by WAKE_HANDSHAKE_TIMEOUT. */
|
|
333
|
+
SPI_ERR_HANDSHAKE_TIMEOUT = 26,
|
|
334
|
+
/** The NCP has not asserted nHOST_INT after an NCP reset within the time limit defined by STARTUP_TIMEOUT. */
|
|
335
|
+
SPI_ERR_STARTUP_TIMEOUT = 27,
|
|
336
|
+
/** The Host attempted to verify the SPI Protocol activity and version number, and the verification failed. */
|
|
337
|
+
SPI_ERR_STARTUP_FAIL = 28,
|
|
338
|
+
/** The Host has sent a command with a SPI Byte that is unsupported by the current mode the NCP is operating in. */
|
|
339
|
+
SPI_ERR_UNSUPPORTED_SPI_COMMAND = 29,
|
|
340
|
+
/** Operation not yet complete. */
|
|
341
|
+
ASH_IN_PROGRESS = 32,
|
|
342
|
+
/** Fatal error detected by host. */
|
|
343
|
+
HOST_FATAL_ERROR = 33,
|
|
344
|
+
/** Fatal error detected by NCP. */
|
|
345
|
+
ASH_NCP_FATAL_ERROR = 34,
|
|
346
|
+
/** Tried to send DATA frame too long. */
|
|
347
|
+
DATA_FRAME_TOO_LONG = 35,
|
|
348
|
+
/** Tried to send DATA frame too short. */
|
|
349
|
+
DATA_FRAME_TOO_SHORT = 36,
|
|
350
|
+
/** No space for tx'ed DATA frame. */
|
|
351
|
+
NO_TX_SPACE = 37,
|
|
352
|
+
/** No space for rec'd DATA frame. */
|
|
353
|
+
NO_RX_SPACE = 38,
|
|
354
|
+
/** No receive data available. */
|
|
355
|
+
NO_RX_DATA = 39,
|
|
356
|
+
/** Not in Connected state. */
|
|
357
|
+
NOT_CONNECTED = 40,
|
|
358
|
+
/** The NCP received a command before the EZSP version had been set. */
|
|
359
|
+
ERROR_VERSION_NOT_SET = 48,
|
|
360
|
+
/** The NCP received a command containing an unsupported frame ID. */
|
|
361
|
+
ERROR_INVALID_FRAME_ID = 49,
|
|
362
|
+
/** The direction flag in the frame control field was incorrect. */
|
|
363
|
+
ERROR_WRONG_DIRECTION = 50,
|
|
364
|
+
/**
|
|
365
|
+
* The truncated flag in the frame control field was set, indicating there was not enough memory available to
|
|
366
|
+
* complete the response or that the response would have exceeded the maximum EZSP frame length.
|
|
367
|
+
*/
|
|
368
|
+
ERROR_TRUNCATED = 51,
|
|
369
|
+
/**
|
|
370
|
+
* The overflow flag in the frame control field was set, indicating one or more callbacks occurred since the previous
|
|
371
|
+
* response and there was not enough memory available to report them to the Host.
|
|
372
|
+
*/
|
|
373
|
+
ERROR_OVERFLOW = 52,
|
|
374
|
+
/** Insufficient memory was available. */
|
|
375
|
+
ERROR_OUT_OF_MEMORY = 53,
|
|
376
|
+
/** The value was out of bounds. */
|
|
377
|
+
ERROR_INVALID_VALUE = 54,
|
|
378
|
+
/** The configuration id was not recognized. */
|
|
379
|
+
ERROR_INVALID_ID = 55,
|
|
380
|
+
/** Configuration values can no longer be modified. */
|
|
381
|
+
ERROR_INVALID_CALL = 56,
|
|
382
|
+
/** The NCP failed to respond to a command. */
|
|
383
|
+
ERROR_NO_RESPONSE = 57,
|
|
384
|
+
/** The length of the command exceeded the maximum EZSP frame length. */
|
|
385
|
+
ERROR_COMMAND_TOO_LONG = 64,
|
|
386
|
+
/** The UART receive queue was full causing a callback response to be dropped. */
|
|
387
|
+
ERROR_QUEUE_FULL = 65,
|
|
388
|
+
/** The command has been filtered out by NCP. */
|
|
389
|
+
ERROR_COMMAND_FILTERED = 66,
|
|
390
|
+
/** EZSP Security Key is already set */
|
|
391
|
+
ERROR_SECURITY_KEY_ALREADY_SET = 67,
|
|
392
|
+
/** EZSP Security Type is invalid */
|
|
393
|
+
ERROR_SECURITY_TYPE_INVALID = 68,
|
|
394
|
+
/** EZSP Security Parameters are invalid */
|
|
395
|
+
ERROR_SECURITY_PARAMETERS_INVALID = 69,
|
|
396
|
+
/** EZSP Security Parameters are already set */
|
|
397
|
+
ERROR_SECURITY_PARAMETERS_ALREADY_SET = 70,
|
|
398
|
+
/** EZSP Security Key is not set */
|
|
399
|
+
ERROR_SECURITY_KEY_NOT_SET = 71,
|
|
400
|
+
/** EZSP Security Parameters are not set */
|
|
401
|
+
ERROR_SECURITY_PARAMETERS_NOT_SET = 72,
|
|
402
|
+
/** Received frame with unsupported control byte */
|
|
403
|
+
ERROR_UNSUPPORTED_CONTROL = 73,
|
|
404
|
+
/** Received frame is unsecure, when security is established */
|
|
405
|
+
ERROR_UNSECURE_FRAME = 74,
|
|
406
|
+
/** Incompatible ASH version */
|
|
407
|
+
ASH_ERROR_VERSION = 80,
|
|
408
|
+
/** Exceeded max ACK timeouts */
|
|
409
|
+
ASH_ERROR_TIMEOUTS = 81,
|
|
410
|
+
/** Timed out waiting for RSTACK */
|
|
411
|
+
ASH_ERROR_RESET_FAIL = 82,
|
|
412
|
+
/** Unexpected ncp reset */
|
|
413
|
+
ASH_ERROR_NCP_RESET = 83,
|
|
414
|
+
/** Serial port initialization failed */
|
|
415
|
+
ERROR_SERIAL_INIT = 84,
|
|
416
|
+
/** Invalid ncp processor type */
|
|
417
|
+
ASH_ERROR_NCP_TYPE = 85,
|
|
418
|
+
/** Invalid ncp reset method */
|
|
419
|
+
ASH_ERROR_RESET_METHOD = 86,
|
|
420
|
+
/** XON/XOFF not supported by host driver */
|
|
421
|
+
ASH_ERROR_XON_XOFF = 87,
|
|
422
|
+
/** ASH protocol started */
|
|
423
|
+
ASH_STARTED = 112,
|
|
424
|
+
/** ASH protocol connected */
|
|
425
|
+
ASH_CONNECTED = 113,
|
|
426
|
+
/** ASH protocol disconnected */
|
|
427
|
+
ASH_DISCONNECTED = 114,
|
|
428
|
+
/** Timer expired waiting for ack */
|
|
429
|
+
ASH_ACK_TIMEOUT = 115,
|
|
430
|
+
/** Frame in progress cancelled */
|
|
431
|
+
ASH_CANCELLED = 116,
|
|
432
|
+
/** Received frame out of sequence */
|
|
433
|
+
ASH_OUT_OF_SEQUENCE = 117,
|
|
434
|
+
/** Received frame with CRC error */
|
|
435
|
+
ASH_BAD_CRC = 118,
|
|
436
|
+
/** Received frame with comm error */
|
|
437
|
+
ASH_COMM_ERROR = 119,
|
|
438
|
+
/** Received frame with bad ackNum */
|
|
439
|
+
ASH_BAD_ACKNUM = 120,
|
|
440
|
+
/** Received frame shorter than minimum */
|
|
441
|
+
ASH_TOO_SHORT = 121,
|
|
442
|
+
/** Received frame longer than maximum */
|
|
443
|
+
ASH_TOO_LONG = 122,
|
|
444
|
+
/** Received frame with illegal control byte */
|
|
445
|
+
ASH_BAD_CONTROL = 123,
|
|
446
|
+
/** Received frame with illegal length for its type */
|
|
447
|
+
ASH_BAD_LENGTH = 124,
|
|
448
|
+
/** Received ASH Ack */
|
|
449
|
+
ASH_ACK_RECEIVED = 125,
|
|
450
|
+
/** Sent ASH Ack */
|
|
451
|
+
ASH_ACK_SENT = 126,
|
|
452
|
+
/** Received ASH Nak */
|
|
453
|
+
ASH_NAK_RECEIVED = 127,
|
|
454
|
+
/** Sent ASH Nak */
|
|
455
|
+
ASH_NAK_SENT = 128,
|
|
456
|
+
/** Received ASH RST */
|
|
457
|
+
ASH_RST_RECEIVED = 129,
|
|
458
|
+
/** Sent ASH RST */
|
|
459
|
+
ASH_RST_SENT = 130,
|
|
460
|
+
/** ASH Status */
|
|
461
|
+
ASH_STATUS = 131,
|
|
462
|
+
/** ASH TX */
|
|
463
|
+
ASH_TX = 132,
|
|
464
|
+
/** ASH RX */
|
|
465
|
+
ASH_RX = 133,
|
|
466
|
+
/** Failed to connect to CPC daemon or failed to open CPC endpoint */
|
|
467
|
+
CPC_ERROR_INIT = 134,
|
|
468
|
+
/** No reset or error */
|
|
469
|
+
NO_ERROR = 255
|
|
470
|
+
}
|
|
471
|
+
export declare enum EmberStackError {
|
|
472
|
+
ROUTE_ERROR_NO_ROUTE_AVAILABLE = 0,
|
|
473
|
+
ROUTE_ERROR_TREE_LINK_FAILURE = 1,
|
|
474
|
+
ROUTE_ERROR_NON_TREE_LINK_FAILURE = 2,
|
|
475
|
+
ROUTE_ERROR_LOW_BATTERY_LEVEL = 3,
|
|
476
|
+
ROUTE_ERROR_NO_ROUTING_CAPACITY = 4,
|
|
477
|
+
ROUTE_ERROR_NO_INDIRECT_CAPACITY = 5,
|
|
478
|
+
ROUTE_ERROR_INDIRECT_TRANSACTION_EXPIRY = 6,
|
|
479
|
+
ROUTE_ERROR_TARGET_DEVICE_UNAVAILABLE = 7,
|
|
480
|
+
ROUTE_ERROR_TARGET_ADDRESS_UNALLOCATED = 8,
|
|
481
|
+
ROUTE_ERROR_PARENT_LINK_FAILURE = 9,
|
|
482
|
+
ROUTE_ERROR_VALIDATE_ROUTE = 10,
|
|
483
|
+
ROUTE_ERROR_SOURCE_ROUTE_FAILURE = 11,
|
|
484
|
+
ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE = 12,
|
|
485
|
+
ROUTE_ERROR_ADDRESS_CONFLICT = 13,
|
|
486
|
+
ROUTE_ERROR_VERIFY_ADDRESSES = 14,
|
|
487
|
+
ROUTE_ERROR_PAN_IDENTIFIER_UPDATE = 15,
|
|
488
|
+
NETWORK_STATUS_NETWORK_ADDRESS_UPDATE = 16,
|
|
489
|
+
NETWORK_STATUS_BAD_FRAME_COUNTER = 17,
|
|
490
|
+
NETWORK_STATUS_BAD_KEY_SEQUENCE_NUMBER = 18,
|
|
491
|
+
NETWORK_STATUS_UNKNOWN_COMMAND = 19
|
|
492
|
+
}
|
|
493
|
+
export declare enum EmberGPStatus {
|
|
494
|
+
/** Success Status */
|
|
495
|
+
OK = 0,
|
|
496
|
+
/** Match Frame */
|
|
497
|
+
MATCH = 1,
|
|
498
|
+
/** Drop Frame */
|
|
499
|
+
DROP_FRAME = 2,
|
|
500
|
+
/** Frame Unprocessed */
|
|
501
|
+
UNPROCESSED = 3,
|
|
502
|
+
/** Frame Pass Unprocessed */
|
|
503
|
+
PASS_UNPROCESSED = 4,
|
|
504
|
+
/** Frame TX Then Drop */
|
|
505
|
+
TX_THEN_DROP = 5,
|
|
506
|
+
/** No Security */
|
|
507
|
+
NO_SECURITY = 6,
|
|
508
|
+
/** Security Failure */
|
|
509
|
+
AUTH_FAILURE = 7
|
|
510
|
+
}
|
|
511
|
+
/** Type of Ember software version */
|
|
512
|
+
export declare enum EmberVersionType {
|
|
513
|
+
PRE_RELEASE = 0,
|
|
514
|
+
ALPHA_1 = 17,
|
|
515
|
+
ALPHA_2 = 18,
|
|
516
|
+
ALPHA_3 = 19,
|
|
517
|
+
BETA_1 = 33,
|
|
518
|
+
BETA_2 = 34,
|
|
519
|
+
BETA_3 = 35,
|
|
520
|
+
GA = 170
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
* For emberSetTxPowerMode and mfglibSetPower.
|
|
524
|
+
* uint16_t
|
|
525
|
+
*/
|
|
526
|
+
export declare enum EmberTXPowerMode {
|
|
527
|
+
/**
|
|
528
|
+
* The application should call ::emberSetTxPowerMode() with the
|
|
529
|
+
* txPowerMode parameter set to this value to disable all power mode options,
|
|
530
|
+
* resulting in normal power mode and bi-directional RF transmitter output.
|
|
531
|
+
*/
|
|
532
|
+
DEFAULT = 0,
|
|
533
|
+
/**
|
|
534
|
+
* The application should call ::emberSetTxPowerMode() with the
|
|
535
|
+
* txPowerMode parameter set to this value to enable boost power mode.
|
|
536
|
+
*/
|
|
537
|
+
BOOST = 1,
|
|
538
|
+
/**
|
|
539
|
+
* The application should call ::emberSetTxPowerMode() with the
|
|
540
|
+
* txPowerMode parameter set to this value to enable the alternate transmitter
|
|
541
|
+
* output.
|
|
542
|
+
*/
|
|
543
|
+
ALTERNATE = 2,
|
|
544
|
+
/**
|
|
545
|
+
* The application should call ::emberSetTxPowerMode() with the
|
|
546
|
+
* txPowerMode parameter set to this value to enable both boost mode and the
|
|
547
|
+
* alternate transmitter output.
|
|
548
|
+
*/
|
|
549
|
+
BOOST_AND_ALTERNATE = 3,// (BOOST | ALTERNATE)
|
|
550
|
+
USE_TOKEN = 32768
|
|
551
|
+
}
|
|
552
|
+
/** uint8_t */
|
|
553
|
+
export declare enum EmberKeepAliveMode {
|
|
554
|
+
KEEP_ALIVE_SUPPORT_UNKNOWN = 0,
|
|
555
|
+
MAC_DATA_POLL_KEEP_ALIVE = 1,
|
|
556
|
+
END_DEVICE_TIMEOUT_KEEP_ALIVE = 2,
|
|
557
|
+
KEEP_ALIVE_SUPPORT_ALL = 3
|
|
558
|
+
}
|
|
559
|
+
/** This is the Extended Security Bitmask that controls the use of various extended security features. */
|
|
560
|
+
export declare enum EmberExtendedSecurityBitmask {
|
|
561
|
+
/**
|
|
562
|
+
* If this bit is set, the 'key token data' field is set in the Initial Security Bitmask to 0 (No Preconfig Key token).
|
|
563
|
+
* Otherwise, the field is left as is.
|
|
564
|
+
*/
|
|
565
|
+
PRECONFIG_KEY_NOT_VALID = 1,
|
|
566
|
+
/**
|
|
567
|
+
* This denotes that the network key update can only happen if the network key update request is unicast and encrypted
|
|
568
|
+
* i.e. broadcast network key update requests will not be processed if bit 1 is set
|
|
569
|
+
*/
|
|
570
|
+
SECURE_NETWORK_KEY_ROTATION = 2,
|
|
571
|
+
/** This denotes whether a joiner node (router or end-device) uses a Global Link Key or a Unique Link Key. */
|
|
572
|
+
JOINER_GLOBAL_LINK_KEY = 16,
|
|
573
|
+
/**
|
|
574
|
+
* This denotes whether the device's outgoing frame counter is allowed to be reset during forming or joining.
|
|
575
|
+
* If the flag is set, the outgoing frame counter is not allowed to be reset.
|
|
576
|
+
* If the flag is not set, the frame counter is allowed to be reset.
|
|
577
|
+
*/
|
|
578
|
+
EXT_NO_FRAME_COUNTER_RESET = 32,
|
|
579
|
+
/** This denotes whether a device should discard or accept network leave without rejoin commands. */
|
|
580
|
+
NWK_LEAVE_WITHOUT_REJOIN_NOT_ALLOWED = 64,
|
|
581
|
+
/** This denotes whether a router node should discard or accept network Leave Commands. */
|
|
582
|
+
NWK_LEAVE_REQUEST_NOT_ALLOWED = 256,
|
|
583
|
+
/**
|
|
584
|
+
* This denotes whether a node is running the latest stack specification or is emulating R18 specs behavior.
|
|
585
|
+
* If this flag is enabled, a router node should only send encrypted Update Device messages while the TC
|
|
586
|
+
* should only accept encrypted Updated Device messages.
|
|
587
|
+
*/
|
|
588
|
+
R18_STACK_BEHAVIOR = 512,
|
|
589
|
+
ZDO_LEAVE_FROM_NON_PARENT_NOT_ALLOWED = 4096
|
|
590
|
+
}
|
|
591
|
+
/** This is the Initial Security Bitmask that controls the use of various security features. */
|
|
592
|
+
export declare enum EmberInitialSecurityBitmask {
|
|
593
|
+
/** Enables Distributed Trust Center Mode for the device forming the network. (Previously known as ::EMBER_NO_TRUST_CENTER_MODE) */
|
|
594
|
+
DISTRIBUTED_TRUST_CENTER_MODE = 2,
|
|
595
|
+
/** Enables a Global Link Key for the Trust Center. All nodes will share the same Trust Center Link Key. */
|
|
596
|
+
TRUST_CENTER_GLOBAL_LINK_KEY = 4,
|
|
597
|
+
/** Enables devices that perform MAC Association with a pre-configured Network Key to join the network. It is only set on the Trust Center. */
|
|
598
|
+
PRECONFIGURED_NETWORK_KEY_MODE = 8,
|
|
599
|
+
HAVE_TRUST_CENTER_UNKNOWN_KEY_TOKEN = 16,
|
|
600
|
+
HAVE_TRUST_CENTER_LINK_KEY_TOKEN = 32,
|
|
601
|
+
/**
|
|
602
|
+
* This denotes that the ::EmberInitialSecurityState::preconfiguredTrustCenterEui64 has a value in it containing the trust center EUI64.
|
|
603
|
+
* The device will only join a network and accept commands from a trust center with that EUI64.
|
|
604
|
+
* Normally this bit is NOT set and the EUI64 of the trust center is learned during the join process.
|
|
605
|
+
* When commissioning a device to join onto an existing network that is using a trust center and without sending any messages,
|
|
606
|
+
* this bit must be set and the field ::EmberInitialSecurityState::preconfiguredTrustCenterEui64 must be populated with the appropriate EUI64.
|
|
607
|
+
*/
|
|
608
|
+
HAVE_TRUST_CENTER_EUI64 = 64,
|
|
609
|
+
/**
|
|
610
|
+
* This denotes that the ::EmberInitialSecurityState::preconfiguredKey is not the actual Link Key but a Root Key known only to the Trust Center.
|
|
611
|
+
* It is hashed with the IEEE Address of the destination device to create the actual Link Key used in encryption.
|
|
612
|
+
* This is bit is only used by the Trust Center. The joining device need not set this.
|
|
613
|
+
*/
|
|
614
|
+
TRUST_CENTER_USES_HASHED_LINK_KEY = 132,
|
|
615
|
+
/**
|
|
616
|
+
* This denotes that the ::EmberInitialSecurityState::preconfiguredKey element has valid data that should be used to configure
|
|
617
|
+
* the initial security state.
|
|
618
|
+
*/
|
|
619
|
+
HAVE_PRECONFIGURED_KEY = 256,
|
|
620
|
+
/**
|
|
621
|
+
* This denotes that the ::EmberInitialSecurityState::networkKey element has valid data that should be used to configure
|
|
622
|
+
* the initial security state.
|
|
623
|
+
*/
|
|
624
|
+
HAVE_NETWORK_KEY = 512,
|
|
625
|
+
/**
|
|
626
|
+
* This denotes to a joining node that it should attempt to acquire a Trust Center Link Key during joining.
|
|
627
|
+
* This is necessary if the device does not have a pre-configured key, or wants to obtain a new one
|
|
628
|
+
* (since it may be using a well-known key during joining).
|
|
629
|
+
*/
|
|
630
|
+
GET_LINK_KEY_WHEN_JOINING = 1024,
|
|
631
|
+
/**
|
|
632
|
+
* This denotes that a joining device should only accept an encrypted network key from the Trust Center (using its pre-configured key).
|
|
633
|
+
* A key sent in-the-clear by the Trust Center will be rejected and the join will fail.
|
|
634
|
+
* This option is only valid when using a pre-configured key.
|
|
635
|
+
*/
|
|
636
|
+
REQUIRE_ENCRYPTED_KEY = 2048,
|
|
637
|
+
/**
|
|
638
|
+
* This denotes whether the device should NOT reset its outgoing frame counters (both NWK and APS) when
|
|
639
|
+
* ::emberSetInitialSecurityState() is called.
|
|
640
|
+
* Normally it is advised to reset the frame counter before joining a new network.
|
|
641
|
+
* However, when a device is joining to the same network again (but not using ::emberRejoinNetwork()),
|
|
642
|
+
* it should keep the NWK and APS frame counters stored in its tokens.
|
|
643
|
+
*
|
|
644
|
+
* NOTE: The application is allowed to dynamically change the behavior via EMBER_EXT_NO_FRAME_COUNTER_RESET field.
|
|
645
|
+
*/
|
|
646
|
+
NO_FRAME_COUNTER_RESET = 4096,
|
|
647
|
+
/**
|
|
648
|
+
* This denotes that the device should obtain its pre-configured key from an installation code stored in the manufacturing token.
|
|
649
|
+
* The token contains a value that will be hashed to obtain the actual pre-configured key.
|
|
650
|
+
* If that token is not valid, the call to ::emberSetInitialSecurityState() will fail.
|
|
651
|
+
*/
|
|
652
|
+
GET_PRECONFIGURED_KEY_FROM_INSTALL_CODE = 8192,
|
|
653
|
+
EM_SAVED_IN_TOKEN = 16384
|
|
654
|
+
}
|
|
655
|
+
/** Either marks an event as inactive or specifies the units for the event execution time. uint8_t */
|
|
656
|
+
export declare enum EmberEventUnits {
|
|
657
|
+
/** The event is not scheduled to run. */
|
|
658
|
+
INACTIVE = 0,
|
|
659
|
+
/** The execution time is in approximate milliseconds. */
|
|
660
|
+
MS_TIME = 1,
|
|
661
|
+
/** The execution time is in 'binary' quarter seconds (256 approximate milliseconds each). */
|
|
662
|
+
QS_TIME = 2,
|
|
663
|
+
/** The execution time is in 'binary' minutes (65536 approximate milliseconds each). */
|
|
664
|
+
MINUTE_TIME = 3,
|
|
665
|
+
/** The event is scheduled to run at the earliest opportunity. */
|
|
666
|
+
ZERO_DELAY = 4
|
|
667
|
+
}
|
|
668
|
+
/**
|
|
669
|
+
* Defines the events reported to the application by the ::emberCounterHandler().
|
|
670
|
+
* Usage of the destinationNodeId or data fields found in the EmberCounterInfo or EmberExtraCounterInfo
|
|
671
|
+
* structs is denoted for counter types that use them.
|
|
672
|
+
* (See comments accompanying enum definitions in this source file for details.)
|
|
673
|
+
*/
|
|
674
|
+
export declare enum EmberCounterType {
|
|
675
|
+
/**
|
|
676
|
+
* The MAC received a broadcast Data frame, Command frame, or Beacon.
|
|
677
|
+
* - destinationNodeId: BROADCAST_ADDRESS or Data frames or sender node ID for Beacon frames
|
|
678
|
+
* - data: not used
|
|
679
|
+
*/
|
|
680
|
+
MAC_RX_BROADCAST = 0,
|
|
681
|
+
/**
|
|
682
|
+
* The MAC transmitted a broadcast Data frame, Command frame or Beacon.
|
|
683
|
+
* - destinationNodeId: BROADCAST_ADDRESS
|
|
684
|
+
* - data: not used
|
|
685
|
+
*/
|
|
686
|
+
MAC_TX_BROADCAST = 1,
|
|
687
|
+
/**
|
|
688
|
+
* The MAC received a unicast Data or Command frame.
|
|
689
|
+
* - destinationNodeId: MAC layer source or EMBER_UNKNOWN_NODE_ID if no 16-bit source node ID is present in the frame
|
|
690
|
+
* - data: not used
|
|
691
|
+
*/
|
|
692
|
+
MAC_RX_UNICAST = 2,
|
|
693
|
+
/**
|
|
694
|
+
* The MAC successfully transmitted a unicast Data or Command frame.
|
|
695
|
+
* Note: Only frames with a 16-bit destination node ID are counted.
|
|
696
|
+
* - destinationNodeId: MAC layer destination address
|
|
697
|
+
* - data: not used
|
|
698
|
+
*/
|
|
699
|
+
MAC_TX_UNICAST_SUCCESS = 3,
|
|
700
|
+
/**
|
|
701
|
+
* The MAC retried a unicast Data or Command frame after initial Tx attempt.
|
|
702
|
+
* Note: CSMA-related failures are tracked separately via PHY_CCA_FAIL_COUNT.
|
|
703
|
+
* - destinationNodeId: MAC layer destination or EMBER_UNKNOWN_NODE_ID if no 16-bit destination node ID is present in the frame
|
|
704
|
+
* - data: number of retries (after initial Tx attempt) accumulated so far for this packet. (Should always be >0.)
|
|
705
|
+
*/
|
|
706
|
+
MAC_TX_UNICAST_RETRY = 4,
|
|
707
|
+
/**
|
|
708
|
+
* The MAC unsuccessfully transmitted a unicast Data or Command frame.
|
|
709
|
+
* Note: Only frames with a 16-bit destination node ID are counted.
|
|
710
|
+
* - destinationNodeId: MAC layer destination address
|
|
711
|
+
* - data: not used
|
|
712
|
+
*/
|
|
713
|
+
MAC_TX_UNICAST_FAILED = 5,
|
|
714
|
+
/**
|
|
715
|
+
* The APS layer received a data broadcast.
|
|
716
|
+
* - destinationNodeId: sender's node ID
|
|
717
|
+
* - data: not used
|
|
718
|
+
*/
|
|
719
|
+
APS_DATA_RX_BROADCAST = 6,
|
|
720
|
+
/** The APS layer transmitted a data broadcast. */
|
|
721
|
+
APS_DATA_TX_BROADCAST = 7,
|
|
722
|
+
/**
|
|
723
|
+
* The APS layer received a data unicast.
|
|
724
|
+
* - destinationNodeId: sender's node ID
|
|
725
|
+
* - data: not used
|
|
726
|
+
*/
|
|
727
|
+
APS_DATA_RX_UNICAST = 8,
|
|
728
|
+
/**
|
|
729
|
+
* The APS layer successfully transmitted a data unicast.
|
|
730
|
+
* - destinationNodeId: NWK destination address
|
|
731
|
+
* - data: number of APS retries (>=0) consumed for this unicast.
|
|
732
|
+
*/
|
|
733
|
+
APS_DATA_TX_UNICAST_SUCCESS = 9,
|
|
734
|
+
/**
|
|
735
|
+
* The APS layer retried a unicast Data frame.
|
|
736
|
+
* This is a placeholder and is not used by the @c ::emberCounterHandler() callback.
|
|
737
|
+
* Instead, the number of APS retries are returned in the data parameter of the callback
|
|
738
|
+
* for the @c ::APS_DATA_TX_UNICAST_SUCCESS and @c ::APS_DATA_TX_UNICAST_FAILED types.
|
|
739
|
+
* However, our supplied Counters component code will attempt to collect this information
|
|
740
|
+
* from the aforementioned counters and populate this counter.
|
|
741
|
+
* Note that this counter's behavior differs from that of @c ::MAC_TX_UNICAST_RETRY .
|
|
742
|
+
*/
|
|
743
|
+
APS_DATA_TX_UNICAST_RETRY = 10,
|
|
744
|
+
/**
|
|
745
|
+
* The APS layer unsuccessfully transmitted a data unicast.
|
|
746
|
+
* - destinationNodeId: NWK destination address
|
|
747
|
+
* - data: number of APS retries (>=0) consumed for this unicast.
|
|
748
|
+
*/
|
|
749
|
+
APS_DATA_TX_UNICAST_FAILED = 11,
|
|
750
|
+
/** The network layer successfully submitted a new route discovery to the MAC. */
|
|
751
|
+
ROUTE_DISCOVERY_INITIATED = 12,
|
|
752
|
+
/** An entry was added to the neighbor table. */
|
|
753
|
+
NEIGHBOR_ADDED = 13,
|
|
754
|
+
/** An entry was removed from the neighbor table. */
|
|
755
|
+
NEIGHBOR_REMOVED = 14,
|
|
756
|
+
/** A neighbor table entry became stale because it had not been heard from. */
|
|
757
|
+
NEIGHBOR_STALE = 15,
|
|
758
|
+
/**
|
|
759
|
+
* A node joined or rejoined to the network via this node.
|
|
760
|
+
* - destinationNodeId: node ID of child
|
|
761
|
+
* - data: not used
|
|
762
|
+
*/
|
|
763
|
+
JOIN_INDICATION = 16,
|
|
764
|
+
/**
|
|
765
|
+
* An entry was removed from the child table.
|
|
766
|
+
* - destinationNodeId: node ID of child
|
|
767
|
+
* - data: not used
|
|
768
|
+
*/
|
|
769
|
+
CHILD_REMOVED = 17,
|
|
770
|
+
/** EZSP-UART only. An overflow error occurred in the UART. */
|
|
771
|
+
ASH_OVERFLOW_ERROR = 18,
|
|
772
|
+
/** EZSP-UART only. A framing error occurred in the UART. */
|
|
773
|
+
ASH_FRAMING_ERROR = 19,
|
|
774
|
+
/** EZSP-UART only. An overrun error occurred in the UART. */
|
|
775
|
+
ASH_OVERRUN_ERROR = 20,
|
|
776
|
+
/** A message was dropped at the Network layer because the NWK frame counter was not higher than the last message seen from that source. */
|
|
777
|
+
NWK_FRAME_COUNTER_FAILURE = 21,
|
|
778
|
+
/**
|
|
779
|
+
* A message was dropped at the APS layer because the APS frame counter was not higher than the last message seen from that source.
|
|
780
|
+
* - destinationNodeId: node ID of MAC source that relayed the message
|
|
781
|
+
* - data: not used
|
|
782
|
+
*/
|
|
783
|
+
APS_FRAME_COUNTER_FAILURE = 22,
|
|
784
|
+
/** EZSP-UART only. An XOFF was transmitted by the UART. */
|
|
785
|
+
ASH_XOFF = 23,
|
|
786
|
+
/**
|
|
787
|
+
* An encrypted message was dropped by the APS layer because the sender's key has not been authenticated.
|
|
788
|
+
* As a result, the key is not authorized for use in APS data messages.
|
|
789
|
+
* - destinationNodeId: EMBER_NULL_NODE_ID
|
|
790
|
+
* - data: APS key table index related to the sender
|
|
791
|
+
*/
|
|
792
|
+
APS_LINK_KEY_NOT_AUTHORIZED = 24,
|
|
793
|
+
/**
|
|
794
|
+
* A NWK encrypted message was received but dropped because decryption failed.
|
|
795
|
+
* - destinationNodeId: sender of the dropped packet
|
|
796
|
+
* - data: not used
|
|
797
|
+
*/
|
|
798
|
+
NWK_DECRYPTION_FAILURE = 25,
|
|
799
|
+
/**
|
|
800
|
+
* An APS encrypted message was received but dropped because decryption failed.
|
|
801
|
+
* - destinationNodeId: sender of the dropped packet
|
|
802
|
+
* - data: not used
|
|
803
|
+
*/
|
|
804
|
+
APS_DECRYPTION_FAILURE = 26,
|
|
805
|
+
/**
|
|
806
|
+
* The number of failures to allocate a set of linked packet buffers.
|
|
807
|
+
* This doesn't necessarily mean that the packet buffer count was 0 at the time,
|
|
808
|
+
* but that the number requested was greater than the number free.
|
|
809
|
+
*/
|
|
810
|
+
ALLOCATE_PACKET_BUFFER_FAILURE = 27,
|
|
811
|
+
/**
|
|
812
|
+
* The number of relayed unicast packets.
|
|
813
|
+
* - destinationId: NWK layer destination address of relayed packet
|
|
814
|
+
* - data: not used
|
|
815
|
+
*/
|
|
816
|
+
RELAYED_UNICAST = 28,
|
|
817
|
+
/**
|
|
818
|
+
* The number of times a packet was dropped due to reaching the preset PHY-to-MAC queue limit (sli_mac_phy_to_mac_queue_length).
|
|
819
|
+
* The limit will determine how many messages are accepted by the PHY between calls to emberTick().
|
|
820
|
+
* After that limit is reached, packets will be dropped. The counter records the number of dropped packets.
|
|
821
|
+
*
|
|
822
|
+
* NOTE: For each call to emberCounterHandler() there may be more than 1 packet that was dropped due to the limit reached.
|
|
823
|
+
* The actual number of packets dropped will be returned in the 'data' parameter passed to that function.
|
|
824
|
+
*
|
|
825
|
+
* - destinationNodeId: not used
|
|
826
|
+
* - data: number of dropped packets represented by this counter event
|
|
827
|
+
* - phyIndex: present
|
|
828
|
+
*/
|
|
829
|
+
PHY_TO_MAC_QUEUE_LIMIT_REACHED = 29,
|
|
830
|
+
/**
|
|
831
|
+
* The number of times a packet was dropped due to the packet-validate library checking a packet
|
|
832
|
+
* and rejecting it due to length or other formatting problems.
|
|
833
|
+
* - destinationNodeId: not used
|
|
834
|
+
* - data: type of validation condition that failed
|
|
835
|
+
*/
|
|
836
|
+
PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 30,
|
|
837
|
+
/**
|
|
838
|
+
* The number of times the NWK retry queue is full and a new message failed to be added.
|
|
839
|
+
* - destinationNodeId; not used
|
|
840
|
+
* - data: NWK retry queue size that has been exceeded
|
|
841
|
+
*/
|
|
842
|
+
TYPE_NWK_RETRY_OVERFLOW = 31,
|
|
843
|
+
/**
|
|
844
|
+
* The number of times the PHY layer was unable to transmit due to a failed CCA (Clear Channel Assessment) attempt.
|
|
845
|
+
* See also: MAC_TX_UNICAST_RETRY.
|
|
846
|
+
* - destinationNodeId: MAC layer destination or EMBER_UNKNOWN_NODE_ID if no 16-bit destination node ID is present in the frame
|
|
847
|
+
* - data: not used
|
|
848
|
+
*/
|
|
849
|
+
PHY_CCA_FAIL_COUNT = 32,
|
|
850
|
+
/** The number of times a NWK broadcast was dropped because the broadcast table was full. */
|
|
851
|
+
BROADCAST_TABLE_FULL = 33,
|
|
852
|
+
/** The number of times a low-priority packet traffic arbitration request has been made. */
|
|
853
|
+
PTA_LO_PRI_REQUESTED = 34,
|
|
854
|
+
/** The number of times a high-priority packet traffic arbitration request has been made. */
|
|
855
|
+
PTA_HI_PRI_REQUESTED = 35,
|
|
856
|
+
/** The number of times a low-priority packet traffic arbitration request has been denied. */
|
|
857
|
+
PTA_LO_PRI_DENIED = 36,
|
|
858
|
+
/** The number of times a high-priority packet traffic arbitration request has been denied. */
|
|
859
|
+
PTA_HI_PRI_DENIED = 37,
|
|
860
|
+
/** The number of times a low-priority packet traffic arbitration transmission has been aborted. */
|
|
861
|
+
PTA_LO_PRI_TX_ABORTED = 38,
|
|
862
|
+
/** The number of times a high-priority packet traffic arbitration transmission has been aborted. */
|
|
863
|
+
PTA_HI_PRI_TX_ABORTED = 39,
|
|
864
|
+
/** The number of times an address conflict has caused node_id change, and an address conflict error is sent. */
|
|
865
|
+
ADDRESS_CONFLICT_SENT = 40,
|
|
866
|
+
/** The number of times CSL failed to schedule Rx on target */
|
|
867
|
+
CSL_RX_SCHEDULE_FAILED = 41,
|
|
868
|
+
/** A placeholder giving the number of Ember counter types. */
|
|
869
|
+
COUNT = 42
|
|
870
|
+
}
|
|
871
|
+
/** An enumerated list of library identifiers. */
|
|
872
|
+
export declare enum EmberLibraryId {
|
|
873
|
+
FIRST = 0,
|
|
874
|
+
ZIGBEE_PRO = 0,
|
|
875
|
+
BINDING = 1,
|
|
876
|
+
END_DEVICE_BIND = 2,
|
|
877
|
+
SECURITY_CORE = 3,
|
|
878
|
+
SECURITY_LINK_KEYS = 4,
|
|
879
|
+
ALARM = 5,
|
|
880
|
+
CBKE = 6,
|
|
881
|
+
CBKE_DSA_SIGN = 7,
|
|
882
|
+
ECC = 8,
|
|
883
|
+
CBKE_DSA_VERIFY = 9,
|
|
884
|
+
PACKET_VALIDATE = 10,
|
|
885
|
+
INSTALL_CODE = 11,
|
|
886
|
+
ZLL = 12,
|
|
887
|
+
CBKE_283K1 = 13,
|
|
888
|
+
ECC_283K1 = 14,
|
|
889
|
+
CBKE_CORE = 15,
|
|
890
|
+
NCP = 16,
|
|
891
|
+
MULTI_NETWORK = 17,
|
|
892
|
+
ENHANCED_BEACON_REQUEST = 18,
|
|
893
|
+
CBKE_283K1_DSA_VERIFY = 19,
|
|
894
|
+
MULTI_PAN = 20,
|
|
895
|
+
NUMBER_OF_LIBRARIES = 21,
|
|
896
|
+
NULL = 255
|
|
897
|
+
}
|
|
898
|
+
/** This indicates the presence, absence, or status of an Ember stack library. */
|
|
899
|
+
export declare enum EmberLibraryStatus {
|
|
900
|
+
LIBRARY_PRESENT_MASK = 128,
|
|
901
|
+
LIBRARY_IS_STUB = 0,
|
|
902
|
+
LIBRARY_ERROR = 255,
|
|
903
|
+
/** no router capability */
|
|
904
|
+
ZIGBEE_PRO_LIBRARY_END_DEVICE_ONLY = 0,
|
|
905
|
+
ZIGBEE_PRO_LIBRARY_HAVE_ROUTER_CAPABILITY = 1,
|
|
906
|
+
ZIGBEE_PRO_LIBRARY_ZLL_SUPPORT = 2,
|
|
907
|
+
SECURITY_LIBRARY_END_DEVICE_ONLY = 0,
|
|
908
|
+
/** router or trust center support */
|
|
909
|
+
SECURITY_LIBRARY_HAVE_ROUTER_SUPPORT = 1,
|
|
910
|
+
PACKET_VALIDATE_LIBRARY_DISABLED = 0,
|
|
911
|
+
PACKET_VALIDATE_LIBRARY_ENABLED = 1,
|
|
912
|
+
PACKET_VALIDATE_LIBRARY_ENABLE_MASK = 1
|
|
913
|
+
}
|
|
914
|
+
/** Defines the entropy source used by the stack. */
|
|
915
|
+
export declare enum EmberEntropySource {
|
|
916
|
+
/** Error in identifying the entropy source. */
|
|
917
|
+
ERROR = 0,
|
|
918
|
+
/** The default radio entropy source. */
|
|
919
|
+
RADIO = 1,
|
|
920
|
+
/** TRNG with mbed TLS support. */
|
|
921
|
+
MBEDTLS_TRNG = 2,
|
|
922
|
+
/** Other mbed TLS entropy source. */
|
|
923
|
+
MBEDTLS = 3
|
|
924
|
+
}
|
|
925
|
+
/** Defines the options that should be used when initializing the node's network configuration. */
|
|
926
|
+
export declare enum EmberNetworkInitBitmask {
|
|
927
|
+
NO_OPTIONS = 0,
|
|
928
|
+
/** The Parent Node ID and EUI64 are stored in a token. This prevents the need to perform an Orphan scan on startup. */
|
|
929
|
+
PARENT_INFO_IN_TOKEN = 1,
|
|
930
|
+
/** Z3 compliant end devices on a network must send a rejoin request on reboot. */
|
|
931
|
+
END_DEVICE_REJOIN_ON_REBOOT = 2
|
|
932
|
+
}
|
|
933
|
+
/** Defines the possible join states for a node. uint8_t */
|
|
934
|
+
export declare enum EmberNetworkStatus {
|
|
935
|
+
/** The node is not associated with a network in any way. */
|
|
936
|
+
NO_NETWORK = 0,
|
|
937
|
+
/** The node is currently attempting to join a network. */
|
|
938
|
+
JOINING_NETWORK = 1,
|
|
939
|
+
/** The node is joined to a network. */
|
|
940
|
+
JOINED_NETWORK = 2,
|
|
941
|
+
/** The node is an end device joined to a network but its parent is not responding. */
|
|
942
|
+
JOINED_NETWORK_NO_PARENT = 3,
|
|
943
|
+
/** The node is a Sleepy-to-Sleepy initiator */
|
|
944
|
+
JOINED_NETWORK_S2S_INITIATOR = 4,
|
|
945
|
+
/** The node is a Sleepy-to-Sleepy target */
|
|
946
|
+
JOINED_NETWORK_S2S_TARGET = 5,
|
|
947
|
+
/** The node is in the process of leaving its current network. */
|
|
948
|
+
LEAVING_NETWORK = 6
|
|
949
|
+
}
|
|
950
|
+
/** Network scan types. */
|
|
951
|
+
export declare enum EzspNetworkScanType {
|
|
952
|
+
/** An energy scan scans each channel for its RSSI value. */
|
|
953
|
+
ENERGY_SCAN = 0,
|
|
954
|
+
/** An active scan scans each channel for available networks. */
|
|
955
|
+
ACTIVE_SCAN = 1
|
|
956
|
+
}
|
|
957
|
+
/** The type of method used for joining. uint8_t */
|
|
958
|
+
export declare enum EmberJoinMethod {
|
|
959
|
+
/** Devices normally use MAC association to join a network, which respects
|
|
960
|
+
* the "permit joining" flag in the MAC beacon.
|
|
961
|
+
* This value should be used by default.
|
|
962
|
+
*/
|
|
963
|
+
MAC_ASSOCIATION = 0,
|
|
964
|
+
/** For networks where the "permit joining" flag is never turned
|
|
965
|
+
* on, devices will need to use a Zigbee NWK Rejoin. This value causes the
|
|
966
|
+
* rejoin to be sent withOUT NWK security and the Trust Center will be
|
|
967
|
+
* asked to send the NWK key to the device. The NWK key sent to the device
|
|
968
|
+
* can be encrypted with the device's corresponding Trust Center link key.
|
|
969
|
+
* That is determined by the ::EmberJoinDecision on the Trust Center
|
|
970
|
+
* returned by the ::emberTrustCenterJoinHandler().
|
|
971
|
+
*/
|
|
972
|
+
NWK_REJOIN = 1,
|
|
973
|
+
NWK_REJOIN_HAVE_NWK_KEY = 2,
|
|
974
|
+
/** For networks where all network and security information is known
|
|
975
|
+
ahead of time, a router device may be commissioned such that it does
|
|
976
|
+
not need to send any messages to begin communicating on the network.
|
|
977
|
+
*/
|
|
978
|
+
CONFIGURED_NWK_STATE = 3,
|
|
979
|
+
/** This enumeration causes an unencrypted Network Commissioning Request to be
|
|
980
|
+
sent out with joinType set to initial join. The trust center may respond
|
|
981
|
+
by establishing a new dynamic link key and then sending the network key.
|
|
982
|
+
Network Commissioning Requests should only be sent to parents that support
|
|
983
|
+
processing of the command.
|
|
984
|
+
*/
|
|
985
|
+
NWK_COMMISSIONING_JOIN = 4,
|
|
986
|
+
/** This enumeration causes an unencrypted Network Commissioning Request to be
|
|
987
|
+
sent out with joinType set to rejoin. The trust center may respond
|
|
988
|
+
by establishing a new dynamic link key and then sending the network key.
|
|
989
|
+
Network Commissioning Requests should only be sent to parents that support
|
|
990
|
+
processing of the command.
|
|
991
|
+
*/
|
|
992
|
+
NWK_COMMISSIONING_REJOIN = 5,
|
|
993
|
+
/** This enumeration causes an encrypted Network Commissioning Request to be
|
|
994
|
+
sent out with joinType set to rejoin. This enumeration is used by devices
|
|
995
|
+
that already have the network key and wish to recover connection to a
|
|
996
|
+
parent or the network in general.
|
|
997
|
+
Network Commissioning Requests should only be sent to parents that support
|
|
998
|
+
processing of the command.
|
|
999
|
+
*/
|
|
1000
|
+
NWK_COMMISSIONING_REJOIN_HAVE_NWK_KEY = 6
|
|
1001
|
+
}
|
|
1002
|
+
/** Defines the possible types of nodes and the roles that a node might play in a network. */
|
|
1003
|
+
export declare enum EmberNodeType {
|
|
1004
|
+
/** The device is not joined. */
|
|
1005
|
+
UNKNOWN_DEVICE = 0,
|
|
1006
|
+
/** Will relay messages and can act as a parent to other nodes. */
|
|
1007
|
+
COORDINATOR = 1,
|
|
1008
|
+
/** Will relay messages and can act as a parent to other nodes. */
|
|
1009
|
+
ROUTER = 2,
|
|
1010
|
+
/** Communicates only with its parent and will not relay messages. */
|
|
1011
|
+
END_DEVICE = 3,
|
|
1012
|
+
/** An end device whose radio can be turned off to save power. The application must call ::emberPollForData() to receive messages. */
|
|
1013
|
+
SLEEPY_END_DEVICE = 4,
|
|
1014
|
+
/** Sleepy end device which transmits with wake up frames (CSL). */
|
|
1015
|
+
S2S_INITIATOR_DEVICE = 5,
|
|
1016
|
+
/** Sleepy end device which duty cycles the radio Rx (CSL). */
|
|
1017
|
+
S2S_TARGET_DEVICE = 6
|
|
1018
|
+
}
|
|
1019
|
+
/** */
|
|
1020
|
+
export declare enum EmberMultiPhyNwkConfig {
|
|
1021
|
+
ROUTERS_ALLOWED = 1,
|
|
1022
|
+
BROADCASTS_ENABLED = 2,
|
|
1023
|
+
DISABLED = 128
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* Duty cycle states
|
|
1027
|
+
*
|
|
1028
|
+
* Applications have no control over the state but the callback exposes
|
|
1029
|
+
* state changes to the application.
|
|
1030
|
+
*/
|
|
1031
|
+
export declare enum EmberDutyCycleState {
|
|
1032
|
+
/** No duty cycle tracking or metrics are taking place. */
|
|
1033
|
+
TRACKING_OFF = 0,
|
|
1034
|
+
/** Duty Cycle is tracked and has not exceeded any thresholds. */
|
|
1035
|
+
LBT_NORMAL = 1,
|
|
1036
|
+
/** The limited threshold of the total duty cycle allotment was exceeded. */
|
|
1037
|
+
LBT_LIMITED_THRESHOLD_REACHED = 2,
|
|
1038
|
+
/** The critical threshold of the total duty cycle allotment was exceeded. */
|
|
1039
|
+
LBT_CRITICAL_THRESHOLD_REACHED = 3,
|
|
1040
|
+
/** The suspend limit was reached and all outbound transmissions are blocked. */
|
|
1041
|
+
LBT_SUSPEND_LIMIT_REACHED = 4
|
|
1042
|
+
}
|
|
1043
|
+
/** Defines binding types. uint8_t */
|
|
1044
|
+
export declare enum EmberBindingType {
|
|
1045
|
+
/** A binding that is currently not in use. */
|
|
1046
|
+
UNUSED_BINDING = 0,
|
|
1047
|
+
/** A unicast binding whose 64-bit identifier is the destination EUI64. */
|
|
1048
|
+
UNICAST_BINDING = 1,
|
|
1049
|
+
/**
|
|
1050
|
+
* A unicast binding whose 64-bit identifier is the many-to-one destination EUI64.
|
|
1051
|
+
* Route discovery should be disabled when sending unicasts via many-to-one bindings.
|
|
1052
|
+
*/
|
|
1053
|
+
MANY_TO_ONE_BINDING = 2,
|
|
1054
|
+
/**
|
|
1055
|
+
* A multicast binding whose 64-bit identifier is the group address.
|
|
1056
|
+
* This binding can be used to send messages to the group and to receive messages sent to the group.
|
|
1057
|
+
*/
|
|
1058
|
+
MULTICAST_BINDING = 3
|
|
1059
|
+
}
|
|
1060
|
+
/** Defines the possible outgoing message types. uint8_t */
|
|
1061
|
+
export declare enum EmberOutgoingMessageType {
|
|
1062
|
+
/** Unicast sent directly to an EmberNodeId. */
|
|
1063
|
+
DIRECT = 0,
|
|
1064
|
+
/** Unicast sent using an entry in the address table. */
|
|
1065
|
+
VIA_ADDRESS_TABLE = 1,
|
|
1066
|
+
/** Unicast sent using an entry in the binding table. */
|
|
1067
|
+
VIA_BINDING = 2,
|
|
1068
|
+
/** Multicast message. This value is passed to emberMessageSentHandler() only. It may not be passed to emberSendUnicast(). */
|
|
1069
|
+
MULTICAST = 3,
|
|
1070
|
+
/** An aliased multicast message. This value is passed to emberMessageSentHandler() only. It may not be passed to emberSendUnicast(). */
|
|
1071
|
+
MULTICAST_WITH_ALIAS = 4,
|
|
1072
|
+
/** An aliased Broadcast message. This value is passed to emberMessageSentHandler() only. It may not be passed to emberSendUnicast(). */
|
|
1073
|
+
BROADCAST_WITH_ALIAS = 5,
|
|
1074
|
+
/** A broadcast message. This value is passed to emberMessageSentHandler() only. It may not be passed to emberSendUnicast(). */
|
|
1075
|
+
BROADCAST = 6
|
|
1076
|
+
}
|
|
1077
|
+
/** Defines the possible incoming message types. uint8_t */
|
|
1078
|
+
export declare enum EmberIncomingMessageType {
|
|
1079
|
+
/** Unicast. */
|
|
1080
|
+
UNICAST = 0,
|
|
1081
|
+
/** Unicast reply. */
|
|
1082
|
+
UNICAST_REPLY = 1,
|
|
1083
|
+
/** Multicast. */
|
|
1084
|
+
MULTICAST = 2,
|
|
1085
|
+
/** Multicast sent by the local device. */
|
|
1086
|
+
MULTICAST_LOOPBACK = 3,
|
|
1087
|
+
/** Broadcast. */
|
|
1088
|
+
BROADCAST = 4,
|
|
1089
|
+
/** Broadcast sent by the local device. */
|
|
1090
|
+
BROADCAST_LOOPBACK = 5
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* Options to use when sending a message.
|
|
1094
|
+
*
|
|
1095
|
+
* The discover-route, APS-retry, and APS-indirect options may be used together.
|
|
1096
|
+
* Poll response cannot be combined with any other options.
|
|
1097
|
+
* uint16_t
|
|
1098
|
+
*/
|
|
1099
|
+
export declare enum EmberApsOption {
|
|
1100
|
+
/** No options. */
|
|
1101
|
+
NONE = 0,
|
|
1102
|
+
ENCRYPT_WITH_TRANSIENT_KEY = 1,
|
|
1103
|
+
USE_ALIAS_SEQUENCE_NUMBER = 2,
|
|
1104
|
+
/**
|
|
1105
|
+
* This signs the application layer message body (APS Frame not included) and appends the ECDSA signature to the end of the message,
|
|
1106
|
+
* which is needed by Smart Energy applications and requires the CBKE and ECC libraries.
|
|
1107
|
+
* The ::emberDsaSignHandler() function is called after DSA signing is complete but before the message has been sent by the APS layer.
|
|
1108
|
+
* Note that when passing a buffer to the stack for DSA signing, the final byte in the buffer has a special significance as an indicator
|
|
1109
|
+
* of how many leading bytes should be ignored for signature purposes. See the API documentation of emberDsaSign()
|
|
1110
|
+
* or the dsaSign EZSP command for more details about this requirement.
|
|
1111
|
+
*/
|
|
1112
|
+
DSA_SIGN = 16,
|
|
1113
|
+
/** Send the message using APS Encryption using the Link Key shared with the destination node to encrypt the data at the APS Level. */
|
|
1114
|
+
ENCRYPTION = 32,
|
|
1115
|
+
/**
|
|
1116
|
+
* Resend the message using the APS retry mechanism.
|
|
1117
|
+
* This option and the enable route discovery option must be enabled for an existing route to be repaired automatically.
|
|
1118
|
+
*/
|
|
1119
|
+
RETRY = 64,
|
|
1120
|
+
/**
|
|
1121
|
+
* Send the message with the NWK 'enable route discovery' flag, which causes a route discovery to be initiated if no route to the
|
|
1122
|
+
* destination is known. Note that in the mesh stack, this option and the APS retry option must be enabled an existing route to be
|
|
1123
|
+
* repaired automatically.
|
|
1124
|
+
*/
|
|
1125
|
+
ENABLE_ROUTE_DISCOVERY = 256,
|
|
1126
|
+
/** Send the message with the NWK 'force route discovery' flag, which causes a route discovery to be initiated even if one is known. */
|
|
1127
|
+
FORCE_ROUTE_DISCOVERY = 512,
|
|
1128
|
+
/** Include the source EUI64 in the network frame. */
|
|
1129
|
+
SOURCE_EUI64 = 1024,
|
|
1130
|
+
/** Include the destination EUI64 in the network frame. */
|
|
1131
|
+
DESTINATION_EUI64 = 2048,
|
|
1132
|
+
/** Send a ZDO request to discover the node ID of the destination if it is not already known. */
|
|
1133
|
+
ENABLE_ADDRESS_DISCOVERY = 4096,
|
|
1134
|
+
/**
|
|
1135
|
+
* This message is being sent in response to a call to ::emberPollHandler().
|
|
1136
|
+
* It causes the message to be sent immediately instead of being queued up until the next poll from the (end device) destination.
|
|
1137
|
+
*/
|
|
1138
|
+
POLL_RESPONSE = 8192,
|
|
1139
|
+
/**
|
|
1140
|
+
* This incoming message is a valid ZDO request and the application is responsible for sending a ZDO response.
|
|
1141
|
+
* This flag is used only within emberIncomingMessageHandler() when EMBER_APPLICATION_RECEIVES_UNSUPPORTED_ZDO_REQUESTS is defined. */
|
|
1142
|
+
ZDO_RESPONSE_REQUIRED = 16384,
|
|
1143
|
+
/**
|
|
1144
|
+
* This message is part of a fragmented message. This option may only be set for unicasts.
|
|
1145
|
+
* The groupId field gives the index of this fragment in the low-order byte.
|
|
1146
|
+
* If the low-order byte is zero this is the first fragment and the high-order byte contains the number of fragments in the message.
|
|
1147
|
+
*/
|
|
1148
|
+
FRAGMENT = 32768
|
|
1149
|
+
}
|
|
1150
|
+
/**
|
|
1151
|
+
* Types of source route discovery modes used by the concentrator.
|
|
1152
|
+
*
|
|
1153
|
+
* OFF no source route discovery is scheduled
|
|
1154
|
+
*
|
|
1155
|
+
* ON source routes discovery is scheduled, and it is triggered periodically
|
|
1156
|
+
*
|
|
1157
|
+
* RESCHEDULE source routes discoveries are re-scheduled to be sent once immediately and then triggered periodically
|
|
1158
|
+
*/
|
|
1159
|
+
export declare enum EmberSourceRouteDiscoveryMode {
|
|
1160
|
+
/** off */
|
|
1161
|
+
OFF = 0,
|
|
1162
|
+
/** on */
|
|
1163
|
+
ON = 1,
|
|
1164
|
+
/** reschedule */
|
|
1165
|
+
RESCHEDULE = 2
|
|
1166
|
+
}
|
|
1167
|
+
/** The types of MAC passthrough messages that an application may receive. This is a bitmask. */
|
|
1168
|
+
export declare enum EmberMacPassthroughType {
|
|
1169
|
+
/** No MAC passthrough messages. */
|
|
1170
|
+
NONE = 0,
|
|
1171
|
+
/** SE InterPAN messages. */
|
|
1172
|
+
SE_INTERPAN = 1,
|
|
1173
|
+
/** EmberNet and first generation (v1) standalone bootloader messages. */
|
|
1174
|
+
EMBERNET = 2,
|
|
1175
|
+
/** EmberNet messages filtered by their source address. */
|
|
1176
|
+
EMBERNET_SOURCE = 4,
|
|
1177
|
+
/** Application-specific passthrough messages. */
|
|
1178
|
+
APPLICATION = 8,
|
|
1179
|
+
/** Custom inter-pan filter. */
|
|
1180
|
+
CUSTOM = 16,
|
|
1181
|
+
/** Internal Stack passthrough. */
|
|
1182
|
+
INTERNAL_ZLL = 128,
|
|
1183
|
+
INTERNAL_GP = 64
|
|
1184
|
+
}
|
|
1185
|
+
/**
|
|
1186
|
+
* Interpan Message type: unicast, broadcast, or multicast.
|
|
1187
|
+
* uint8_t
|
|
1188
|
+
*/
|
|
1189
|
+
export declare enum EmberInterpanMessageType {
|
|
1190
|
+
UNICAST = 0,
|
|
1191
|
+
BROADCAST = 8,
|
|
1192
|
+
MULTICAST = 12
|
|
1193
|
+
}
|
|
1194
|
+
/** This is the Current Security Bitmask that details the use of various security features. */
|
|
1195
|
+
export declare enum EmberCurrentSecurityBitmask {
|
|
1196
|
+
/** This denotes that the device is running in a network with Zigbee
|
|
1197
|
+
* Standard Security. */
|
|
1198
|
+
STANDARD_SECURITY_MODE = 0,
|
|
1199
|
+
/** This denotes that the device is running in a network without
|
|
1200
|
+
* a centralized Trust Center. */
|
|
1201
|
+
DISTRIBUTED_TRUST_CENTER_MODE = 2,
|
|
1202
|
+
/** This denotes that the device has a Global Link Key. The Trust Center
|
|
1203
|
+
* Link Key is the same across multiple nodes. */
|
|
1204
|
+
TRUST_CENTER_GLOBAL_LINK_KEY = 4,
|
|
1205
|
+
/** This denotes that the node has a Trust Center Link Key. */
|
|
1206
|
+
HAVE_TRUST_CENTER_LINK_KEY = 16,
|
|
1207
|
+
/** This denotes that the Trust Center is using a Hashed Link Key. */
|
|
1208
|
+
TRUST_CENTER_USES_HASHED_LINK_KEY = 132
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* The list of supported key types used by Zigbee Security Manager.
|
|
1212
|
+
* uint8_t
|
|
1213
|
+
*/
|
|
1214
|
+
export declare enum SecManKeyType {
|
|
1215
|
+
NONE = 0,
|
|
1216
|
+
/**
|
|
1217
|
+
* This is the network key, used for encrypting and decrypting network payloads.
|
|
1218
|
+
* There is only one of these keys in storage.
|
|
1219
|
+
*/
|
|
1220
|
+
NETWORK = 1,
|
|
1221
|
+
/**
|
|
1222
|
+
* This is the Trust Center Link Key. On the joining device, this is the APS
|
|
1223
|
+
* key used to communicate with the trust center. On the trust center, this
|
|
1224
|
+
* key can be used as a root key for APS encryption and decryption when
|
|
1225
|
+
* communicating with joining devices (if the security policy has the
|
|
1226
|
+
* EMBER_TRUST_CENTER_USES_HASHED_LINK_KEY bit set).
|
|
1227
|
+
* There is only one of these keys in storage.
|
|
1228
|
+
*/
|
|
1229
|
+
TC_LINK = 2,
|
|
1230
|
+
/**
|
|
1231
|
+
* This is a Trust Center Link Key, but it times out after either
|
|
1232
|
+
* ::EMBER_TRANSIENT_KEY_TIMEOUT_S or
|
|
1233
|
+
* ::EMBER_AF_PLUGIN_NETWORK_CREATOR_SECURITY_NETWORK_OPEN_TIME_S (if
|
|
1234
|
+
* defined), whichever is longer. This type of key is set on trust centers
|
|
1235
|
+
* who wish to open joining with a temporary, or transient, APS key for
|
|
1236
|
+
* devices to join with. Joiners who wish to try several keys when joining a
|
|
1237
|
+
* network may set several of these types of keys before attempting to join.
|
|
1238
|
+
* This is an indexed key, and local storage can fit as many keys as
|
|
1239
|
+
* available RAM allows.
|
|
1240
|
+
*/
|
|
1241
|
+
TC_LINK_WITH_TIMEOUT = 3,
|
|
1242
|
+
/**
|
|
1243
|
+
* This is an Application link key. On both joining devices and the trust
|
|
1244
|
+
* center, this key is used in APS encryption and decryption when
|
|
1245
|
+
* communicating to a joining device.
|
|
1246
|
+
* This is an indexed key table of size EMBER_KEY_TABLE_SIZE, so long as there
|
|
1247
|
+
* is sufficient nonvolatile memory to store keys.
|
|
1248
|
+
*/
|
|
1249
|
+
APP_LINK = 4,
|
|
1250
|
+
/** This is the ZLL encryption key for use by algorithms that require it. */
|
|
1251
|
+
ZLL_ENCRYPTION_KEY = 5,
|
|
1252
|
+
/** For ZLL, this is the pre-configured link key used during classical Zigbee commissioning. */
|
|
1253
|
+
ZLL_PRECONFIGURED_KEY = 6,
|
|
1254
|
+
/** This is a Green Power Device (GPD) key used on a Proxy device. */
|
|
1255
|
+
GREEN_POWER_PROXY_TABLE_KEY = 7,
|
|
1256
|
+
/** This is a Green Power Device (GPD) key used on a Sink device. */
|
|
1257
|
+
GREEN_POWER_SINK_TABLE_KEY = 8,
|
|
1258
|
+
/**
|
|
1259
|
+
* This is a generic key type intended to be loaded for one-time hashing or crypto operations.
|
|
1260
|
+
* This key is not persisted. Intended for use by the Zigbee stack.
|
|
1261
|
+
*/
|
|
1262
|
+
INTERNAL = 9
|
|
1263
|
+
}
|
|
1264
|
+
/**
|
|
1265
|
+
* Derived keys are calculated when performing Zigbee crypto operations. The stack makes use of these derivations.
|
|
1266
|
+
* Compounding derivations can be specified by using an or-equals on two derived types if applicable;
|
|
1267
|
+
* this is limited to performing the key-transport, key-load, or verify-key hashes on either the TC Swap Out or TC Hashed Link keys.
|
|
1268
|
+
* uint16_t
|
|
1269
|
+
*/
|
|
1270
|
+
export declare enum SecManDerivedKeyType {
|
|
1271
|
+
/** Perform no derivation; use the key as is. */
|
|
1272
|
+
NONE = 0,
|
|
1273
|
+
/** Perform the Key-Transport-Key hash. */
|
|
1274
|
+
KEY_TRANSPORT_KEY = 1,
|
|
1275
|
+
/** Perform the Key-Load-Key hash. */
|
|
1276
|
+
KEY_LOAD_KEY = 2,
|
|
1277
|
+
/** Perform the Verify Key hash. */
|
|
1278
|
+
VERIFY_KEY = 4,
|
|
1279
|
+
/** Perform a simple AES hash of the key for TC backup. */
|
|
1280
|
+
TC_SWAP_OUT_KEY = 8,
|
|
1281
|
+
/** For a TC using hashed link keys, hashed the root key against the supplied EUI in context. */
|
|
1282
|
+
TC_HASHED_LINK_KEY = 16
|
|
1283
|
+
}
|
|
1284
|
+
/**
|
|
1285
|
+
* Security Manager context flags.
|
|
1286
|
+
* uint8_t
|
|
1287
|
+
*/
|
|
1288
|
+
export declare enum SecManFlag {
|
|
1289
|
+
NONE = 0,
|
|
1290
|
+
/**
|
|
1291
|
+
* For export APIs, this flag indicates the key_index parameter is valid in
|
|
1292
|
+
* the ::sl_zb_sec_man_context_t structure. This bit is set by the caller
|
|
1293
|
+
* when intending to search for a key by key_index. This flag has no
|
|
1294
|
+
* significance for import APIs. */
|
|
1295
|
+
KEY_INDEX_IS_VALID = 1,
|
|
1296
|
+
/**
|
|
1297
|
+
* For export APIs, this flag indicates the eui64 parameter is valid in the
|
|
1298
|
+
* ::sl_zb_sec_man_context_t structure. This bit is set by the caller when
|
|
1299
|
+
* intending to search for a key by eui64. It is also set when searching by
|
|
1300
|
+
* key_index and an entry is found. This flag has no significance for import
|
|
1301
|
+
* APIs. */
|
|
1302
|
+
EUI_IS_VALID = 2,
|
|
1303
|
+
/**
|
|
1304
|
+
* Internal use only. This indicates that the transient key being added is an
|
|
1305
|
+
* unconfirmed, updated key. This bit is set when we add a transient key and
|
|
1306
|
+
* the ::EmberTcLinkKeyRequestPolicy policy
|
|
1307
|
+
* is ::EMBER_ALLOW_TC_LINK_KEY_REQUEST_AND_GENERATE_NEW_KEY, whose behavior
|
|
1308
|
+
* dictates that we generate a new, unconfirmed key, send it to the requester,
|
|
1309
|
+
* and await for a Verify Key Confirm message. */
|
|
1310
|
+
UNCONFIRMED_TRANSIENT_KEY = 4,
|
|
1311
|
+
/**
|
|
1312
|
+
* Internal use only. This indicates that the key being added was derived via
|
|
1313
|
+
* dynamic link key negotiation. This may be used in conjunction with the above
|
|
1314
|
+
* ::UNCONFIRMED_TRANSIENT_KEY while the derived link key awaits
|
|
1315
|
+
* confirmation
|
|
1316
|
+
*/
|
|
1317
|
+
AUTHENTICATED_DYNAMIC_LINK_KEY = 8,
|
|
1318
|
+
/**
|
|
1319
|
+
* Internal use only. This indicates that the "key" being added is instead the
|
|
1320
|
+
* symmetric passphrase to be stored in the link key table. This flag will trigger the
|
|
1321
|
+
* addition of the KEY_TABLE_SYMMETRIC_PASSPHRASE bitmask when storing the symmetric
|
|
1322
|
+
* passphrase so that it can be differentiated from other keys with the same EUI64.
|
|
1323
|
+
*/
|
|
1324
|
+
SYMMETRIC_PASSPHRASE = 16
|
|
1325
|
+
}
|
|
1326
|
+
/** This denotes the status of an attempt to establish a key with another device. */
|
|
1327
|
+
export declare enum EmberKeyStatus {
|
|
1328
|
+
STATUS_NONE = 0,
|
|
1329
|
+
APP_LINK_KEY_ESTABLISHED = 1,
|
|
1330
|
+
TRUST_CENTER_LINK_KEY_ESTABLISHED = 3,
|
|
1331
|
+
ESTABLISHMENT_TIMEOUT = 4,
|
|
1332
|
+
TABLE_FULL = 5,
|
|
1333
|
+
TC_RESPONDED_TO_KEY_REQUEST = 6,
|
|
1334
|
+
TC_APP_KEY_SENT_TO_REQUESTER = 7,
|
|
1335
|
+
TC_RESPONSE_TO_KEY_REQUEST_FAILED = 8,
|
|
1336
|
+
TC_REQUEST_KEY_TYPE_NOT_SUPPORTED = 9,
|
|
1337
|
+
TC_NO_LINK_KEY_FOR_REQUESTER = 10,
|
|
1338
|
+
TC_REQUESTER_EUI64_UNKNOWN = 11,
|
|
1339
|
+
TC_RECEIVED_FIRST_APP_KEY_REQUEST = 12,
|
|
1340
|
+
TC_TIMEOUT_WAITING_FOR_SECOND_APP_KEY_REQUEST = 13,
|
|
1341
|
+
TC_NON_MATCHING_APP_KEY_REQUEST_RECEIVED = 14,
|
|
1342
|
+
TC_FAILED_TO_SEND_APP_KEYS = 15,
|
|
1343
|
+
TC_FAILED_TO_STORE_APP_KEY_REQUEST = 16,
|
|
1344
|
+
TC_REJECTED_APP_KEY_REQUEST = 17,
|
|
1345
|
+
TC_FAILED_TO_GENERATE_NEW_KEY = 18,
|
|
1346
|
+
TC_FAILED_TO_SEND_TC_KEY = 19,
|
|
1347
|
+
TRUST_CENTER_IS_PRE_R21 = 30,
|
|
1348
|
+
TC_REQUESTER_VERIFY_KEY_TIMEOUT = 50,
|
|
1349
|
+
TC_REQUESTER_VERIFY_KEY_FAILURE = 51,
|
|
1350
|
+
TC_REQUESTER_VERIFY_KEY_SUCCESS = 52,
|
|
1351
|
+
VERIFY_LINK_KEY_FAILURE = 100,
|
|
1352
|
+
VERIFY_LINK_KEY_SUCCESS = 101
|
|
1353
|
+
}
|
|
1354
|
+
/** This bitmask describes the presence of fields within the ::EmberKeyStruct. uint16_t */
|
|
1355
|
+
export declare enum EmberKeyStructBitmask {
|
|
1356
|
+
/** This indicates that the key has a sequence number associated with it. (i.e., a Network Key). */
|
|
1357
|
+
HAS_SEQUENCE_NUMBER = 1,
|
|
1358
|
+
/** This indicates that the key has an outgoing frame counter and the corresponding value within the ::EmberKeyStruct has been populated.*/
|
|
1359
|
+
HAS_OUTGOING_FRAME_COUNTER = 2,
|
|
1360
|
+
/** This indicates that the key has an incoming frame counter and the corresponding value within the ::EmberKeyStruct has been populated.*/
|
|
1361
|
+
HAS_INCOMING_FRAME_COUNTER = 4,
|
|
1362
|
+
/**
|
|
1363
|
+
* This indicates that the key has an associated Partner EUI64 address and the corresponding value
|
|
1364
|
+
* within the ::EmberKeyStruct has been populated.
|
|
1365
|
+
*/
|
|
1366
|
+
HAS_PARTNER_EUI64 = 8,
|
|
1367
|
+
/**
|
|
1368
|
+
* This indicates the key is authorized for use in APS data messages.
|
|
1369
|
+
* If the key is not authorized for use in APS data messages it has not yet gone through a key agreement protocol, such as CBKE (i.e., ECC).
|
|
1370
|
+
*/
|
|
1371
|
+
IS_AUTHORIZED = 16,
|
|
1372
|
+
/**
|
|
1373
|
+
* This indicates that the partner associated with the link is a sleepy end device.
|
|
1374
|
+
* This bit is set automatically if the local device hears a device announce from the partner indicating it is not an 'RX on when idle' device.
|
|
1375
|
+
*/
|
|
1376
|
+
PARTNER_IS_SLEEPY = 32,
|
|
1377
|
+
/**
|
|
1378
|
+
* This indicates that the transient key which is being added is unconfirmed.
|
|
1379
|
+
* This bit is set when we add a transient key while the EmberTcLinkKeyRequestPolicy is EMBER_ALLOW_TC_LINK_KEY_REQUEST_AND_GENERATE_NEW_KEY
|
|
1380
|
+
*/
|
|
1381
|
+
UNCONFIRMED_TRANSIENT = 64,
|
|
1382
|
+
/** This indicates that the actual key data is stored in PSA, and the respective PSA ID is recorded in the psa_id field. */
|
|
1383
|
+
HAS_PSA_ID = 128,
|
|
1384
|
+
/**
|
|
1385
|
+
* This indicates that the keyData field has valid data. On certain parts and depending on the security configuration,
|
|
1386
|
+
* keys may live in secure storage and are not exportable. In such cases, keyData will not house the actual key contents.
|
|
1387
|
+
*/
|
|
1388
|
+
HAS_KEY_DATA = 256,
|
|
1389
|
+
/**
|
|
1390
|
+
* This indicates that the key represents a Device Authentication Token and is not an encryption key.
|
|
1391
|
+
* The Authentication token is persisted for the lifetime of the device on the network and used to validate and update the device connection.
|
|
1392
|
+
* It is only removed when the device leaves or is decommissioned from the network
|
|
1393
|
+
*/
|
|
1394
|
+
IS_AUTHENTICATION_TOKEN = 512,
|
|
1395
|
+
/** This indicates that the key has been derived by the Dynamic Link Key feature. */
|
|
1396
|
+
DLK_DERIVED = 1024,
|
|
1397
|
+
/** This indicates that the device this key is being used to communicate with supports the APS frame counter synchronization procedure. */
|
|
1398
|
+
FC_SYNC_SUPPORTED = 2048
|
|
1399
|
+
}
|
|
1400
|
+
/**
|
|
1401
|
+
* The Status of the Update Device message sent to the Trust Center.
|
|
1402
|
+
* The device may have joined or rejoined insecurely, rejoined securely, or left.
|
|
1403
|
+
* MAC Security has been deprecated and therefore there is no secure join.
|
|
1404
|
+
* These map to the actual values within the APS Command frame so they cannot be arbitrarily changed.
|
|
1405
|
+
* uint8_t
|
|
1406
|
+
*/
|
|
1407
|
+
export declare enum EmberDeviceUpdate {
|
|
1408
|
+
STANDARD_SECURITY_SECURED_REJOIN = 0,
|
|
1409
|
+
STANDARD_SECURITY_UNSECURED_JOIN = 1,
|
|
1410
|
+
DEVICE_LEFT = 2,
|
|
1411
|
+
STANDARD_SECURITY_UNSECURED_REJOIN = 3
|
|
1412
|
+
}
|
|
1413
|
+
/** The decision made by the Trust Center when a node attempts to join. uint8_t */
|
|
1414
|
+
export declare enum EmberJoinDecision {
|
|
1415
|
+
/** Allow the node to join. The node has the key. */
|
|
1416
|
+
USE_PRECONFIGURED_KEY = 0,
|
|
1417
|
+
/** Allow the node to join. Send the key to the node. */
|
|
1418
|
+
SEND_KEY_IN_THE_CLEAR = 1,
|
|
1419
|
+
/** Deny join. */
|
|
1420
|
+
DENY_JOIN = 2,
|
|
1421
|
+
/** Take no action. */
|
|
1422
|
+
NO_ACTION = 3,
|
|
1423
|
+
/** Allow rejoins only.*/
|
|
1424
|
+
ALLOW_REJOINS_ONLY = 4
|
|
1425
|
+
}
|
|
1426
|
+
/** A bitmask indicating the state of the ZLL device. This maps directly to the ZLL information field in the scan response. uint16_t */
|
|
1427
|
+
export declare enum EmberZllState {
|
|
1428
|
+
/** No state. */
|
|
1429
|
+
NONE = 0,
|
|
1430
|
+
/** The device is factory new. */
|
|
1431
|
+
FACTORY_NEW = 1,
|
|
1432
|
+
/** The device is capable of assigning addresses to other devices. */
|
|
1433
|
+
ADDRESS_ASSIGNMENT_CAPABLE = 2,
|
|
1434
|
+
/** The device is initiating a link operation. */
|
|
1435
|
+
LINK_INITIATOR = 16,
|
|
1436
|
+
/** The device is requesting link priority. */
|
|
1437
|
+
LINK_PRIORITY_REQUEST = 32,
|
|
1438
|
+
/** The device is a Zigbee 3.0 device. */
|
|
1439
|
+
PROFILE_INTEROP = 128,
|
|
1440
|
+
/** The device is on a non-ZLL network. */
|
|
1441
|
+
NON_ZLL_NETWORK = 256,
|
|
1442
|
+
/** Internal use: the ZLL token's key values point to a PSA key identifier */
|
|
1443
|
+
TOKEN_POINTS_TO_PSA_ID = 512
|
|
1444
|
+
}
|
|
1445
|
+
/** Differentiates among ZLL network operations. */
|
|
1446
|
+
export declare enum EzspZllNetworkOperation {
|
|
1447
|
+
/** ZLL form network command. */
|
|
1448
|
+
FORM_NETWORK = 0,
|
|
1449
|
+
/** ZLL join target command. */
|
|
1450
|
+
JOIN_TARGET = 1
|
|
1451
|
+
}
|
|
1452
|
+
/** The key encryption algorithms supported by the stack. */
|
|
1453
|
+
export declare enum EmberZllKeyIndex {
|
|
1454
|
+
/** The key encryption algorithm for use during development. */
|
|
1455
|
+
DEVELOPMENT = 0,
|
|
1456
|
+
/** The key encryption algorithm shared by all certified devices. */
|
|
1457
|
+
MASTER = 4,
|
|
1458
|
+
/** The key encryption algorithm for use during development and certification. */
|
|
1459
|
+
CERTIFICATION = 15
|
|
1460
|
+
}
|
|
1461
|
+
/** uint8_t */
|
|
1462
|
+
export declare enum EmberGpApplicationId {
|
|
1463
|
+
/** Source identifier. */
|
|
1464
|
+
SOURCE_ID = 0,
|
|
1465
|
+
/** IEEE address. */
|
|
1466
|
+
IEEE_ADDRESS = 2
|
|
1467
|
+
}
|
|
1468
|
+
/** Green Power Security Level. uint8_t */
|
|
1469
|
+
export declare enum EmberGpSecurityLevel {
|
|
1470
|
+
/** No Security */
|
|
1471
|
+
NONE = 0,
|
|
1472
|
+
/** Reserved */
|
|
1473
|
+
RESERVED = 1,
|
|
1474
|
+
/** 4 Byte Frame Counter and 4 Byte MIC */
|
|
1475
|
+
FC_MIC = 2,
|
|
1476
|
+
/** 4 Byte Frame Counter and 4 Byte MIC with encryption */
|
|
1477
|
+
FC_MIC_ENCRYPTED = 3
|
|
1478
|
+
}
|
|
1479
|
+
/** Green Power Security Security Key Type. uint8_t */
|
|
1480
|
+
export declare enum EmberGpKeyType {
|
|
1481
|
+
/** No Key */
|
|
1482
|
+
NONE = 0,
|
|
1483
|
+
/** GP Security Key Type is Zigbee Network Key */
|
|
1484
|
+
NWK = 1,
|
|
1485
|
+
/** GP Security Key Type is Group Key */
|
|
1486
|
+
GPD_GROUP = 2,
|
|
1487
|
+
/** GP Security Key Type is Derived Network Key */
|
|
1488
|
+
NWK_DERIVED = 3,
|
|
1489
|
+
/** GP Security Key Type is Out Of Box Key */
|
|
1490
|
+
GPD_OOB = 4,
|
|
1491
|
+
/** GP Security Key Type is GPD Derived Key */
|
|
1492
|
+
GPD_DERIVED = 7
|
|
1493
|
+
}
|
|
1494
|
+
/** uint8_t */
|
|
1495
|
+
export declare enum EmberGpProxyTableEntryStatus {
|
|
1496
|
+
/** The GP table entry is in use for a Proxy Table Entry. */
|
|
1497
|
+
ACTIVE = 1,
|
|
1498
|
+
/** The proxy table entry is not in use. */
|
|
1499
|
+
UNUSED = 255
|
|
1500
|
+
}
|
|
1501
|
+
/** GP Sink Type. */
|
|
1502
|
+
export declare enum EmberGpSinkType {
|
|
1503
|
+
/** Sink Type is Full Unicast */
|
|
1504
|
+
FULL_UNICAST = 0,
|
|
1505
|
+
/** Sink Type is Derived groupcast, the group ID is derived from the GpdId during commissioning.
|
|
1506
|
+
* The sink is added to the APS group with that groupId.
|
|
1507
|
+
*/
|
|
1508
|
+
D_GROUPCAST = 1,
|
|
1509
|
+
/** Sink type GROUPCAST, the groupId can be obtained from the APS group table
|
|
1510
|
+
* or from the sink table.
|
|
1511
|
+
*/
|
|
1512
|
+
GROUPCAST = 2,
|
|
1513
|
+
/** Sink Type is Light Weight Unicast. */
|
|
1514
|
+
LW_UNICAST = 3,
|
|
1515
|
+
/** Unused sink type */
|
|
1516
|
+
UNUSED = 255
|
|
1517
|
+
}
|
|
1518
|
+
/** uint8_t */
|
|
1519
|
+
export declare enum EmberGpSinkTableEntryStatus {
|
|
1520
|
+
/** The GP table entry is in use for a Sink Table Entry. */
|
|
1521
|
+
ACTIVE = 1,
|
|
1522
|
+
/** The proxy table entry is not in use. */
|
|
1523
|
+
UNUSED = 255
|
|
1524
|
+
}
|
|
1525
|
+
export declare enum EmberLeaveNetworkOption {
|
|
1526
|
+
/** Leave with no option. */
|
|
1527
|
+
WITH_NO_OPTION = 0,
|
|
1528
|
+
/** Leave with option rejoin. */
|
|
1529
|
+
WITH_OPTION_REJOIN = 32,
|
|
1530
|
+
/** Leave is requested. */
|
|
1531
|
+
IS_REQUESTED = 64
|
|
1532
|
+
}
|
|
1533
|
+
/**
|
|
1534
|
+
* Packet transmit priorities in terms of getting into the MAC queue.
|
|
1535
|
+
*
|
|
1536
|
+
* SL_802154_TRANSMIT_PRIORITY_HIGH High priority headers go on the front of the queue.
|
|
1537
|
+
* SL_802154_TRANSMIT_PRIORITY_NORMAL Normal priority headers go on the back of the queue.
|
|
1538
|
+
* SL_802154_TRANSMIT_PRIORITY_SCAN_OKAY Normally, only beacon requests and orphan notifications can be sent during a scan.
|
|
1539
|
+
* 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.
|
|
1540
|
+
*/
|
|
1541
|
+
export declare enum EmberTransmitPriority {
|
|
1542
|
+
HIGH = 0,
|
|
1543
|
+
NORMAL = 1,
|
|
1544
|
+
SCAN_OKAY = 2
|
|
1545
|
+
}
|
|
1546
|
+
export declare enum IEEE802154CcaMode {
|
|
1547
|
+
/** RSSI-based CCA. CCA reports a busy medium upon detecting any energy above -75 (default RAIL_CsmaConfig_t.ccaThreshold). */
|
|
1548
|
+
RSSI = 0,
|
|
1549
|
+
/**
|
|
1550
|
+
* Signal Identifier-based CCA. CCA reports a busy medium only upon the detection of a signal compliant with this standard
|
|
1551
|
+
* with the same modulation and spreading characteristics of the PHY that is currently in use.
|
|
1552
|
+
*/
|
|
1553
|
+
SIGNAL = 1,
|
|
1554
|
+
/**
|
|
1555
|
+
* RSSI or signal identifier-based CCA. CCA reports a busy medium on either detecting any energy above
|
|
1556
|
+
* -75 (default RAIL_CsmaConfig_t.ccaThreshold) or detection of a signal compliant with this standard with the same modulation
|
|
1557
|
+
* and spreading characteristics of the PHY that is currently in use.
|
|
1558
|
+
*/
|
|
1559
|
+
SIGNAL_OR_RSSI = 2,
|
|
1560
|
+
/**
|
|
1561
|
+
* RSSI and signal identifier-based CCA. CCA reports a busy medium only on detecting any energy above -75 (default RAIL_CsmaConfig_t.ccaThreshold)
|
|
1562
|
+
* of a signal compliant with this standard with the same modulation and spreading characteristics of the PHY that is currently in use.
|
|
1563
|
+
*/
|
|
1564
|
+
SIGNAL_AND_RSSI = 3,
|
|
1565
|
+
/** ALOHA. Always transmit CCA=1. CCA always reports an idle medium. */
|
|
1566
|
+
ALWAYS_TRANSMIT = 4
|
|
1567
|
+
}
|
|
1568
|
+
//# sourceMappingURL=enums.d.ts.map
|