zigbee-herdsman 0.51.0 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +4 -2
- package/.prettierrc +9 -0
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +25 -0
- package/dist/adapter/adapter.d.ts +4 -4
- package/dist/adapter/adapter.d.ts.map +1 -1
- package/dist/adapter/adapter.js +8 -13
- package/dist/adapter/adapter.js.map +1 -1
- package/dist/adapter/deconz/adapter/deconzAdapter.d.ts +1 -1
- package/dist/adapter/deconz/adapter/deconzAdapter.d.ts.map +1 -1
- package/dist/adapter/deconz/adapter/deconzAdapter.js +249 -155
- package/dist/adapter/deconz/adapter/deconzAdapter.js.map +1 -1
- package/dist/adapter/deconz/adapter/index.d.ts +1 -1
- package/dist/adapter/deconz/adapter/index.d.ts.map +1 -1
- package/dist/adapter/deconz/adapter/index.js.map +1 -1
- package/dist/adapter/deconz/driver/constants.d.ts +1 -1
- package/dist/adapter/deconz/driver/constants.d.ts.map +1 -1
- package/dist/adapter/deconz/driver/constants.js +7 -7
- package/dist/adapter/deconz/driver/constants.js.map +1 -1
- package/dist/adapter/deconz/driver/driver.d.ts.map +1 -1
- package/dist/adapter/deconz/driver/driver.js +92 -60
- package/dist/adapter/deconz/driver/driver.js.map +1 -1
- package/dist/adapter/deconz/driver/frameParser.d.ts.map +1 -1
- package/dist/adapter/deconz/driver/frameParser.js +55 -46
- package/dist/adapter/deconz/driver/frameParser.js.map +1 -1
- package/dist/adapter/deconz/driver/parser.js +1 -1
- package/dist/adapter/ember/adapter/emberAdapter.d.ts +5 -5
- package/dist/adapter/ember/adapter/emberAdapter.d.ts.map +1 -1
- package/dist/adapter/ember/adapter/emberAdapter.js +803 -955
- package/dist/adapter/ember/adapter/emberAdapter.js.map +1 -1
- package/dist/adapter/ember/adapter/endpoints.d.ts.map +1 -1
- package/dist/adapter/ember/adapter/endpoints.js +4 -2
- package/dist/adapter/ember/adapter/endpoints.js.map +1 -1
- package/dist/adapter/ember/adapter/oneWaitress.d.ts +2 -2
- package/dist/adapter/ember/adapter/oneWaitress.d.ts.map +1 -1
- package/dist/adapter/ember/adapter/oneWaitress.js +16 -16
- package/dist/adapter/ember/adapter/oneWaitress.js.map +1 -1
- package/dist/adapter/ember/adapter/tokensManager.d.ts +3 -3
- package/dist/adapter/ember/adapter/tokensManager.d.ts.map +1 -1
- package/dist/adapter/ember/adapter/tokensManager.js +86 -85
- package/dist/adapter/ember/adapter/tokensManager.js.map +1 -1
- package/dist/adapter/ember/consts.d.ts.map +1 -1
- package/dist/adapter/ember/consts.js +27 -27
- package/dist/adapter/ember/consts.js.map +1 -1
- package/dist/adapter/ember/enums.d.ts +2 -2
- package/dist/adapter/ember/enums.d.ts.map +1 -1
- package/dist/adapter/ember/enums.js +8 -50
- package/dist/adapter/ember/enums.js.map +1 -1
- package/dist/adapter/ember/ezsp/buffalo.d.ts +4 -4
- package/dist/adapter/ember/ezsp/buffalo.d.ts.map +1 -1
- package/dist/adapter/ember/ezsp/buffalo.js +35 -34
- package/dist/adapter/ember/ezsp/buffalo.js.map +1 -1
- package/dist/adapter/ember/ezsp/consts.d.ts.map +1 -1
- package/dist/adapter/ember/ezsp/consts.js +4 -4
- package/dist/adapter/ember/ezsp/consts.js.map +1 -1
- package/dist/adapter/ember/ezsp/enums.d.ts.map +1 -1
- package/dist/adapter/ember/ezsp/enums.js +0 -2
- package/dist/adapter/ember/ezsp/enums.js.map +1 -1
- package/dist/adapter/ember/ezsp/ezsp.d.ts +23 -20
- package/dist/adapter/ember/ezsp/ezsp.d.ts.map +1 -1
- package/dist/adapter/ember/ezsp/ezsp.js +1146 -1141
- package/dist/adapter/ember/ezsp/ezsp.js.map +1 -1
- package/dist/adapter/ember/ezspError.d.ts +1 -1
- package/dist/adapter/ember/ezspError.d.ts.map +1 -1
- package/dist/adapter/ember/ezspError.js.map +1 -1
- package/dist/adapter/ember/types.d.ts +2 -1
- package/dist/adapter/ember/types.d.ts.map +1 -1
- package/dist/adapter/ember/uart/ash.d.ts +5 -5
- package/dist/adapter/ember/uart/ash.d.ts.map +1 -1
- package/dist/adapter/ember/uart/ash.js +66 -65
- package/dist/adapter/ember/uart/ash.js.map +1 -1
- package/dist/adapter/ember/uart/consts.d.ts.map +1 -1
- package/dist/adapter/ember/uart/consts.js +9 -9
- package/dist/adapter/ember/uart/consts.js.map +1 -1
- package/dist/adapter/ember/uart/enums.d.ts.map +1 -1
- package/dist/adapter/ember/uart/parser.d.ts +1 -1
- package/dist/adapter/ember/uart/parser.d.ts.map +1 -1
- package/dist/adapter/ember/uart/parser.js +1 -1
- package/dist/adapter/ember/uart/parser.js.map +1 -1
- package/dist/adapter/ember/uart/queues.d.ts.map +1 -1
- package/dist/adapter/ember/uart/queues.js +1 -1
- package/dist/adapter/ember/uart/queues.js.map +1 -1
- package/dist/adapter/ember/uart/writer.d.ts +1 -1
- package/dist/adapter/ember/uart/writer.d.ts.map +1 -1
- package/dist/adapter/ember/uart/writer.js +2 -3
- package/dist/adapter/ember/uart/writer.js.map +1 -1
- package/dist/adapter/ember/utils/initters.d.ts +2 -2
- package/dist/adapter/ember/utils/initters.d.ts.map +1 -1
- package/dist/adapter/ember/utils/initters.js +1 -0
- package/dist/adapter/ember/utils/initters.js.map +1 -1
- package/dist/adapter/ember/utils/math.d.ts.map +1 -1
- package/dist/adapter/ember/utils/math.js +11 -11
- package/dist/adapter/ember/utils/math.js.map +1 -1
- package/dist/adapter/events.d.ts +1 -1
- package/dist/adapter/events.d.ts.map +1 -1
- package/dist/adapter/ezsp/adapter/backup.d.ts +1 -1
- package/dist/adapter/ezsp/adapter/backup.d.ts.map +1 -1
- package/dist/adapter/ezsp/adapter/backup.js +11 -10
- package/dist/adapter/ezsp/adapter/backup.js.map +1 -1
- package/dist/adapter/ezsp/adapter/ezspAdapter.d.ts +4 -4
- package/dist/adapter/ezsp/adapter/ezspAdapter.d.ts.map +1 -1
- package/dist/adapter/ezsp/adapter/ezspAdapter.js +74 -41
- package/dist/adapter/ezsp/adapter/ezspAdapter.js.map +1 -1
- package/dist/adapter/ezsp/adapter/index.d.ts +1 -1
- package/dist/adapter/ezsp/adapter/index.d.ts.map +1 -1
- package/dist/adapter/ezsp/adapter/index.js.map +1 -1
- package/dist/adapter/ezsp/driver/commands.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/commands.js +452 -452
- package/dist/adapter/ezsp/driver/commands.js.map +1 -1
- package/dist/adapter/ezsp/driver/consts.js +4 -4
- package/dist/adapter/ezsp/driver/consts.js.map +1 -1
- package/dist/adapter/ezsp/driver/driver.d.ts +5 -5
- package/dist/adapter/ezsp/driver/driver.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/driver.js +82 -82
- package/dist/adapter/ezsp/driver/driver.js.map +1 -1
- package/dist/adapter/ezsp/driver/ezsp.d.ts +3 -3
- package/dist/adapter/ezsp/driver/ezsp.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/ezsp.js +58 -58
- package/dist/adapter/ezsp/driver/ezsp.js.map +1 -1
- package/dist/adapter/ezsp/driver/frame.js +9 -9
- package/dist/adapter/ezsp/driver/frame.js.map +1 -1
- package/dist/adapter/ezsp/driver/index.d.ts +1 -1
- package/dist/adapter/ezsp/driver/index.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/index.js +2 -2
- package/dist/adapter/ezsp/driver/index.js.map +1 -1
- package/dist/adapter/ezsp/driver/multicast.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/multicast.js +1 -1
- package/dist/adapter/ezsp/driver/multicast.js.map +1 -1
- package/dist/adapter/ezsp/driver/parser.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/parser.js +1 -1
- package/dist/adapter/ezsp/driver/parser.js.map +1 -1
- package/dist/adapter/ezsp/driver/types/basic.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/types/basic.js +5 -5
- package/dist/adapter/ezsp/driver/types/basic.js.map +1 -1
- package/dist/adapter/ezsp/driver/types/index.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/types/index.js.map +1 -1
- package/dist/adapter/ezsp/driver/types/named.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/types/named.js +236 -234
- package/dist/adapter/ezsp/driver/types/named.js.map +1 -1
- package/dist/adapter/ezsp/driver/types/struct.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/types/struct.js +5 -3
- package/dist/adapter/ezsp/driver/types/struct.js.map +1 -1
- package/dist/adapter/ezsp/driver/uart.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/uart.js +8 -8
- package/dist/adapter/ezsp/driver/uart.js.map +1 -1
- package/dist/adapter/ezsp/driver/utils/index.d.ts +1 -1
- package/dist/adapter/ezsp/driver/utils/index.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/utils/index.js +12 -11
- package/dist/adapter/ezsp/driver/utils/index.js.map +1 -1
- package/dist/adapter/ezsp/driver/writer.d.ts.map +1 -1
- package/dist/adapter/ezsp/driver/writer.js +6 -7
- package/dist/adapter/ezsp/driver/writer.js.map +1 -1
- package/dist/adapter/index.d.ts +2 -2
- package/dist/adapter/index.d.ts.map +1 -1
- package/dist/adapter/index.js +2 -2
- package/dist/adapter/index.js.map +1 -1
- package/dist/adapter/serialPort.d.ts +1 -1
- package/dist/adapter/serialPort.d.ts.map +1 -1
- package/dist/adapter/serialPort.js +1 -1
- package/dist/adapter/serialPort.js.map +1 -1
- package/dist/adapter/serialPortUtils.js +1 -1
- package/dist/adapter/serialPortUtils.js.map +1 -1
- package/dist/adapter/socketPortUtils.js +3 -3
- package/dist/adapter/tstype.d.ts +1 -1
- package/dist/adapter/tstype.d.ts.map +1 -1
- package/dist/adapter/z-stack/adapter/adapter-backup.d.ts +3 -3
- package/dist/adapter/z-stack/adapter/adapter-backup.d.ts.map +1 -1
- package/dist/adapter/z-stack/adapter/adapter-backup.js +101 -86
- package/dist/adapter/z-stack/adapter/adapter-backup.js.map +1 -1
- package/dist/adapter/z-stack/adapter/adapter-nv-memory.d.ts +10 -10
- package/dist/adapter/z-stack/adapter/adapter-nv-memory.d.ts.map +1 -1
- package/dist/adapter/z-stack/adapter/adapter-nv-memory.js +30 -24
- package/dist/adapter/z-stack/adapter/adapter-nv-memory.js.map +1 -1
- package/dist/adapter/z-stack/adapter/endpoints.d.ts.map +1 -1
- package/dist/adapter/z-stack/adapter/endpoints.js +4 -4
- package/dist/adapter/z-stack/adapter/endpoints.js.map +1 -1
- package/dist/adapter/z-stack/adapter/index.d.ts +1 -1
- package/dist/adapter/z-stack/adapter/index.d.ts.map +1 -1
- package/dist/adapter/z-stack/adapter/index.js.map +1 -1
- package/dist/adapter/z-stack/adapter/manager.d.ts +5 -5
- package/dist/adapter/z-stack/adapter/manager.d.ts.map +1 -1
- package/dist/adapter/z-stack/adapter/manager.js +90 -81
- package/dist/adapter/z-stack/adapter/manager.js.map +1 -1
- package/dist/adapter/z-stack/adapter/tstype.d.ts +1 -1
- package/dist/adapter/z-stack/adapter/tstype.d.ts.map +1 -1
- package/dist/adapter/z-stack/adapter/zStackAdapter.d.ts +5 -5
- package/dist/adapter/z-stack/adapter/zStackAdapter.d.ts.map +1 -1
- package/dist/adapter/z-stack/adapter/zStackAdapter.js +72 -57
- package/dist/adapter/z-stack/adapter/zStackAdapter.js.map +1 -1
- package/dist/adapter/z-stack/constants/af.js +5 -5
- package/dist/adapter/z-stack/constants/af.js.map +1 -1
- package/dist/adapter/z-stack/constants/dbg.js +2 -2
- package/dist/adapter/z-stack/constants/index.d.ts +2 -2
- package/dist/adapter/z-stack/constants/index.d.ts.map +1 -1
- package/dist/adapter/z-stack/constants/index.js +2 -2
- package/dist/adapter/z-stack/constants/index.js.map +1 -1
- package/dist/adapter/z-stack/constants/mac.js +11 -11
- package/dist/adapter/z-stack/constants/sapi.js +4 -4
- package/dist/adapter/z-stack/constants/sys.js +11 -11
- package/dist/adapter/z-stack/constants/util.js +11 -11
- package/dist/adapter/z-stack/constants/utils.d.ts.map +1 -1
- package/dist/adapter/z-stack/constants/utils.js +3 -3
- package/dist/adapter/z-stack/constants/utils.js.map +1 -1
- package/dist/adapter/z-stack/constants/zdo.js +13 -13
- package/dist/adapter/z-stack/models/index.d.ts +1 -1
- package/dist/adapter/z-stack/models/startup-options.d.ts +2 -2
- package/dist/adapter/z-stack/structs/entries/address-manager-entry.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/address-manager-entry.js +4 -4
- package/dist/adapter/z-stack/structs/entries/address-manager-entry.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/address-manager-table.d.ts +2 -2
- package/dist/adapter/z-stack/structs/entries/address-manager-table.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/address-manager-table.js +4 -7
- package/dist/adapter/z-stack/structs/entries/address-manager-table.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.js +1 -5
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.d.ts +2 -2
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.js +3 -6
- package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-entry.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-entry.js +6 -6
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.d.ts +2 -2
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.js +3 -6
- package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/channel-list.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/channel-list.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/channel-list.js +1 -3
- package/dist/adapter/z-stack/structs/entries/channel-list.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/has-configured.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/has-configured.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/has-configured.js +2 -2
- package/dist/adapter/z-stack/structs/entries/has-configured.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/index.d.ts +16 -16
- package/dist/adapter/z-stack/structs/entries/nib.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/nib.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nib.js +50 -50
- package/dist/adapter/z-stack/structs/entries/nib.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.js +1 -4
- package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-key.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-key.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-key.js +1 -3
- package/dist/adapter/z-stack/structs/entries/nwk-key.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-pan-id.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-pan-id.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-pan-id.js +1 -3
- package/dist/adapter/z-stack/structs/entries/nwk-pan-id.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.js +3 -3
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.d.ts +2 -2
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.js +3 -6
- package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.js.map +1 -1
- package/dist/adapter/z-stack/structs/entries/security-manager-entry.d.ts +1 -1
- package/dist/adapter/z-stack/structs/entries/security-manager-entry.js +4 -4
- package/dist/adapter/z-stack/structs/entries/security-manager-table.d.ts +2 -2
- package/dist/adapter/z-stack/structs/entries/security-manager-table.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/entries/security-manager-table.js +3 -7
- package/dist/adapter/z-stack/structs/entries/security-manager-table.js.map +1 -1
- package/dist/adapter/z-stack/structs/index.d.ts +4 -4
- package/dist/adapter/z-stack/structs/serializable-memory-object.d.ts +1 -1
- package/dist/adapter/z-stack/structs/struct.d.ts +6 -6
- package/dist/adapter/z-stack/structs/struct.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/struct.js +53 -52
- package/dist/adapter/z-stack/structs/struct.js.map +1 -1
- package/dist/adapter/z-stack/structs/table.d.ts +3 -3
- package/dist/adapter/z-stack/structs/table.d.ts.map +1 -1
- package/dist/adapter/z-stack/structs/table.js +16 -16
- package/dist/adapter/z-stack/structs/table.js.map +1 -1
- package/dist/adapter/z-stack/unpi/constants.d.ts +1 -1
- package/dist/adapter/z-stack/unpi/constants.d.ts.map +1 -1
- package/dist/adapter/z-stack/unpi/constants.js +1 -1
- package/dist/adapter/z-stack/unpi/constants.js.map +1 -1
- package/dist/adapter/z-stack/unpi/frame.d.ts.map +1 -1
- package/dist/adapter/z-stack/unpi/frame.js +5 -6
- package/dist/adapter/z-stack/unpi/frame.js.map +1 -1
- package/dist/adapter/z-stack/unpi/index.d.ts +4 -4
- package/dist/adapter/z-stack/unpi/index.d.ts.map +1 -1
- package/dist/adapter/z-stack/unpi/index.js +6 -6
- package/dist/adapter/z-stack/unpi/index.js.map +1 -1
- package/dist/adapter/z-stack/unpi/parser.d.ts.map +1 -1
- package/dist/adapter/z-stack/unpi/parser.js +1 -1
- package/dist/adapter/z-stack/unpi/parser.js.map +1 -1
- package/dist/adapter/z-stack/unpi/writer.d.ts.map +1 -1
- package/dist/adapter/z-stack/unpi/writer.js.map +1 -1
- package/dist/adapter/z-stack/utils/channel-list.d.ts.map +1 -1
- package/dist/adapter/z-stack/utils/channel-list.js +5 -2
- package/dist/adapter/z-stack/utils/channel-list.js.map +1 -1
- package/dist/adapter/z-stack/utils/index.d.ts +2 -2
- package/dist/adapter/z-stack/utils/network-options.d.ts +1 -1
- package/dist/adapter/z-stack/utils/network-options.d.ts.map +1 -1
- package/dist/adapter/z-stack/utils/network-options.js +1 -1
- package/dist/adapter/z-stack/utils/network-options.js.map +1 -1
- package/dist/adapter/z-stack/znp/buffaloZnp.d.ts.map +1 -1
- package/dist/adapter/z-stack/znp/buffaloZnp.js +8 -8
- package/dist/adapter/z-stack/znp/buffaloZnp.js.map +1 -1
- package/dist/adapter/z-stack/znp/definition.d.ts.map +1 -1
- package/dist/adapter/z-stack/znp/definition.js +200 -592
- package/dist/adapter/z-stack/znp/definition.js.map +1 -1
- package/dist/adapter/z-stack/znp/index.d.ts +1 -1
- package/dist/adapter/z-stack/znp/index.d.ts.map +1 -1
- package/dist/adapter/z-stack/znp/index.js.map +1 -1
- package/dist/adapter/z-stack/znp/parameterType.d.ts.map +1 -1
- package/dist/adapter/z-stack/znp/parameterType.js.map +1 -1
- package/dist/adapter/z-stack/znp/tstype.d.ts.map +1 -1
- package/dist/adapter/z-stack/znp/znp.d.ts +3 -3
- package/dist/adapter/z-stack/znp/znp.d.ts.map +1 -1
- package/dist/adapter/z-stack/znp/znp.js +12 -15
- package/dist/adapter/z-stack/znp/znp.js.map +1 -1
- package/dist/adapter/z-stack/znp/zpiObject.d.ts +1 -1
- package/dist/adapter/z-stack/znp/zpiObject.d.ts.map +1 -1
- package/dist/adapter/z-stack/znp/zpiObject.js +17 -9
- package/dist/adapter/z-stack/znp/zpiObject.js.map +1 -1
- package/dist/adapter/zigate/adapter/index.d.ts.map +1 -1
- package/dist/adapter/zigate/adapter/index.js.map +1 -1
- package/dist/adapter/zigate/adapter/zigateAdapter.d.ts +1 -1
- package/dist/adapter/zigate/adapter/zigateAdapter.d.ts.map +1 -1
- package/dist/adapter/zigate/adapter/zigateAdapter.js +88 -92
- package/dist/adapter/zigate/adapter/zigateAdapter.js.map +1 -1
- package/dist/adapter/zigate/driver/buffaloZiGate.js.map +1 -1
- package/dist/adapter/zigate/driver/commandType.d.ts +2 -2
- package/dist/adapter/zigate/driver/commandType.d.ts.map +1 -1
- package/dist/adapter/zigate/driver/commandType.js +72 -80
- package/dist/adapter/zigate/driver/commandType.js.map +1 -1
- package/dist/adapter/zigate/driver/constants.d.ts +9 -9
- package/dist/adapter/zigate/driver/constants.d.ts.map +1 -1
- package/dist/adapter/zigate/driver/constants.js +11 -65
- package/dist/adapter/zigate/driver/constants.js.map +1 -1
- package/dist/adapter/zigate/driver/frame.d.ts.map +1 -1
- package/dist/adapter/zigate/driver/frame.js +3 -15
- package/dist/adapter/zigate/driver/frame.js.map +1 -1
- package/dist/adapter/zigate/driver/messageType.d.ts +1 -1
- package/dist/adapter/zigate/driver/messageType.d.ts.map +1 -1
- package/dist/adapter/zigate/driver/messageType.js +29 -30
- package/dist/adapter/zigate/driver/messageType.js.map +1 -1
- package/dist/adapter/zigate/driver/parameterType.d.ts.map +1 -1
- package/dist/adapter/zigate/driver/parameterType.js.map +1 -1
- package/dist/adapter/zigate/driver/ziGateObject.d.ts +2 -2
- package/dist/adapter/zigate/driver/ziGateObject.d.ts.map +1 -1
- package/dist/adapter/zigate/driver/ziGateObject.js +11 -5
- package/dist/adapter/zigate/driver/ziGateObject.js.map +1 -1
- package/dist/adapter/zigate/driver/zigate.d.ts +5 -5
- package/dist/adapter/zigate/driver/zigate.d.ts.map +1 -1
- package/dist/adapter/zigate/driver/zigate.js +12 -12
- package/dist/adapter/zigate/driver/zigate.js.map +1 -1
- package/dist/buffalo/buffalo.d.ts +1 -1
- package/dist/buffalo/buffalo.d.ts.map +1 -1
- package/dist/buffalo/buffalo.js +1 -1
- package/dist/buffalo/buffalo.js.map +1 -1
- package/dist/controller/controller.d.ts.map +1 -1
- package/dist/controller/controller.js +34 -33
- package/dist/controller/controller.js.map +1 -1
- package/dist/controller/database.d.ts.map +1 -1
- package/dist/controller/database.js +6 -2
- package/dist/controller/database.js.map +1 -1
- package/dist/controller/events.d.ts +3 -3
- package/dist/controller/events.d.ts.map +1 -1
- package/dist/controller/greenPower.d.ts +1 -1
- package/dist/controller/greenPower.d.ts.map +1 -1
- package/dist/controller/greenPower.js +15 -17
- package/dist/controller/greenPower.js.map +1 -1
- package/dist/controller/helpers/index.d.ts +1 -1
- package/dist/controller/helpers/index.d.ts.map +1 -1
- package/dist/controller/helpers/index.js.map +1 -1
- package/dist/controller/helpers/request.d.ts +1 -1
- package/dist/controller/helpers/request.d.ts.map +1 -1
- package/dist/controller/helpers/request.js +7 -10
- package/dist/controller/helpers/request.js.map +1 -1
- package/dist/controller/helpers/requestQueue.d.ts.map +1 -1
- package/dist/controller/helpers/requestQueue.js +2 -3
- package/dist/controller/helpers/requestQueue.js.map +1 -1
- package/dist/controller/helpers/zclFrameConverter.d.ts +1 -1
- package/dist/controller/helpers/zclFrameConverter.d.ts.map +1 -1
- package/dist/controller/helpers/zclFrameConverter.js.map +1 -1
- package/dist/controller/index.d.ts +1 -1
- package/dist/controller/index.d.ts.map +1 -1
- package/dist/controller/index.js.map +1 -1
- package/dist/controller/model/device.d.ts +3 -3
- package/dist/controller/model/device.d.ts.map +1 -1
- package/dist/controller/model/device.js +247 -94
- package/dist/controller/model/device.js.map +1 -1
- package/dist/controller/model/endpoint.d.ts +4 -4
- package/dist/controller/model/endpoint.d.ts.map +1 -1
- package/dist/controller/model/endpoint.js +45 -31
- package/dist/controller/model/endpoint.js.map +1 -1
- package/dist/controller/model/entity.d.ts +2 -2
- package/dist/controller/model/entity.d.ts.map +1 -1
- package/dist/controller/model/entity.js.map +1 -1
- package/dist/controller/model/group.d.ts +2 -2
- package/dist/controller/model/group.d.ts.map +1 -1
- package/dist/controller/model/group.js +8 -6
- package/dist/controller/model/group.js.map +1 -1
- package/dist/controller/model/index.d.ts +1 -1
- package/dist/controller/model/index.d.ts.map +1 -1
- package/dist/controller/model/index.js.map +1 -1
- package/dist/controller/touchlink.d.ts.map +1 -1
- package/dist/controller/touchlink.js +2 -2
- package/dist/controller/touchlink.js.map +1 -1
- package/dist/controller/tstype.d.ts.map +1 -1
- package/dist/controller/tstype.js +0 -1
- package/dist/controller/tstype.js.map +1 -1
- package/dist/models/backup-storage-legacy.d.ts +4 -4
- package/dist/models/backup-storage-legacy.d.ts.map +1 -1
- package/dist/models/backup-storage-unified.d.ts +1 -1
- package/dist/models/backup.d.ts +2 -2
- package/dist/models/index.d.ts +4 -4
- package/dist/utils/backup.d.ts +1 -1
- package/dist/utils/backup.d.ts.map +1 -1
- package/dist/utils/backup.js +71 -58
- package/dist/utils/backup.js.map +1 -1
- package/dist/utils/index.d.ts +6 -6
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +10 -10
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/isNumberArray.js +1 -1
- package/dist/utils/isNumberArray.js.map +1 -1
- package/dist/utils/queue.js +1 -1
- package/dist/utils/queue.js.map +1 -1
- package/dist/utils/waitress.d.ts.map +1 -1
- package/dist/utils/waitress.js +2 -2
- package/dist/utils/waitress.js.map +1 -1
- package/dist/zspec/consts.d.ts +1 -1
- package/dist/zspec/consts.d.ts.map +1 -1
- package/dist/zspec/consts.js +16 -16
- package/dist/zspec/consts.js.map +1 -1
- package/dist/zspec/enums.js +0 -1
- package/dist/zspec/enums.js.map +1 -1
- package/dist/zspec/utils.d.ts.map +1 -1
- package/dist/zspec/utils.js +5 -3
- package/dist/zspec/utils.js.map +1 -1
- package/dist/zspec/zcl/buffaloZcl.d.ts +2 -2
- package/dist/zspec/zcl/buffaloZcl.d.ts.map +1 -1
- package/dist/zspec/zcl/buffaloZcl.js +44 -51
- package/dist/zspec/zcl/buffaloZcl.js.map +1 -1
- package/dist/zspec/zcl/definition/cluster.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/cluster.js +284 -380
- package/dist/zspec/zcl/definition/cluster.js.map +1 -1
- package/dist/zspec/zcl/definition/consts.js +10 -10
- package/dist/zspec/zcl/definition/consts.js.map +1 -1
- package/dist/zspec/zcl/definition/enums.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/enums.js.map +1 -1
- package/dist/zspec/zcl/definition/foundation.d.ts +1 -1
- package/dist/zspec/zcl/definition/foundation.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/foundation.js +51 -22
- package/dist/zspec/zcl/definition/foundation.js.map +1 -1
- package/dist/zspec/zcl/definition/manufacturerCode.js +0 -1
- package/dist/zspec/zcl/definition/manufacturerCode.js.map +1 -1
- package/dist/zspec/zcl/definition/status.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/tstype.d.ts +1 -1
- package/dist/zspec/zcl/definition/tstype.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/tstype.js +0 -1
- package/dist/zspec/zcl/definition/tstype.js.map +1 -1
- package/dist/zspec/zcl/utils.d.ts.map +1 -1
- package/dist/zspec/zcl/utils.js +59 -19
- package/dist/zspec/zcl/utils.js.map +1 -1
- package/dist/zspec/zcl/zclFrame.d.ts +1 -1
- package/dist/zspec/zcl/zclFrame.d.ts.map +1 -1
- package/dist/zspec/zcl/zclFrame.js +14 -15
- package/dist/zspec/zcl/zclFrame.js.map +1 -1
- package/dist/zspec/zcl/zclHeader.d.ts +1 -1
- package/dist/zspec/zcl/zclHeader.d.ts.map +1 -1
- package/dist/zspec/zcl/zclHeader.js +7 -7
- package/dist/zspec/zcl/zclHeader.js.map +1 -1
- package/dist/zspec/zcl/zclStatusError.d.ts.map +1 -1
- package/dist/zspec/zcl/zclStatusError.js.map +1 -1
- package/dist/zspec/zdo/buffaloZdo.d.ts +3 -3
- package/dist/zspec/zdo/buffaloZdo.d.ts.map +1 -1
- package/dist/zspec/zdo/buffaloZdo.js +92 -92
- package/dist/zspec/zdo/buffaloZdo.js.map +1 -1
- package/dist/zspec/zdo/definition/clusters.d.ts.map +1 -1
- package/dist/zspec/zdo/definition/clusters.js +0 -1
- package/dist/zspec/zdo/definition/clusters.js.map +1 -1
- package/dist/zspec/zdo/definition/consts.d.ts.map +1 -1
- package/dist/zspec/zdo/definition/consts.js.map +1 -1
- package/dist/zspec/zdo/definition/enums.d.ts.map +1 -1
- package/dist/zspec/zdo/definition/enums.js +0 -5
- package/dist/zspec/zdo/definition/enums.js.map +1 -1
- package/dist/zspec/zdo/definition/status.d.ts.map +1 -1
- package/dist/zspec/zdo/definition/status.js +0 -1
- package/dist/zspec/zdo/definition/status.js.map +1 -1
- package/dist/zspec/zdo/definition/tstypes.d.ts +2 -2
- package/dist/zspec/zdo/definition/tstypes.d.ts.map +1 -1
- package/dist/zspec/zdo/utils.d.ts.map +1 -1
- package/dist/zspec/zdo/utils.js +14 -14
- package/dist/zspec/zdo/utils.js.map +1 -1
- package/dist/zspec/zdo/zdoStatusError.d.ts.map +1 -1
- package/dist/zspec/zdo/zdoStatusError.js.map +1 -1
- package/package.json +6 -1
- package/dist/adapter/ember/adapter/requestQueue.d.ts +0 -67
- package/dist/adapter/ember/adapter/requestQueue.d.ts.map +0 -1
- package/dist/adapter/ember/adapter/requestQueue.js +0 -159
- package/dist/adapter/ember/adapter/requestQueue.js.map +0 -1
|
@@ -38,7 +38,7 @@ class NcpResetCode extends basic.uint8_t {
|
|
|
38
38
|
static RESET_WATCHDOG = 0x03;
|
|
39
39
|
static RESET_ASSERT = 0x06;
|
|
40
40
|
static RESET_BOOTLOADER = 0x09;
|
|
41
|
-
static RESET_SOFTWARE =
|
|
41
|
+
static RESET_SOFTWARE = 0x0b;
|
|
42
42
|
static ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT = 0x51;
|
|
43
43
|
static ERROR_UNKNOWN_EM3XX_ERROR = 0x80;
|
|
44
44
|
}
|
|
@@ -66,7 +66,7 @@ class EmberEUI64 extends (0, basic_1.fixed_list)(8, basic.uint8_t) {
|
|
|
66
66
|
constructor(_value) {
|
|
67
67
|
super();
|
|
68
68
|
this._value = _value;
|
|
69
|
-
if (typeof
|
|
69
|
+
if (typeof _value === 'string') {
|
|
70
70
|
if (_value.startsWith('0x'))
|
|
71
71
|
_value = _value.slice(2);
|
|
72
72
|
if (_value.length !== 16) {
|
|
@@ -95,7 +95,9 @@ class EmberEUI64 extends (0, basic_1.fixed_list)(8, basic.uint8_t) {
|
|
|
95
95
|
}
|
|
96
96
|
// console.assert(cls._length === value.length);
|
|
97
97
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any*/
|
|
98
|
-
const val = Buffer.from(value)
|
|
98
|
+
const val = Buffer.from(value)
|
|
99
|
+
.reverse()
|
|
100
|
+
.map((i) => basic.uint8_t.serialize(basic.uint8_t, i)[0]);
|
|
99
101
|
return Buffer.from(val);
|
|
100
102
|
}
|
|
101
103
|
/* eslint-disable-next-line @typescript-eslint/no-explicit-any*/
|
|
@@ -166,13 +168,13 @@ class EzspConfigId extends basic.uint8_t {
|
|
|
166
168
|
// The size of the alarm broadcast buffer.
|
|
167
169
|
static CONFIG_BROADCAST_ALARM_DATA_SIZE = 0x09;
|
|
168
170
|
// The size of the unicast alarm buffers allocated for end device children.
|
|
169
|
-
static CONFIG_UNICAST_ALARM_DATA_SIZE =
|
|
171
|
+
static CONFIG_UNICAST_ALARM_DATA_SIZE = 0x0a;
|
|
170
172
|
// Specifies the stack profile.
|
|
171
|
-
static CONFIG_STACK_PROFILE =
|
|
173
|
+
static CONFIG_STACK_PROFILE = 0x0c;
|
|
172
174
|
// The security level used for security at the MAC and network layers. The
|
|
173
175
|
// supported values are 0 (no security) and 5 (payload is encrypted and a
|
|
174
176
|
// four-byte MIC is used for authentication).
|
|
175
|
-
static CONFIG_SECURITY_LEVEL =
|
|
177
|
+
static CONFIG_SECURITY_LEVEL = 0x0d;
|
|
176
178
|
// The maximum number of hops for a message.
|
|
177
179
|
static CONFIG_MAX_HOPS = 0x10;
|
|
178
180
|
// The maximum number of end device children that a router will support.
|
|
@@ -207,22 +209,22 @@ class EzspConfigId extends basic.uint8_t {
|
|
|
207
209
|
// ::CONFIG_ADDRESS_TABLE_SIZE.)
|
|
208
210
|
static CONFIG_TRUST_CENTER_ADDRESS_CACHE_SIZE = 0x19;
|
|
209
211
|
// The size of the source route table.
|
|
210
|
-
static CONFIG_SOURCE_ROUTE_TABLE_SIZE =
|
|
212
|
+
static CONFIG_SOURCE_ROUTE_TABLE_SIZE = 0x1a;
|
|
211
213
|
// The units used for timing out end devices on their parents.
|
|
212
|
-
static CONFIG_END_DEVICE_POLL_TIMEOUT_SHIFT =
|
|
214
|
+
static CONFIG_END_DEVICE_POLL_TIMEOUT_SHIFT = 0x1b;
|
|
213
215
|
// The number of blocks of a fragmented message that can be sent in a single
|
|
214
216
|
// window.
|
|
215
|
-
static CONFIG_FRAGMENT_WINDOW_SIZE =
|
|
217
|
+
static CONFIG_FRAGMENT_WINDOW_SIZE = 0x1c;
|
|
216
218
|
// The time the stack will wait (in milliseconds) between sending blocks of
|
|
217
219
|
// a fragmented message.
|
|
218
|
-
static CONFIG_FRAGMENT_DELAY_MS =
|
|
220
|
+
static CONFIG_FRAGMENT_DELAY_MS = 0x1d;
|
|
219
221
|
// The size of the Key Table used for storing individual link keys (if the
|
|
220
222
|
// device is a Trust Center) or Application Link Keys (if the device is a
|
|
221
223
|
// normal node).
|
|
222
|
-
static CONFIG_KEY_TABLE_SIZE =
|
|
224
|
+
static CONFIG_KEY_TABLE_SIZE = 0x1e;
|
|
223
225
|
// The APS ACK timeout value. The stack waits this amount of time between
|
|
224
226
|
// resends of APS retried messages.
|
|
225
|
-
static CONFIG_APS_ACK_TIMEOUT =
|
|
227
|
+
static CONFIG_APS_ACK_TIMEOUT = 0x1f;
|
|
226
228
|
// The duration of an active scan, in the units used by the 15.4 scan
|
|
227
229
|
// parameter (((1 << duration) + 1) * 15ms). This also controls the jitter
|
|
228
230
|
// used when responding to a beacon request.
|
|
@@ -253,20 +255,20 @@ class EzspConfigId extends basic.uint8_t {
|
|
|
253
255
|
// application must check the APS options bitfield within the
|
|
254
256
|
// incomingMessageHandler callback to see if the
|
|
255
257
|
// APS_OPTION_ZDO_RESPONSE_REQUIRED flag is set.
|
|
256
|
-
static CONFIG_APPLICATION_ZDO_FLAGS =
|
|
258
|
+
static CONFIG_APPLICATION_ZDO_FLAGS = 0x2a;
|
|
257
259
|
// The maximum number of broadcasts during a single broadcast timeout
|
|
258
260
|
// period.
|
|
259
|
-
static CONFIG_BROADCAST_TABLE_SIZE =
|
|
261
|
+
static CONFIG_BROADCAST_TABLE_SIZE = 0x2b;
|
|
260
262
|
// The size of the MAC filter list table.
|
|
261
|
-
static CONFIG_MAC_FILTER_TABLE_SIZE =
|
|
263
|
+
static CONFIG_MAC_FILTER_TABLE_SIZE = 0x2c;
|
|
262
264
|
// The number of supported networks.
|
|
263
|
-
static CONFIG_SUPPORTED_NETWORKS =
|
|
265
|
+
static CONFIG_SUPPORTED_NETWORKS = 0x2d;
|
|
264
266
|
// Whether multicasts are sent to the RxOnWhenIdle=true address (0xFFFD) or
|
|
265
267
|
// the sleepy broadcast address (0xFFFF). The RxOnWhenIdle=true address is
|
|
266
268
|
// the ZigBee compliant destination for multicasts.
|
|
267
|
-
static CONFIG_SEND_MULTICASTS_TO_SLEEPY_ADDRESS =
|
|
269
|
+
static CONFIG_SEND_MULTICASTS_TO_SLEEPY_ADDRESS = 0x2e;
|
|
268
270
|
// ZLL group address initial configuration.
|
|
269
|
-
static CONFIG_ZLL_GROUP_ADDRESSES =
|
|
271
|
+
static CONFIG_ZLL_GROUP_ADDRESSES = 0x2f;
|
|
270
272
|
// ZLL rssi threshold initial configuration.
|
|
271
273
|
static CONFIG_ZLL_RSSI_THRESHOLD = 0x30;
|
|
272
274
|
// The maximum number of pairings supported by the stack. Controllers
|
|
@@ -326,17 +328,17 @@ class EzspValueId extends basic.uint8_t {
|
|
|
326
328
|
// A list of EmberMacFilterMatchData values.
|
|
327
329
|
static VALUE_MAC_FILTER_LIST = 0x09;
|
|
328
330
|
// The Ember Extended Security Bitmask.
|
|
329
|
-
static VALUE_EXTENDED_SECURITY_BITMASK =
|
|
331
|
+
static VALUE_EXTENDED_SECURITY_BITMASK = 0x0a;
|
|
330
332
|
// The node short ID.
|
|
331
|
-
static VALUE_NODE_SHORT_ID =
|
|
333
|
+
static VALUE_NODE_SHORT_ID = 0x0b;
|
|
332
334
|
// The descriptor capability of the local node.
|
|
333
|
-
static VALUE_DESCRIPTOR_CAPABILITY =
|
|
335
|
+
static VALUE_DESCRIPTOR_CAPABILITY = 0x0c;
|
|
334
336
|
// The stack device request sequence number of the local node.
|
|
335
|
-
static VALUE_STACK_DEVICE_REQUEST_SEQUENCE_NUMBER =
|
|
337
|
+
static VALUE_STACK_DEVICE_REQUEST_SEQUENCE_NUMBER = 0x0d;
|
|
336
338
|
// Enable or disable radio hold-off.
|
|
337
|
-
static VALUE_RADIO_HOLD_OFF =
|
|
339
|
+
static VALUE_RADIO_HOLD_OFF = 0x0e;
|
|
338
340
|
// The flags field associated with the endpoint data.
|
|
339
|
-
static VALUE_ENDPOINT_FLAGS =
|
|
341
|
+
static VALUE_ENDPOINT_FLAGS = 0x0f;
|
|
340
342
|
// Enable/disable the Mfg security config key settings.
|
|
341
343
|
static VALUE_MFG_SECURITY_CONFIG = 0x10;
|
|
342
344
|
// Retrieves the version information from the stack on the NCP.
|
|
@@ -368,22 +370,22 @@ class EzspValueId extends basic.uint8_t {
|
|
|
368
370
|
// Clears all the counters
|
|
369
371
|
static VALUE_CLEAR_COUNTERS = 0x19;
|
|
370
372
|
// The device RF4CE base channel
|
|
371
|
-
static VALUE_RF4CE_BASE_CHANNEL =
|
|
373
|
+
static VALUE_RF4CE_BASE_CHANNEL = 0x1a;
|
|
372
374
|
// The RF4CE device types supported by the node
|
|
373
|
-
static VALUE_RF4CE_SUPPORTED_DEVICE_TYPES_LIST =
|
|
375
|
+
static VALUE_RF4CE_SUPPORTED_DEVICE_TYPES_LIST = 0x1b;
|
|
374
376
|
// The RF4CE profiles supported by the node
|
|
375
|
-
static VALUE_RF4CE_SUPPORTED_PROFILES_LIST =
|
|
377
|
+
static VALUE_RF4CE_SUPPORTED_PROFILES_LIST = 0x1c;
|
|
376
378
|
// Setting this byte enables R21 behavior on the NCP.
|
|
377
379
|
static VALUE_ENABLE_R21_BEHAVIOR = 0x29;
|
|
378
380
|
// Configure the antenna mode(0-primary,1-secondary,2- toggle on tx ack
|
|
379
381
|
// fail).
|
|
380
382
|
static VALUE_ANTENNA_MODE = 0x30;
|
|
381
383
|
// The GDP binding recipient parameters
|
|
382
|
-
static VALUE_RF4CE_GDP_BINDING_RECIPIENT_PARAMETERS =
|
|
384
|
+
static VALUE_RF4CE_GDP_BINDING_RECIPIENT_PARAMETERS = 0x1d;
|
|
383
385
|
// The GDP binding push button stimulus received pending flag
|
|
384
|
-
static VALUE_RF4CE_GDP_PUSH_BUTTON_STIMULUS_RECEIVED_PENDING_FLAG =
|
|
386
|
+
static VALUE_RF4CE_GDP_PUSH_BUTTON_STIMULUS_RECEIVED_PENDING_FLAG = 0x1e;
|
|
385
387
|
// The GDP originator proxy flag in the advanced binding options
|
|
386
|
-
static VALUE_RF4CE_GDP_BINDING_PROXY_FLAG =
|
|
388
|
+
static VALUE_RF4CE_GDP_BINDING_PROXY_FLAG = 0x1f;
|
|
387
389
|
// The GDP application specific user s join unti_VALUE_RF4CE_MSO_USER_STRING
|
|
388
390
|
// 0x21 The MSO user string
|
|
389
391
|
static VALUE_RF4CE_GDP_APPLICATION_SPECIFIC_USER_STRING = 0x20;
|
|
@@ -409,7 +411,7 @@ class EzspValueId extends basic.uint8_t {
|
|
|
409
411
|
static VALUE_PTA_OPTIONS = 0x32;
|
|
410
412
|
// Configure manufacturing library options(0-non-CSMA transmits,1-CSMA transmits).
|
|
411
413
|
static VALUE_MFGLIB_OPTIONS = 0x33;
|
|
412
|
-
static VALUE_END_DEVICE_KEEP_ALIVE_SUPPORT_MODE =
|
|
414
|
+
static VALUE_END_DEVICE_KEEP_ALIVE_SUPPORT_MODE = 0x3f;
|
|
413
415
|
}
|
|
414
416
|
exports.EzspValueId = EzspValueId;
|
|
415
417
|
class EzspExtendedValueId extends basic.uint8_t {
|
|
@@ -580,15 +582,15 @@ class EzspMfgTokenId extends basic.uint8_t {
|
|
|
580
582
|
// Certificate Based Key Exchange (CBKE) data (92 bytes).
|
|
581
583
|
static MFG_CBKE_DATA = 0x09;
|
|
582
584
|
// Installation code (20 bytes).
|
|
583
|
-
static MFG_INSTALLATION_CODE =
|
|
585
|
+
static MFG_INSTALLATION_CODE = 0x0a;
|
|
584
586
|
// Radio channel filter calibration data (1 byte). This token is not stored
|
|
585
587
|
// in the Flash Information Area. It is updated by the stack each time a
|
|
586
588
|
// calibration is performed.
|
|
587
|
-
static STACK_CAL_FILTER =
|
|
589
|
+
static STACK_CAL_FILTER = 0x0b;
|
|
588
590
|
// Custom EUI64 MAC address (8 bytes).
|
|
589
|
-
static MFG_CUSTOM_EUI_64 =
|
|
591
|
+
static MFG_CUSTOM_EUI_64 = 0x0c;
|
|
590
592
|
// CTUNE value (2 byte).
|
|
591
|
-
static MFG_CTUNE =
|
|
593
|
+
static MFG_CTUNE = 0x0d;
|
|
592
594
|
}
|
|
593
595
|
exports.EzspMfgTokenId = EzspMfgTokenId;
|
|
594
596
|
class EzspStatus extends basic.uint8_t {
|
|
@@ -625,16 +627,16 @@ class EzspStatus extends basic.uint8_t {
|
|
|
625
627
|
static SPI_WAITING_FOR_RESPONSE = 0x19;
|
|
626
628
|
// The NCP has not asserted nHOST_INT within the time limit defined by
|
|
627
629
|
// WAKE_HANDSHAKE_TIMEOUT.
|
|
628
|
-
static SPI_ERR_HANDSHAKE_TIMEOUT =
|
|
630
|
+
static SPI_ERR_HANDSHAKE_TIMEOUT = 0x1a;
|
|
629
631
|
// The NCP has not asserted nHOST_INT after an NCP reset within the time
|
|
630
632
|
// limit defined by STARTUP_TIMEOUT.
|
|
631
|
-
static SPI_ERR_STARTUP_TIMEOUT =
|
|
633
|
+
static SPI_ERR_STARTUP_TIMEOUT = 0x1b;
|
|
632
634
|
// The Host attempted to verify the SPI Protocol activity and version
|
|
633
635
|
// number, and the verification failed.
|
|
634
|
-
static SPI_ERR_STARTUP_FAIL =
|
|
636
|
+
static SPI_ERR_STARTUP_FAIL = 0x1c;
|
|
635
637
|
// The Host has sent a command with a SPI Byte that is unsupported by the
|
|
636
638
|
// current mode the NCP is operating in.
|
|
637
|
-
static SPI_ERR_UNSUPPORTED_SPI_COMMAND =
|
|
639
|
+
static SPI_ERR_UNSUPPORTED_SPI_COMMAND = 0x1d;
|
|
638
640
|
// Operation not yet complete.
|
|
639
641
|
static ASH_IN_PROGRESS = 0x20;
|
|
640
642
|
// Fatal error detected by host.
|
|
@@ -699,7 +701,7 @@ class EzspStatus extends basic.uint8_t {
|
|
|
699
701
|
// Received frame with unsupported control byte
|
|
700
702
|
static ERROR_UNSUPPORTED_CONTROL = 0x49;
|
|
701
703
|
// Received frame is unsecure, when security is established
|
|
702
|
-
static ERROR_UNSECURE_FRAME =
|
|
704
|
+
static ERROR_UNSECURE_FRAME = 0x4a;
|
|
703
705
|
// Incompatible ASH version
|
|
704
706
|
static ASH_ERROR_VERSION = 0x50;
|
|
705
707
|
// Exceeded max ACK timeouts
|
|
@@ -737,17 +739,17 @@ class EzspStatus extends basic.uint8_t {
|
|
|
737
739
|
// Received frame shorter than minimum
|
|
738
740
|
static ASH_TOO_SHORT = 0x79;
|
|
739
741
|
// Received frame longer than maximum
|
|
740
|
-
static ASH_TOO_LONG =
|
|
742
|
+
static ASH_TOO_LONG = 0x7a;
|
|
741
743
|
// Received frame with illegal control byte
|
|
742
|
-
static ASH_BAD_CONTROL =
|
|
744
|
+
static ASH_BAD_CONTROL = 0x7b;
|
|
743
745
|
// Received frame with illegal length for its type
|
|
744
|
-
static ASH_BAD_LENGTH =
|
|
746
|
+
static ASH_BAD_LENGTH = 0x7c;
|
|
745
747
|
// Received ASH Ack
|
|
746
|
-
static ASH_ACK_RECEIVED =
|
|
748
|
+
static ASH_ACK_RECEIVED = 0x7d;
|
|
747
749
|
// Sent ASH Ack
|
|
748
|
-
static ASH_ACK_SENT =
|
|
750
|
+
static ASH_ACK_SENT = 0x7e;
|
|
749
751
|
// No reset or error
|
|
750
|
-
static NO_ERROR =
|
|
752
|
+
static NO_ERROR = 0xff;
|
|
751
753
|
}
|
|
752
754
|
exports.EzspStatus = EzspStatus;
|
|
753
755
|
class EmberStatus extends basic.uint8_t {
|
|
@@ -793,9 +795,9 @@ class EmberStatus extends basic.uint8_t {
|
|
|
793
795
|
// The MAC transmit queue is full.
|
|
794
796
|
static MAC_TRANSMIT_QUEUE_FULL = 0x39;
|
|
795
797
|
// MAC header FCR error on receive.
|
|
796
|
-
static MAC_UNKNOWN_HEADER_TYPE =
|
|
798
|
+
static MAC_UNKNOWN_HEADER_TYPE = 0x3a;
|
|
797
799
|
// The MAC can't complete this task because it is scanning.
|
|
798
|
-
static MAC_SCANNING =
|
|
800
|
+
static MAC_SCANNING = 0x3d;
|
|
799
801
|
// No pending data exists for device doing a data poll.
|
|
800
802
|
static MAC_NO_DATA = 0x31;
|
|
801
803
|
// Attempt to scan when we are joined to a network.
|
|
@@ -857,17 +859,17 @@ class EmberStatus extends basic.uint8_t {
|
|
|
857
859
|
// means one or both of the tokens TOKEN_MFG_NVDATA_VERSION or
|
|
858
860
|
// TOKEN_STACK_NVDATA_VERSION were incorrect and the token system failed to
|
|
859
861
|
// properly reload default tokens and reset the Simulated EEPROM.
|
|
860
|
-
static SIM_EEPROM_INIT_3_FAILED =
|
|
862
|
+
static SIM_EEPROM_INIT_3_FAILED = 0x4a;
|
|
861
863
|
// A fatal error has occurred while trying to write data to the flash,
|
|
862
864
|
// possibly due to write protection or an invalid address. The data in the
|
|
863
865
|
// flash cannot be trusted after this error, and it is possible this error
|
|
864
866
|
// is the result of exceeding the life cycles of the flash.
|
|
865
|
-
static ERR_FLASH_PROG_FAIL =
|
|
867
|
+
static ERR_FLASH_PROG_FAIL = 0x4b;
|
|
866
868
|
// A fatal error has occurred while trying to erase flash, possibly due to
|
|
867
869
|
// write protection. The data in the flash cannot be trusted after this
|
|
868
870
|
// error, and it is possible this error is the result of exceeding the life
|
|
869
871
|
// cycles of the flash.
|
|
870
|
-
static ERR_FLASH_ERASE_FAIL =
|
|
872
|
+
static ERR_FLASH_ERASE_FAIL = 0x4c;
|
|
871
873
|
// The bootloader received an invalid message (failed attempt to go into
|
|
872
874
|
// bootloader).
|
|
873
875
|
static ERR_BOOTLOADER_TRAP_TABLE_BAD = 0x58;
|
|
@@ -876,15 +878,15 @@ class EmberStatus extends basic.uint8_t {
|
|
|
876
878
|
static ERR_BOOTLOADER_TRAP_UNKNOWN = 0x59;
|
|
877
879
|
// The bootloader cannot complete the bootload operation because either an
|
|
878
880
|
// image was not found or the image exceeded memory bounds.
|
|
879
|
-
static ERR_BOOTLOADER_NO_IMAGE =
|
|
881
|
+
static ERR_BOOTLOADER_NO_IMAGE = 0x5a;
|
|
880
882
|
// The APS layer attempted to send or deliver a message, but it failed.
|
|
881
883
|
static DELIVERY_FAILED = 0x66;
|
|
882
884
|
// This binding index is out of range of the current binding table.
|
|
883
885
|
static BINDING_INDEX_OUT_OF_RANGE = 0x69;
|
|
884
886
|
// This address table index is out of range for the current address table.
|
|
885
|
-
static ADDRESS_TABLE_INDEX_OUT_OF_RANGE =
|
|
887
|
+
static ADDRESS_TABLE_INDEX_OUT_OF_RANGE = 0x6a;
|
|
886
888
|
// An invalid binding table index was given to a function.
|
|
887
|
-
static INVALID_BINDING_INDEX =
|
|
889
|
+
static INVALID_BINDING_INDEX = 0x6c;
|
|
888
890
|
// The API call is not allowed given the current state of the stack.
|
|
889
891
|
static INVALID_CALL = 0x70;
|
|
890
892
|
// The link cost to a node is not known.
|
|
@@ -917,19 +919,19 @@ class EmberStatus extends basic.uint8_t {
|
|
|
917
919
|
// The transmit hardware did not finish transmitting a packet.
|
|
918
920
|
static PHY_TX_INCOMPLETE = 0x89;
|
|
919
921
|
// An unsupported channel setting was specified.
|
|
920
|
-
static PHY_INVALID_CHANNEL =
|
|
922
|
+
static PHY_INVALID_CHANNEL = 0x8a;
|
|
921
923
|
// An unsupported power setting was specified.
|
|
922
|
-
static PHY_INVALID_POWER =
|
|
924
|
+
static PHY_INVALID_POWER = 0x8b;
|
|
923
925
|
// The packet cannot be transmitted because the physical MAC layer is
|
|
924
926
|
// currently transmitting a packet. (This is used for the MAC backoff
|
|
925
927
|
// algorithm.) PHY_TX_CCA_FAIL 0x8D The transmit attempt failed because all
|
|
926
928
|
// CCA attempts indicated that the channel was busy
|
|
927
|
-
static PHY_TX_BUSY =
|
|
929
|
+
static PHY_TX_BUSY = 0x8c;
|
|
928
930
|
// The software installed on the hardware doesn't recognize the hardware
|
|
929
931
|
// radio type.
|
|
930
|
-
static PHY_OSCILLATOR_CHECK_FAILED =
|
|
932
|
+
static PHY_OSCILLATOR_CHECK_FAILED = 0x8e;
|
|
931
933
|
// The expected ACK was received after the last transmission.
|
|
932
|
-
static PHY_ACK_RECEIVED =
|
|
934
|
+
static PHY_ACK_RECEIVED = 0x8f;
|
|
933
935
|
// The stack software has completed initialization and is ready to send and
|
|
934
936
|
// receive packets over the air.
|
|
935
937
|
static NETWORK_UP = 0x90;
|
|
@@ -949,39 +951,39 @@ class EmberStatus extends basic.uint8_t {
|
|
|
949
951
|
static NODE_ID_CHANGED = 0x99;
|
|
950
952
|
// The local PAN ID has changed. The application can obtain the new PAN ID
|
|
951
953
|
// by calling emberGetPanId().
|
|
952
|
-
static PAN_ID_CHANGED =
|
|
954
|
+
static PAN_ID_CHANGED = 0x9a;
|
|
953
955
|
// An attempt to join or rejoin the network failed because no router beacons
|
|
954
956
|
// could be heard by the joining node.
|
|
955
|
-
static NO_BEACONS =
|
|
957
|
+
static NO_BEACONS = 0xab;
|
|
956
958
|
// An attempt was made to join a Secured Network using a pre-configured key,
|
|
957
959
|
// but the Trust Center sent back a Network Key in-the-clear when an
|
|
958
960
|
// encrypted Network Key was required.
|
|
959
|
-
static RECEIVED_KEY_IN_THE_CLEAR =
|
|
961
|
+
static RECEIVED_KEY_IN_THE_CLEAR = 0xac;
|
|
960
962
|
// An attempt was made to join a Secured Network, but the device did not
|
|
961
963
|
// receive a Network Key.
|
|
962
|
-
static NO_NETWORK_KEY_RECEIVED =
|
|
964
|
+
static NO_NETWORK_KEY_RECEIVED = 0xad;
|
|
963
965
|
// After a device joined a Secured Network, a Link Key was requested but no
|
|
964
966
|
// response was ever received.
|
|
965
|
-
static NO_LINK_KEY_RECEIVED =
|
|
967
|
+
static NO_LINK_KEY_RECEIVED = 0xae;
|
|
966
968
|
// An attempt was made to join a Secured Network without a pre-configured
|
|
967
969
|
// key, but the Trust Center sent encrypted data using a pre-configured key.
|
|
968
|
-
static PRECONFIGURED_KEY_REQUIRED =
|
|
970
|
+
static PRECONFIGURED_KEY_REQUIRED = 0xaf;
|
|
969
971
|
// The node has not joined a network.
|
|
970
972
|
static NOT_JOINED = 0x93;
|
|
971
973
|
// The chosen security level (the value of SECURITY_LEVEL) is not supported
|
|
972
974
|
// by the stack.
|
|
973
975
|
static INVALID_SECURITY_LEVEL = 0x95;
|
|
974
976
|
// A message cannot be sent because the network is currently overloaded.
|
|
975
|
-
static NETWORK_BUSY =
|
|
977
|
+
static NETWORK_BUSY = 0xa1;
|
|
976
978
|
// The application tried to send a message using an endpoint that it has not
|
|
977
979
|
// defined.
|
|
978
|
-
static INVALID_ENDPOINT =
|
|
980
|
+
static INVALID_ENDPOINT = 0xa3;
|
|
979
981
|
// The application tried to use a binding that has been remotely modified
|
|
980
982
|
// and the change has not yet been reported to the application.
|
|
981
|
-
static BINDING_HAS_CHANGED =
|
|
983
|
+
static BINDING_HAS_CHANGED = 0xa4;
|
|
982
984
|
// An attempt to generate random bytes failed because of insufficient random
|
|
983
985
|
// data from the radio.
|
|
984
|
-
static INSUFFICIENT_RANDOM_DATA =
|
|
986
|
+
static INSUFFICIENT_RANDOM_DATA = 0xa5;
|
|
985
987
|
// There was an error in trying to encrypt at the APS Level. This could
|
|
986
988
|
// result from either an inability to determine the long address of the
|
|
987
989
|
// recipient from the short address (no entry in the binding table) or there
|
|
@@ -990,105 +992,105 @@ class EmberStatus extends basic.uint8_t {
|
|
|
990
992
|
// TRUST_CENTER_MASTER_KEY_NOT_SET 0xA7 There was an attempt to form a
|
|
991
993
|
// network using commercial security without setting the Trust Center master
|
|
992
994
|
// key first.
|
|
993
|
-
static APS_ENCRYPTION_ERROR =
|
|
995
|
+
static APS_ENCRYPTION_ERROR = 0xa6;
|
|
994
996
|
// There was an attempt to form or join a network with security without
|
|
995
997
|
// calling emberSetInitialSecurityState() first.
|
|
996
|
-
static SECURITY_STATE_NOT_SET =
|
|
998
|
+
static SECURITY_STATE_NOT_SET = 0xa8;
|
|
997
999
|
// There was an attempt to set an entry in the key table using an invalid
|
|
998
1000
|
// long address. An entry cannot be set using either the local device's or
|
|
999
1001
|
// Trust Center's IEEE address. Or an entry already exists in the table with
|
|
1000
1002
|
// the same IEEE address. An Address of all zeros or all F's are not valid
|
|
1001
1003
|
// addresses in 802.15.4.
|
|
1002
|
-
static KEY_TABLE_INVALID_ADDRESS =
|
|
1004
|
+
static KEY_TABLE_INVALID_ADDRESS = 0xb3;
|
|
1003
1005
|
// There was an attempt to set a security configuration that is not valid
|
|
1004
1006
|
// given the other security settings.
|
|
1005
|
-
static SECURITY_CONFIGURATION_INVALID =
|
|
1007
|
+
static SECURITY_CONFIGURATION_INVALID = 0xb7;
|
|
1006
1008
|
// There was an attempt to broadcast a key switch too quickly after
|
|
1007
1009
|
// broadcasting the next network key. The Trust Center must wait at least a
|
|
1008
1010
|
// period equal to the broadcast timeout so that all routers have a chance
|
|
1009
1011
|
// to receive the broadcast of the new network key.
|
|
1010
|
-
static TOO_SOON_FOR_SWITCH_KEY =
|
|
1012
|
+
static TOO_SOON_FOR_SWITCH_KEY = 0xb8;
|
|
1011
1013
|
// The message could not be sent because the link key corresponding to the
|
|
1012
1014
|
// destination is not authorized for use in APS data messages. APS Commands
|
|
1013
1015
|
// (sent by the stack) are allowed. To use it for encryption of APS data
|
|
1014
1016
|
// messages it must be authorized using a key agreement protocol (such as
|
|
1015
1017
|
// CBKE).
|
|
1016
|
-
static KEY_NOT_AUTHORIZED =
|
|
1018
|
+
static KEY_NOT_AUTHORIZED = 0xbb;
|
|
1017
1019
|
// The security data provided was not valid, or an integrity check failed.
|
|
1018
|
-
static SECURITY_DATA_INVALID =
|
|
1020
|
+
static SECURITY_DATA_INVALID = 0xbd;
|
|
1019
1021
|
// A ZigBee route error command frame was received indicating that a source
|
|
1020
1022
|
// routed message from this node failed en route.
|
|
1021
|
-
static SOURCE_ROUTE_FAILURE =
|
|
1023
|
+
static SOURCE_ROUTE_FAILURE = 0xa9;
|
|
1022
1024
|
// A ZigBee route error command frame was received indicating that a message
|
|
1023
1025
|
// sent to this node along a many-to-one route failed en route. The route
|
|
1024
1026
|
// error frame was delivered by an ad-hoc search for a functioning route.
|
|
1025
|
-
static MANY_TO_ONE_ROUTE_FAILURE =
|
|
1027
|
+
static MANY_TO_ONE_ROUTE_FAILURE = 0xaa;
|
|
1026
1028
|
// A critical and fatal error indicating that the version of the stack
|
|
1027
1029
|
// trying to run does not match with the chip it is running on. The software
|
|
1028
1030
|
// (stack) on the chip must be replaced with software that is compatible
|
|
1029
1031
|
// with the chip.
|
|
1030
|
-
static STACK_AND_HARDWARE_MISMATCH =
|
|
1032
|
+
static STACK_AND_HARDWARE_MISMATCH = 0xb0;
|
|
1031
1033
|
// An index was passed into the function that was larger than the valid
|
|
1032
1034
|
// range.
|
|
1033
|
-
static INDEX_OUT_OF_RANGE =
|
|
1035
|
+
static INDEX_OUT_OF_RANGE = 0xb1;
|
|
1034
1036
|
// There are no empty entries left in the table.
|
|
1035
|
-
static TABLE_FULL =
|
|
1037
|
+
static TABLE_FULL = 0xb4;
|
|
1036
1038
|
// The requested table entry has been erased and contains no valid data.
|
|
1037
|
-
static TABLE_ENTRY_ERASED =
|
|
1039
|
+
static TABLE_ENTRY_ERASED = 0xb6;
|
|
1038
1040
|
// The requested function cannot be executed because the library that
|
|
1039
1041
|
// contains the necessary functionality is not present.
|
|
1040
|
-
static LIBRARY_NOT_PRESENT =
|
|
1042
|
+
static LIBRARY_NOT_PRESENT = 0xb5;
|
|
1041
1043
|
// The stack accepted the command and is currently processing the request.
|
|
1042
1044
|
// The results will be returned via an appropriate handler.
|
|
1043
|
-
static OPERATION_IN_PROGRESS =
|
|
1045
|
+
static OPERATION_IN_PROGRESS = 0xba;
|
|
1044
1046
|
// This error is reserved for customer application use. This will never be
|
|
1045
1047
|
// returned from any portion of the network stack or HAL.
|
|
1046
|
-
static APPLICATION_ERROR_0 =
|
|
1048
|
+
static APPLICATION_ERROR_0 = 0xf0;
|
|
1047
1049
|
// This error is reserved for customer application use. This will never be
|
|
1048
1050
|
// returned from any portion of the network stack or HAL.
|
|
1049
|
-
static APPLICATION_ERROR_1 =
|
|
1051
|
+
static APPLICATION_ERROR_1 = 0xf1;
|
|
1050
1052
|
// This error is reserved for customer application use. This will never be
|
|
1051
1053
|
// returned from any portion of the network stack or HAL.
|
|
1052
|
-
static APPLICATION_ERROR_2 =
|
|
1054
|
+
static APPLICATION_ERROR_2 = 0xf2;
|
|
1053
1055
|
// This error is reserved for customer application use. This will never be
|
|
1054
1056
|
// returned from any portion of the network stack or HAL.
|
|
1055
|
-
static APPLICATION_ERROR_3 =
|
|
1057
|
+
static APPLICATION_ERROR_3 = 0xf3;
|
|
1056
1058
|
// This error is reserved for customer application use. This will never be
|
|
1057
1059
|
// returned from any portion of the network stack or HAL.
|
|
1058
|
-
static APPLICATION_ERROR_4 =
|
|
1060
|
+
static APPLICATION_ERROR_4 = 0xf4;
|
|
1059
1061
|
// This error is reserved for customer application use. This will never be
|
|
1060
1062
|
// returned from any portion of the network stack or HAL.
|
|
1061
|
-
static APPLICATION_ERROR_5 =
|
|
1063
|
+
static APPLICATION_ERROR_5 = 0xf5;
|
|
1062
1064
|
// This error is reserved for customer application use. This will never be
|
|
1063
1065
|
// returned from any portion of the network stack or HAL.
|
|
1064
|
-
static APPLICATION_ERROR_6 =
|
|
1066
|
+
static APPLICATION_ERROR_6 = 0xf6;
|
|
1065
1067
|
// This error is reserved for customer application use. This will never be
|
|
1066
1068
|
// returned from any portion of the network stack or HAL.
|
|
1067
|
-
static APPLICATION_ERROR_7 =
|
|
1069
|
+
static APPLICATION_ERROR_7 = 0xf7;
|
|
1068
1070
|
// This error is reserved for customer application use. This will never be
|
|
1069
1071
|
// returned from any portion of the network stack or HAL.
|
|
1070
|
-
static APPLICATION_ERROR_8 =
|
|
1072
|
+
static APPLICATION_ERROR_8 = 0xf8;
|
|
1071
1073
|
// This error is reserved for customer application use. This will never be
|
|
1072
1074
|
// returned from any portion of the network stack or HAL.
|
|
1073
|
-
static APPLICATION_ERROR_9 =
|
|
1075
|
+
static APPLICATION_ERROR_9 = 0xf9;
|
|
1074
1076
|
// This error is reserved for customer application use. This will never be
|
|
1075
1077
|
// returned from any portion of the network stack or HAL.
|
|
1076
|
-
static APPLICATION_ERROR_10 =
|
|
1078
|
+
static APPLICATION_ERROR_10 = 0xfa;
|
|
1077
1079
|
// This error is reserved for customer application use. This will never be
|
|
1078
1080
|
// returned from any portion of the network stack or HAL.
|
|
1079
|
-
static APPLICATION_ERROR_11 =
|
|
1081
|
+
static APPLICATION_ERROR_11 = 0xfb;
|
|
1080
1082
|
// This error is reserved for customer application use. This will never be
|
|
1081
1083
|
// returned from any portion of the network stack or HAL.
|
|
1082
|
-
static APPLICATION_ERROR_12 =
|
|
1084
|
+
static APPLICATION_ERROR_12 = 0xfc;
|
|
1083
1085
|
// This error is reserved for customer application use. This will never be
|
|
1084
1086
|
// returned from any portion of the network stack or HAL.
|
|
1085
|
-
static APPLICATION_ERROR_13 =
|
|
1087
|
+
static APPLICATION_ERROR_13 = 0xfd;
|
|
1086
1088
|
// This error is reserved for customer application use. This will never be
|
|
1087
1089
|
// returned from any portion of the network stack or HAL.
|
|
1088
|
-
static APPLICATION_ERROR_14 =
|
|
1090
|
+
static APPLICATION_ERROR_14 = 0xfe;
|
|
1089
1091
|
// This error is reserved for customer application use. This will never be
|
|
1090
1092
|
// returned from any portion of the network stack or HAL.
|
|
1091
|
-
static APPLICATION_ERROR_15 =
|
|
1093
|
+
static APPLICATION_ERROR_15 = 0xff;
|
|
1092
1094
|
}
|
|
1093
1095
|
exports.EmberStatus = EmberStatus;
|
|
1094
1096
|
/** define global status variable. */
|
|
@@ -1115,17 +1117,17 @@ class SLStatus extends basic.uint32_t {
|
|
|
1115
1117
|
/** Non-blocking operation would block. */
|
|
1116
1118
|
static SL_STATUS_WOULD_BLOCK = 0x0009;
|
|
1117
1119
|
/** Operation/module is Idle, cannot carry requested operation. */
|
|
1118
|
-
static SL_STATUS_IDLE =
|
|
1120
|
+
static SL_STATUS_IDLE = 0x000a;
|
|
1119
1121
|
/** Operation cannot be done while construct is waiting. */
|
|
1120
|
-
static SL_STATUS_IS_WAITING =
|
|
1122
|
+
static SL_STATUS_IS_WAITING = 0x000b;
|
|
1121
1123
|
/** No task/construct waiting/pending for that action/event. */
|
|
1122
|
-
static SL_STATUS_NONE_WAITING =
|
|
1124
|
+
static SL_STATUS_NONE_WAITING = 0x000c;
|
|
1123
1125
|
/** Operation cannot be done while construct is suspended. */
|
|
1124
|
-
static SL_STATUS_SUSPENDED =
|
|
1126
|
+
static SL_STATUS_SUSPENDED = 0x000d;
|
|
1125
1127
|
/** Feature not available due to software configuration. */
|
|
1126
|
-
static SL_STATUS_NOT_AVAILABLE =
|
|
1128
|
+
static SL_STATUS_NOT_AVAILABLE = 0x000e;
|
|
1127
1129
|
/** Feature not supported. */
|
|
1128
|
-
static SL_STATUS_NOT_SUPPORTED =
|
|
1130
|
+
static SL_STATUS_NOT_SUPPORTED = 0x000f;
|
|
1129
1131
|
/** Initialization failed. */
|
|
1130
1132
|
static SL_STATUS_INITIALIZATION = 0x0010;
|
|
1131
1133
|
/** Module has not been initialized. */
|
|
@@ -1148,17 +1150,17 @@ class SLStatus extends basic.uint32_t {
|
|
|
1148
1150
|
/** Generic allocation error. */
|
|
1149
1151
|
static SL_STATUS_ALLOCATION_FAILED = 0x0019;
|
|
1150
1152
|
/** No more resource available to perform the operation. */
|
|
1151
|
-
static SL_STATUS_NO_MORE_RESOURCE =
|
|
1153
|
+
static SL_STATUS_NO_MORE_RESOURCE = 0x001a;
|
|
1152
1154
|
/** Item/list/queue is empty. */
|
|
1153
|
-
static SL_STATUS_EMPTY =
|
|
1155
|
+
static SL_STATUS_EMPTY = 0x001b;
|
|
1154
1156
|
/** Item/list/queue is full. */
|
|
1155
|
-
static SL_STATUS_FULL =
|
|
1157
|
+
static SL_STATUS_FULL = 0x001c;
|
|
1156
1158
|
/** Item would overflow. */
|
|
1157
|
-
static SL_STATUS_WOULD_OVERFLOW =
|
|
1159
|
+
static SL_STATUS_WOULD_OVERFLOW = 0x001d;
|
|
1158
1160
|
/** Item/list/queue has been overflowed. */
|
|
1159
|
-
static SL_STATUS_HAS_OVERFLOWED =
|
|
1161
|
+
static SL_STATUS_HAS_OVERFLOWED = 0x001e;
|
|
1160
1162
|
/** Generic ownership error. */
|
|
1161
|
-
static SL_STATUS_OWNERSHIP =
|
|
1163
|
+
static SL_STATUS_OWNERSHIP = 0x001f;
|
|
1162
1164
|
/** Already/still owning resource. */
|
|
1163
1165
|
static SL_STATUS_IS_OWNER = 0x0020;
|
|
1164
1166
|
/**Invalid Parameters Errors */
|
|
@@ -1181,18 +1183,18 @@ class SLStatus extends basic.uint32_t {
|
|
|
1181
1183
|
/** Invalid key. */
|
|
1182
1184
|
static SL_STATUS_INVALID_KEY = 0x0029;
|
|
1183
1185
|
/** Invalid credentials. */
|
|
1184
|
-
static SL_STATUS_INVALID_CREDENTIALS =
|
|
1186
|
+
static SL_STATUS_INVALID_CREDENTIALS = 0x002a;
|
|
1185
1187
|
/** Invalid count. */
|
|
1186
|
-
static SL_STATUS_INVALID_COUNT =
|
|
1188
|
+
static SL_STATUS_INVALID_COUNT = 0x002b;
|
|
1187
1189
|
/** Invalid signature / verification failed. */
|
|
1188
|
-
static SL_STATUS_INVALID_SIGNATURE =
|
|
1190
|
+
static SL_STATUS_INVALID_SIGNATURE = 0x002c;
|
|
1189
1191
|
/** Item could not be found. */
|
|
1190
|
-
static SL_STATUS_NOT_FOUND =
|
|
1192
|
+
static SL_STATUS_NOT_FOUND = 0x002d;
|
|
1191
1193
|
/** Item already exists. */
|
|
1192
|
-
static SL_STATUS_ALREADY_EXISTS =
|
|
1194
|
+
static SL_STATUS_ALREADY_EXISTS = 0x002e;
|
|
1193
1195
|
/**IO/Communication Errors */
|
|
1194
1196
|
/** Generic I/O failure. */
|
|
1195
|
-
static SL_STATUS_IO =
|
|
1197
|
+
static SL_STATUS_IO = 0x002f;
|
|
1196
1198
|
/** I/O failure due to timeout. */
|
|
1197
1199
|
static SL_STATUS_IO_TIMEOUT = 0x0030;
|
|
1198
1200
|
/** Generic transmission error. */
|
|
@@ -1213,17 +1215,17 @@ class SLStatus extends basic.uint32_t {
|
|
|
1213
1215
|
static SL_STATUS_MESSAGE_TOO_LONG = 0x0038;
|
|
1214
1216
|
/**EEPROM/Flash Errors */
|
|
1215
1217
|
static SL_STATUS_EEPROM_MFG_VERSION_MISMATCH = 0x0039;
|
|
1216
|
-
static SL_STATUS_EEPROM_STACK_VERSION_MISMATCH =
|
|
1218
|
+
static SL_STATUS_EEPROM_STACK_VERSION_MISMATCH = 0x003a;
|
|
1217
1219
|
/** Flash write is inhibited. */
|
|
1218
|
-
static SL_STATUS_FLASH_WRITE_INHIBITED =
|
|
1220
|
+
static SL_STATUS_FLASH_WRITE_INHIBITED = 0x003b;
|
|
1219
1221
|
/** Flash verification failed. */
|
|
1220
|
-
static SL_STATUS_FLASH_VERIFY_FAILED =
|
|
1222
|
+
static SL_STATUS_FLASH_VERIFY_FAILED = 0x003c;
|
|
1221
1223
|
/** Flash programming failed. */
|
|
1222
|
-
static SL_STATUS_FLASH_PROGRAM_FAILED =
|
|
1224
|
+
static SL_STATUS_FLASH_PROGRAM_FAILED = 0x003d;
|
|
1223
1225
|
/** Flash erase failed. */
|
|
1224
|
-
static SL_STATUS_FLASH_ERASE_FAILED =
|
|
1226
|
+
static SL_STATUS_FLASH_ERASE_FAILED = 0x003e;
|
|
1225
1227
|
/**MAC Errors */
|
|
1226
|
-
static SL_STATUS_MAC_NO_DATA =
|
|
1228
|
+
static SL_STATUS_MAC_NO_DATA = 0x003f;
|
|
1227
1229
|
static SL_STATUS_MAC_NO_ACK_RECEIVED = 0x0040;
|
|
1228
1230
|
static SL_STATUS_MAC_INDIRECT_TIMEOUT = 0x0041;
|
|
1229
1231
|
static SL_STATUS_MAC_UNKNOWN_HEADER_TYPE = 0x0042;
|
|
@@ -1243,16 +1245,16 @@ class SLStatus extends basic.uint32_t {
|
|
|
1243
1245
|
/** Command or parameter maximum length exceeded */
|
|
1244
1246
|
static SL_STATUS_COMMAND_TOO_LONG = 0x0049;
|
|
1245
1247
|
/** Data received does not form a complete command */
|
|
1246
|
-
static SL_STATUS_COMMAND_INCOMPLETE =
|
|
1248
|
+
static SL_STATUS_COMMAND_INCOMPLETE = 0x004a;
|
|
1247
1249
|
/**Misc Errors */
|
|
1248
1250
|
/** Bus error, e.g. invalid DMA address */
|
|
1249
|
-
static SL_STATUS_BUS_ERROR =
|
|
1251
|
+
static SL_STATUS_BUS_ERROR = 0x004b;
|
|
1250
1252
|
/**Unified MAC Errors */
|
|
1251
|
-
static SL_STATUS_CCA_FAILURE =
|
|
1253
|
+
static SL_STATUS_CCA_FAILURE = 0x004c;
|
|
1252
1254
|
/**Scan errors */
|
|
1253
|
-
static SL_STATUS_MAC_SCANNING =
|
|
1254
|
-
static SL_STATUS_MAC_INCORRECT_SCAN_TYPE =
|
|
1255
|
-
static SL_STATUS_INVALID_CHANNEL_MASK =
|
|
1255
|
+
static SL_STATUS_MAC_SCANNING = 0x004d;
|
|
1256
|
+
static SL_STATUS_MAC_INCORRECT_SCAN_TYPE = 0x004e;
|
|
1257
|
+
static SL_STATUS_INVALID_CHANNEL_MASK = 0x004f;
|
|
1256
1258
|
static SL_STATUS_BAD_SCAN_DURATION = 0x0050;
|
|
1257
1259
|
/**Bluetooth status codes */
|
|
1258
1260
|
/** Bonding procedure can't be started because device has no space */
|
|
@@ -1269,20 +1271,20 @@ class SLStatus extends basic.uint32_t {
|
|
|
1269
1271
|
/** Data was corrupted. */
|
|
1270
1272
|
static SL_STATUS_BT_DATA_CORRUPTED = 0x0408;
|
|
1271
1273
|
/** Invalid periodic advertising sync handle */
|
|
1272
|
-
static SL_STATUS_BT_INVALID_SYNC_HANDLE =
|
|
1274
|
+
static SL_STATUS_BT_INVALID_SYNC_HANDLE = 0x040a;
|
|
1273
1275
|
/** Bluetooth cannot be used on this hardware */
|
|
1274
|
-
static SL_STATUS_BT_INVALID_MODULE_ACTION =
|
|
1276
|
+
static SL_STATUS_BT_INVALID_MODULE_ACTION = 0x040b;
|
|
1275
1277
|
/** Error received from radio */
|
|
1276
|
-
static SL_STATUS_BT_RADIO =
|
|
1278
|
+
static SL_STATUS_BT_RADIO = 0x040c;
|
|
1277
1279
|
/** Returned when remote disconnects the connection-oriented channel by sending */
|
|
1278
1280
|
/** disconnection request. */
|
|
1279
|
-
static SL_STATUS_BT_L2CAP_REMOTE_DISCONNECTED =
|
|
1281
|
+
static SL_STATUS_BT_L2CAP_REMOTE_DISCONNECTED = 0x040d;
|
|
1280
1282
|
/** Returned when local host disconnect the connection-oriented channel by sending */
|
|
1281
1283
|
/** disconnection request. */
|
|
1282
|
-
static SL_STATUS_BT_L2CAP_LOCAL_DISCONNECTED =
|
|
1284
|
+
static SL_STATUS_BT_L2CAP_LOCAL_DISCONNECTED = 0x040e;
|
|
1283
1285
|
/** Returned when local host did not find a connection-oriented channel with given */
|
|
1284
1286
|
/** destination CID. */
|
|
1285
|
-
static SL_STATUS_BT_L2CAP_CID_NOT_EXIST =
|
|
1287
|
+
static SL_STATUS_BT_L2CAP_CID_NOT_EXIST = 0x040f;
|
|
1286
1288
|
/** Returned when connection-oriented channel disconnected due to LE connection is dropped. */
|
|
1287
1289
|
static SL_STATUS_BT_L2CAP_LE_DISCONNECTED = 0x0410;
|
|
1288
1290
|
/** Returned when connection-oriented channel disconnected due to remote end send data */
|
|
@@ -1304,13 +1306,13 @@ class SLStatus extends basic.uint32_t {
|
|
|
1304
1306
|
/** for L2CAP channel's current state. */
|
|
1305
1307
|
static SL_STATUS_BT_L2CAP_WRONG_STATE = 0x0417;
|
|
1306
1308
|
/** Flash reserved for PS store is full */
|
|
1307
|
-
static SL_STATUS_BT_PS_STORE_FULL =
|
|
1309
|
+
static SL_STATUS_BT_PS_STORE_FULL = 0x041b;
|
|
1308
1310
|
/** PS key not found */
|
|
1309
|
-
static SL_STATUS_BT_PS_KEY_NOT_FOUND =
|
|
1311
|
+
static SL_STATUS_BT_PS_KEY_NOT_FOUND = 0x041c;
|
|
1310
1312
|
/** Mismatched or insufficient security level */
|
|
1311
|
-
static SL_STATUS_BT_APPLICATION_MISMATCHED_OR_INSUFFICIENT_SECURITY =
|
|
1313
|
+
static SL_STATUS_BT_APPLICATION_MISMATCHED_OR_INSUFFICIENT_SECURITY = 0x041d;
|
|
1312
1314
|
/** Encrypion/decryption operation failed. */
|
|
1313
|
-
static SL_STATUS_BT_APPLICATION_ENCRYPTION_DECRYPTION_ERROR =
|
|
1315
|
+
static SL_STATUS_BT_APPLICATION_ENCRYPTION_DECRYPTION_ERROR = 0x041e;
|
|
1314
1316
|
/**Bluetooth controller status codes */
|
|
1315
1317
|
/** Connection does not exist, or connection open request was cancelled. */
|
|
1316
1318
|
static SL_STATUS_BT_CTRL_UNKNOWN_CONNECTION_IDENTIFIER = 0x1002;
|
|
@@ -1328,23 +1330,23 @@ class SLStatus extends basic.uint32_t {
|
|
|
1328
1330
|
/** The Synchronous Connection Limit to a Device Exceeded error code indicates that */
|
|
1329
1331
|
/** the Controller has reached the limit to the number of synchronous connections that */
|
|
1330
1332
|
/** can be achieved to a device. */
|
|
1331
|
-
static SL_STATUS_BT_CTRL_SYNCHRONOUS_CONNECTION_LIMIT_EXCEEDED =
|
|
1333
|
+
static SL_STATUS_BT_CTRL_SYNCHRONOUS_CONNECTION_LIMIT_EXCEEDED = 0x100a;
|
|
1332
1334
|
/** The ACL Connection Already Exists error code indicates that an attempt to create */
|
|
1333
1335
|
/** a new ACL Connection to a device when there is already a connection to this device. */
|
|
1334
|
-
static SL_STATUS_BT_CTRL_ACL_CONNECTION_ALREADY_EXISTS =
|
|
1336
|
+
static SL_STATUS_BT_CTRL_ACL_CONNECTION_ALREADY_EXISTS = 0x100b;
|
|
1335
1337
|
/** Command requested cannot be executed because the Controller is in a state where */
|
|
1336
1338
|
/** it cannot process this command at this time. */
|
|
1337
|
-
static SL_STATUS_BT_CTRL_COMMAND_DISALLOWED =
|
|
1339
|
+
static SL_STATUS_BT_CTRL_COMMAND_DISALLOWED = 0x100c;
|
|
1338
1340
|
/** The Connection Rejected Due To Limited Resources error code indicates that an */
|
|
1339
1341
|
/** incoming connection was rejected due to limited resources. */
|
|
1340
|
-
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_LIMITED_RESOURCES =
|
|
1342
|
+
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_LIMITED_RESOURCES = 0x100d;
|
|
1341
1343
|
/** The Connection Rejected Due To Security Reasons error code indicates that a */
|
|
1342
1344
|
/** connection was rejected due to security requirements not being fulfilled, like */
|
|
1343
1345
|
/** authentication or pairing. */
|
|
1344
|
-
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS =
|
|
1346
|
+
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS = 0x100e;
|
|
1345
1347
|
/** The Connection was rejected because this device does not accept the BD_ADDR. */
|
|
1346
1348
|
/** This may be because the device will only accept connections from specific BD_ADDRs. */
|
|
1347
|
-
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_UNACCEPTABLE_BD_ADDR =
|
|
1349
|
+
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_UNACCEPTABLE_BD_ADDR = 0x100f;
|
|
1348
1350
|
/** The Connection Accept Timeout has been exceeded for this connection attempt. */
|
|
1349
1351
|
static SL_STATUS_BT_CTRL_CONNECTION_ACCEPT_TIMEOUT_EXCEEDED = 0x1010;
|
|
1350
1352
|
/** A feature or parameter value in the HCI command is not supported. */
|
|
@@ -1366,9 +1368,9 @@ class SLStatus extends basic.uint32_t {
|
|
|
1366
1368
|
/** allows pairing during a certain time window after some user input allows pairing */
|
|
1367
1369
|
static SL_STATUS_BT_CTRL_PAIRING_NOT_ALLOWED = 0x1018;
|
|
1368
1370
|
/** The remote device does not support the feature associated with the issued command. */
|
|
1369
|
-
static SL_STATUS_BT_CTRL_UNSUPPORTED_REMOTE_FEATURE =
|
|
1371
|
+
static SL_STATUS_BT_CTRL_UNSUPPORTED_REMOTE_FEATURE = 0x101a;
|
|
1370
1372
|
/** No other error code specified is appropriate to use. */
|
|
1371
|
-
static SL_STATUS_BT_CTRL_UNSPECIFIED_ERROR =
|
|
1373
|
+
static SL_STATUS_BT_CTRL_UNSPECIFIED_ERROR = 0x101f;
|
|
1372
1374
|
/** Connection terminated due to link-layer procedure timeout. */
|
|
1373
1375
|
static SL_STATUS_BT_CTRL_LL_RESPONSE_TIMEOUT = 0x1022;
|
|
1374
1376
|
/** LL procedure has collided with the same transaction or procedure that is already */
|
|
@@ -1384,11 +1386,11 @@ class SLStatus extends basic.uint32_t {
|
|
|
1384
1386
|
/** It was not possible to pair as a unit key was requested and it is not supported. */
|
|
1385
1387
|
static SL_STATUS_BT_CTRL_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED = 0x1029;
|
|
1386
1388
|
/** LMP transaction was started that collides with an ongoing transaction. */
|
|
1387
|
-
static SL_STATUS_BT_CTRL_DIFFERENT_TRANSACTION_COLLISION =
|
|
1389
|
+
static SL_STATUS_BT_CTRL_DIFFERENT_TRANSACTION_COLLISION = 0x102a;
|
|
1388
1390
|
/** The Controller cannot perform channel assessment because it is not supported. */
|
|
1389
|
-
static SL_STATUS_BT_CTRL_CHANNEL_ASSESSMENT_NOT_SUPPORTED =
|
|
1391
|
+
static SL_STATUS_BT_CTRL_CHANNEL_ASSESSMENT_NOT_SUPPORTED = 0x102e;
|
|
1390
1392
|
/** The HCI command or LMP PDU sent is only possible on an encrypted link. */
|
|
1391
|
-
static SL_STATUS_BT_CTRL_INSUFFICIENT_SECURITY =
|
|
1393
|
+
static SL_STATUS_BT_CTRL_INSUFFICIENT_SECURITY = 0x102f;
|
|
1392
1394
|
/** A parameter value requested is outside the mandatory range of parameters for the */
|
|
1393
1395
|
/** given HCI command or LMP PDU. */
|
|
1394
1396
|
static SL_STATUS_BT_CTRL_PARAMETER_OUT_OF_MANDATORY_RANGE = 0x1030;
|
|
@@ -1401,20 +1403,20 @@ class SLStatus extends basic.uint32_t {
|
|
|
1401
1403
|
/** The Controller could not calculate an appropriate value for the Channel selection operation. */
|
|
1402
1404
|
static SL_STATUS_BT_CTRL_CONNECTION_REJECTED_DUE_TO_NO_SUITABLE_CHANNEL_FOUND = 0x1039;
|
|
1403
1405
|
/** Operation was rejected because the controller is busy and unable to process the request. */
|
|
1404
|
-
static SL_STATUS_BT_CTRL_CONTROLLER_BUSY =
|
|
1406
|
+
static SL_STATUS_BT_CTRL_CONTROLLER_BUSY = 0x103a;
|
|
1405
1407
|
/** Remote device terminated the connection because of an unacceptable connection interval. */
|
|
1406
|
-
static SL_STATUS_BT_CTRL_UNACCEPTABLE_CONNECTION_INTERVAL =
|
|
1408
|
+
static SL_STATUS_BT_CTRL_UNACCEPTABLE_CONNECTION_INTERVAL = 0x103b;
|
|
1407
1409
|
/** Ddvertising for a fixed duration completed or, for directed advertising, that advertising */
|
|
1408
1410
|
/** completed without a connection being created. */
|
|
1409
|
-
static SL_STATUS_BT_CTRL_ADVERTISING_TIMEOUT =
|
|
1411
|
+
static SL_STATUS_BT_CTRL_ADVERTISING_TIMEOUT = 0x103c;
|
|
1410
1412
|
/** Connection was terminated because the Message Integrity Check (MIC) failed on a */
|
|
1411
1413
|
/** received packet. */
|
|
1412
|
-
static SL_STATUS_BT_CTRL_CONNECTION_TERMINATED_DUE_TO_MIC_FAILURE =
|
|
1414
|
+
static SL_STATUS_BT_CTRL_CONNECTION_TERMINATED_DUE_TO_MIC_FAILURE = 0x103d;
|
|
1413
1415
|
/** LL initiated a connection but the connection has failed to be established. Controller did not receive */
|
|
1414
1416
|
/** any packets from remote end. */
|
|
1415
|
-
static SL_STATUS_BT_CTRL_CONNECTION_FAILED_TO_BE_ESTABLISHED =
|
|
1417
|
+
static SL_STATUS_BT_CTRL_CONNECTION_FAILED_TO_BE_ESTABLISHED = 0x103e;
|
|
1416
1418
|
/** The MAC of the 802.11 AMP was requested to connect to a peer, but the connection failed. */
|
|
1417
|
-
static SL_STATUS_BT_CTRL_MAC_CONNECTION_FAILED =
|
|
1419
|
+
static SL_STATUS_BT_CTRL_MAC_CONNECTION_FAILED = 0x103f;
|
|
1418
1420
|
/** The master, at this time, is unable to make a coarse adjustment to the piconet clock, */
|
|
1419
1421
|
/** using the supplied parameters. Instead the master will attempt to move the clock using clock dragging. */
|
|
1420
1422
|
static SL_STATUS_BT_CTRL_COARSE_CLOCK_ADJUSTMENT_REJECTED_BUT_WILL_TRY_TO_ADJUST_USING_CLOCK_DRAGGING = 0x1040;
|
|
@@ -1448,18 +1450,18 @@ class SLStatus extends basic.uint32_t {
|
|
|
1448
1450
|
/** Too many prepare writes have been queued */
|
|
1449
1451
|
static SL_STATUS_BT_ATT_PREPARE_QUEUE_FULL = 0x1109;
|
|
1450
1452
|
/** No attribute found within the given attribute handle range. */
|
|
1451
|
-
static SL_STATUS_BT_ATT_ATT_NOT_FOUND =
|
|
1453
|
+
static SL_STATUS_BT_ATT_ATT_NOT_FOUND = 0x110a;
|
|
1452
1454
|
/** The attribute cannot be read or written using the Read Blob Request */
|
|
1453
|
-
static SL_STATUS_BT_ATT_ATT_NOT_LONG =
|
|
1455
|
+
static SL_STATUS_BT_ATT_ATT_NOT_LONG = 0x110b;
|
|
1454
1456
|
/** The Encryption Key Size used for encrypting this link is insufficient. */
|
|
1455
|
-
static SL_STATUS_BT_ATT_INSUFFICIENT_ENC_KEY_SIZE =
|
|
1457
|
+
static SL_STATUS_BT_ATT_INSUFFICIENT_ENC_KEY_SIZE = 0x110c;
|
|
1456
1458
|
/** The attribute value length is invalid for the operation */
|
|
1457
|
-
static SL_STATUS_BT_ATT_INVALID_ATT_LENGTH =
|
|
1459
|
+
static SL_STATUS_BT_ATT_INVALID_ATT_LENGTH = 0x110d;
|
|
1458
1460
|
/** The attribute request that was requested has encountered an error that was unlikely, and */
|
|
1459
1461
|
/** therefore could not be completed as requested. */
|
|
1460
|
-
static SL_STATUS_BT_ATT_UNLIKELY_ERROR =
|
|
1462
|
+
static SL_STATUS_BT_ATT_UNLIKELY_ERROR = 0x110e;
|
|
1461
1463
|
/** The attribute requires encryption before it can be read or written. */
|
|
1462
|
-
static SL_STATUS_BT_ATT_INSUFFICIENT_ENCRYPTION =
|
|
1464
|
+
static SL_STATUS_BT_ATT_INSUFFICIENT_ENCRYPTION = 0x110f;
|
|
1463
1465
|
/** The attribute type is not a supported grouping attribute as defined by a higher layer */
|
|
1464
1466
|
/** specification. */
|
|
1465
1467
|
static SL_STATUS_BT_ATT_UNSUPPORTED_GROUP_TYPE = 0x1110;
|
|
@@ -1473,15 +1475,15 @@ class SLStatus extends basic.uint32_t {
|
|
|
1473
1475
|
/** value of a user attribute from the GATT databa */
|
|
1474
1476
|
static SL_STATUS_BT_ATT_APPLICATION = 0x1180;
|
|
1475
1477
|
/** The requested write operation cannot be fulfilled for reasons other than permissions. */
|
|
1476
|
-
static SL_STATUS_BT_ATT_WRITE_REQUEST_REJECTED =
|
|
1478
|
+
static SL_STATUS_BT_ATT_WRITE_REQUEST_REJECTED = 0x11fc;
|
|
1477
1479
|
/** The Client Characteristic Configuration descriptor is not configured according to the */
|
|
1478
1480
|
/** requirements of the profile or service. */
|
|
1479
|
-
static SL_STATUS_BT_ATT_CLIENT_CHARACTERISTIC_CONFIGURATION_DESCRIPTOR_IMPROPERLY_CONFIGURED =
|
|
1481
|
+
static SL_STATUS_BT_ATT_CLIENT_CHARACTERISTIC_CONFIGURATION_DESCRIPTOR_IMPROPERLY_CONFIGURED = 0x11fd;
|
|
1480
1482
|
/** The profile or service request cannot be serviced because an operation that has been */
|
|
1481
1483
|
/** previously triggered is still in progress. */
|
|
1482
|
-
static SL_STATUS_BT_ATT_PROCEDURE_ALREADY_IN_PROGRESS =
|
|
1484
|
+
static SL_STATUS_BT_ATT_PROCEDURE_ALREADY_IN_PROGRESS = 0x11fe;
|
|
1483
1485
|
/** The attribute value is out of range as defined by a profile or service specification. */
|
|
1484
|
-
static SL_STATUS_BT_ATT_OUT_OF_RANGE =
|
|
1486
|
+
static SL_STATUS_BT_ATT_OUT_OF_RANGE = 0x11ff;
|
|
1485
1487
|
/**Bluetooth Security Manager Protocol status codes */
|
|
1486
1488
|
/** The user input of passkey failed, for example, the user cancelled the operation */
|
|
1487
1489
|
static SL_STATUS_BT_SMP_PASSKEY_ENTRY_FAILED = 0x1201;
|
|
@@ -1505,20 +1507,20 @@ class SLStatus extends basic.uint32_t {
|
|
|
1505
1507
|
static SL_STATUS_BT_SMP_REPEATED_ATTEMPTS = 0x1209;
|
|
1506
1508
|
/** The Invalid Parameters error code indicates: the command length is invalid or a parameter */
|
|
1507
1509
|
/** is outside of the specified range. */
|
|
1508
|
-
static SL_STATUS_BT_SMP_INVALID_PARAMETERS =
|
|
1510
|
+
static SL_STATUS_BT_SMP_INVALID_PARAMETERS = 0x120a;
|
|
1509
1511
|
/** Indicates to the remote device that the DHKey Check value received doesn't match the one */
|
|
1510
1512
|
/** calculated by the local device. */
|
|
1511
|
-
static SL_STATUS_BT_SMP_DHKEY_CHECK_FAILED =
|
|
1513
|
+
static SL_STATUS_BT_SMP_DHKEY_CHECK_FAILED = 0x120b;
|
|
1512
1514
|
/** Indicates that the confirm values in the numeric comparison protocol do not match. */
|
|
1513
|
-
static SL_STATUS_BT_SMP_NUMERIC_COMPARISON_FAILED =
|
|
1515
|
+
static SL_STATUS_BT_SMP_NUMERIC_COMPARISON_FAILED = 0x120c;
|
|
1514
1516
|
/** Indicates that the pairing over the LE transport failed due to a Pairing Request */
|
|
1515
1517
|
/** sent over the BR/EDR transport in process. */
|
|
1516
|
-
static SL_STATUS_BT_SMP_BREDR_PAIRING_IN_PROGRESS =
|
|
1518
|
+
static SL_STATUS_BT_SMP_BREDR_PAIRING_IN_PROGRESS = 0x120d;
|
|
1517
1519
|
/** Indicates that the BR/EDR Link Key generated on the BR/EDR transport cannot be used */
|
|
1518
1520
|
/** to derive and distribute keys for the LE transport. */
|
|
1519
|
-
static SL_STATUS_BT_SMP_CROSS_TRANSPORT_KEY_DERIVATION_GENERATION_NOT_ALLOWED =
|
|
1521
|
+
static SL_STATUS_BT_SMP_CROSS_TRANSPORT_KEY_DERIVATION_GENERATION_NOT_ALLOWED = 0x120e;
|
|
1520
1522
|
/** Indicates that the device chose not to accept a distributed key. */
|
|
1521
|
-
static SL_STATUS_BT_SMP_KEY_REJECTED =
|
|
1523
|
+
static SL_STATUS_BT_SMP_KEY_REJECTED = 0x120f;
|
|
1522
1524
|
/**Bluetooth Mesh status codes */
|
|
1523
1525
|
/** Returned when trying to add a key or some other unique resource with an ID which already exists */
|
|
1524
1526
|
static SL_STATUS_BT_MESH_ALREADY_EXISTS = 0x0501;
|
|
@@ -1544,18 +1546,18 @@ class SLStatus extends basic.uint32_t {
|
|
|
1544
1546
|
/** Provisioning link was unexpectedly closed before provisioning was complete. */
|
|
1545
1547
|
static SL_STATUS_BT_MESH_PROV_LINK_CLOSED = 0x0509;
|
|
1546
1548
|
/** An unrecognized provisioning PDU was received. */
|
|
1547
|
-
static SL_STATUS_BT_MESH_PROV_INVALID_PDU =
|
|
1549
|
+
static SL_STATUS_BT_MESH_PROV_INVALID_PDU = 0x050a;
|
|
1548
1550
|
/** A provisioning PDU with wrong length or containing field values that are out of */
|
|
1549
1551
|
/** bounds was received. */
|
|
1550
|
-
static SL_STATUS_BT_MESH_PROV_INVALID_PDU_FORMAT =
|
|
1552
|
+
static SL_STATUS_BT_MESH_PROV_INVALID_PDU_FORMAT = 0x050b;
|
|
1551
1553
|
/** An unexpected (out of sequence) provisioning PDU was received. */
|
|
1552
|
-
static SL_STATUS_BT_MESH_PROV_UNEXPECTED_PDU =
|
|
1554
|
+
static SL_STATUS_BT_MESH_PROV_UNEXPECTED_PDU = 0x050c;
|
|
1553
1555
|
/** The computed confirmation value did not match the expected value. */
|
|
1554
|
-
static SL_STATUS_BT_MESH_PROV_CONFIRMATION_FAILED =
|
|
1556
|
+
static SL_STATUS_BT_MESH_PROV_CONFIRMATION_FAILED = 0x050d;
|
|
1555
1557
|
/** Provisioning could not be continued due to insufficient resources. */
|
|
1556
|
-
static SL_STATUS_BT_MESH_PROV_OUT_OF_RESOURCES =
|
|
1558
|
+
static SL_STATUS_BT_MESH_PROV_OUT_OF_RESOURCES = 0x050e;
|
|
1557
1559
|
/** The provisioning data block could not be decrypted. */
|
|
1558
|
-
static SL_STATUS_BT_MESH_PROV_DECRYPTION_FAILED =
|
|
1560
|
+
static SL_STATUS_BT_MESH_PROV_DECRYPTION_FAILED = 0x050f;
|
|
1559
1561
|
/** An unexpected error happened during provisioning. */
|
|
1560
1562
|
static SL_STATUS_BT_MESH_PROV_UNEXPECTED_ERROR = 0x0510;
|
|
1561
1563
|
/** Device could not assign unicast addresses to all of its elements. */
|
|
@@ -1591,65 +1593,65 @@ class SLStatus extends basic.uint32_t {
|
|
|
1591
1593
|
/** Returned when storing of the requested parameters failed */
|
|
1592
1594
|
static SL_STATUS_BT_MESH_FOUNDATION_STORAGE_FAILURE = 0x1309;
|
|
1593
1595
|
/** Returned when requested setting is not supported */
|
|
1594
|
-
static SL_STATUS_BT_MESH_FOUNDATION_NOT_SUPPORTED =
|
|
1596
|
+
static SL_STATUS_BT_MESH_FOUNDATION_NOT_SUPPORTED = 0x130a;
|
|
1595
1597
|
/** Returned when the requested update operation cannot be performed due to general constraints */
|
|
1596
|
-
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_UPDATE =
|
|
1598
|
+
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_UPDATE = 0x130b;
|
|
1597
1599
|
/** Returned when the requested delete operation cannot be performed due to general constraints */
|
|
1598
|
-
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_REMOVE =
|
|
1600
|
+
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_REMOVE = 0x130c;
|
|
1599
1601
|
/** Returned when the requested bind operation cannot be performed due to general constraints */
|
|
1600
|
-
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_BIND =
|
|
1602
|
+
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_BIND = 0x130d;
|
|
1601
1603
|
/** Returned when The node cannot start advertising with Node Identity or Proxy since the */
|
|
1602
1604
|
/** maximum number of parallel advertising is reached */
|
|
1603
|
-
static SL_STATUS_BT_MESH_FOUNDATION_TEMPORARILY_UNABLE =
|
|
1605
|
+
static SL_STATUS_BT_MESH_FOUNDATION_TEMPORARILY_UNABLE = 0x130e;
|
|
1604
1606
|
/** Returned when the requested state cannot be set */
|
|
1605
|
-
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_SET =
|
|
1607
|
+
static SL_STATUS_BT_MESH_FOUNDATION_CANNOT_SET = 0x130f;
|
|
1606
1608
|
/** Returned when an unspecified error took place */
|
|
1607
1609
|
static SL_STATUS_BT_MESH_FOUNDATION_UNSPECIFIED = 0x1310;
|
|
1608
1610
|
/** Returned when the NetKeyIndex and AppKeyIndex combination is not valid for a Config AppKey Update */
|
|
1609
1611
|
static SL_STATUS_BT_MESH_FOUNDATION_INVALID_BINDING = 0x1311;
|
|
1610
1612
|
/**Wi-Fi Errors */
|
|
1611
1613
|
/** Invalid firmware keyset */
|
|
1612
|
-
static SL_STATUS_WIFI_INVALID_KEY =
|
|
1614
|
+
static SL_STATUS_WIFI_INVALID_KEY = 0x0b01;
|
|
1613
1615
|
/** The firmware download took too long */
|
|
1614
|
-
static SL_STATUS_WIFI_FIRMWARE_DOWNLOAD_TIMEOUT =
|
|
1616
|
+
static SL_STATUS_WIFI_FIRMWARE_DOWNLOAD_TIMEOUT = 0x0b02;
|
|
1615
1617
|
/** Unknown request ID or wrong interface ID used */
|
|
1616
|
-
static SL_STATUS_WIFI_UNSUPPORTED_MESSAGE_ID =
|
|
1618
|
+
static SL_STATUS_WIFI_UNSUPPORTED_MESSAGE_ID = 0x0b03;
|
|
1617
1619
|
/** The request is successful but some parameters have been ignored */
|
|
1618
|
-
static SL_STATUS_WIFI_WARNING =
|
|
1620
|
+
static SL_STATUS_WIFI_WARNING = 0x0b04;
|
|
1619
1621
|
/** No Packets waiting to be received */
|
|
1620
|
-
static SL_STATUS_WIFI_NO_PACKET_TO_RECEIVE =
|
|
1622
|
+
static SL_STATUS_WIFI_NO_PACKET_TO_RECEIVE = 0x0b05;
|
|
1621
1623
|
/** The sleep mode is granted */
|
|
1622
|
-
static SL_STATUS_WIFI_SLEEP_GRANTED =
|
|
1624
|
+
static SL_STATUS_WIFI_SLEEP_GRANTED = 0x0b08;
|
|
1623
1625
|
/** The WFx does not go back to sleep */
|
|
1624
|
-
static SL_STATUS_WIFI_SLEEP_NOT_GRANTED =
|
|
1626
|
+
static SL_STATUS_WIFI_SLEEP_NOT_GRANTED = 0x0b09;
|
|
1625
1627
|
/** The SecureLink MAC key was not found */
|
|
1626
|
-
static SL_STATUS_WIFI_SECURE_LINK_MAC_KEY_ERROR =
|
|
1628
|
+
static SL_STATUS_WIFI_SECURE_LINK_MAC_KEY_ERROR = 0x0b10;
|
|
1627
1629
|
/** The SecureLink MAC key is already installed in OTP */
|
|
1628
|
-
static SL_STATUS_WIFI_SECURE_LINK_MAC_KEY_ALREADY_BURNED =
|
|
1630
|
+
static SL_STATUS_WIFI_SECURE_LINK_MAC_KEY_ALREADY_BURNED = 0x0b11;
|
|
1629
1631
|
/** The SecureLink MAC key cannot be installed in RAM */
|
|
1630
|
-
static SL_STATUS_WIFI_SECURE_LINK_RAM_MODE_NOT_ALLOWED =
|
|
1632
|
+
static SL_STATUS_WIFI_SECURE_LINK_RAM_MODE_NOT_ALLOWED = 0x0b12;
|
|
1631
1633
|
/** The SecureLink MAC key installation failed */
|
|
1632
|
-
static SL_STATUS_WIFI_SECURE_LINK_FAILED_UNKNOWN_MODE =
|
|
1634
|
+
static SL_STATUS_WIFI_SECURE_LINK_FAILED_UNKNOWN_MODE = 0x0b13;
|
|
1633
1635
|
/** SecureLink key (re)negotiation failed */
|
|
1634
|
-
static SL_STATUS_WIFI_SECURE_LINK_EXCHANGE_FAILED =
|
|
1636
|
+
static SL_STATUS_WIFI_SECURE_LINK_EXCHANGE_FAILED = 0x0b14;
|
|
1635
1637
|
/** The device is in an inappropriate state to perform the request */
|
|
1636
|
-
static SL_STATUS_WIFI_WRONG_STATE =
|
|
1638
|
+
static SL_STATUS_WIFI_WRONG_STATE = 0x0b18;
|
|
1637
1639
|
/** The request failed due to regulatory limitations */
|
|
1638
|
-
static SL_STATUS_WIFI_CHANNEL_NOT_ALLOWED =
|
|
1640
|
+
static SL_STATUS_WIFI_CHANNEL_NOT_ALLOWED = 0x0b19;
|
|
1639
1641
|
/** The connection request failed because no suitable AP was found */
|
|
1640
|
-
static SL_STATUS_WIFI_NO_MATCHING_AP =
|
|
1642
|
+
static SL_STATUS_WIFI_NO_MATCHING_AP = 0x0b1a;
|
|
1641
1643
|
/** The connection request was aborted by host */
|
|
1642
|
-
static SL_STATUS_WIFI_CONNECTION_ABORTED =
|
|
1644
|
+
static SL_STATUS_WIFI_CONNECTION_ABORTED = 0x0b1b;
|
|
1643
1645
|
/** The connection request failed because of a timeout */
|
|
1644
|
-
static SL_STATUS_WIFI_CONNECTION_TIMEOUT =
|
|
1646
|
+
static SL_STATUS_WIFI_CONNECTION_TIMEOUT = 0x0b1c;
|
|
1645
1647
|
/** The connection request failed because the AP rejected the device */
|
|
1646
|
-
static SL_STATUS_WIFI_CONNECTION_REJECTED_BY_AP =
|
|
1648
|
+
static SL_STATUS_WIFI_CONNECTION_REJECTED_BY_AP = 0x0b1d;
|
|
1647
1649
|
/** The connection request failed because the WPA handshake did not complete successfully */
|
|
1648
|
-
static SL_STATUS_WIFI_CONNECTION_AUTH_FAILURE =
|
|
1650
|
+
static SL_STATUS_WIFI_CONNECTION_AUTH_FAILURE = 0x0b1e;
|
|
1649
1651
|
/** The request failed because the retry limit was exceeded */
|
|
1650
|
-
static SL_STATUS_WIFI_RETRY_EXCEEDED =
|
|
1652
|
+
static SL_STATUS_WIFI_RETRY_EXCEEDED = 0x0b1f;
|
|
1651
1653
|
/** The request failed because the MSDU life time was exceeded */
|
|
1652
|
-
static SL_STATUS_WIFI_TX_LIFETIME_EXCEEDED =
|
|
1654
|
+
static SL_STATUS_WIFI_TX_LIFETIME_EXCEEDED = 0x0b20;
|
|
1653
1655
|
}
|
|
1654
1656
|
exports.SLStatus = SLStatus;
|
|
1655
1657
|
class EmberStackError extends basic.uint8_t {
|
|
@@ -1664,12 +1666,12 @@ class EmberStackError extends basic.uint8_t {
|
|
|
1664
1666
|
static EMBER_ROUTE_ERROR_TARGET_DEVICE_UNAVAILABLE = 0x07;
|
|
1665
1667
|
static EMBER_ROUTE_ERROR_TARGET_ADDRESS_UNALLOCATED = 0x08;
|
|
1666
1668
|
static EMBER_ROUTE_ERROR_PARENT_LINK_FAILURE = 0x09;
|
|
1667
|
-
static EMBER_ROUTE_ERROR_VALIDATE_ROUTE =
|
|
1668
|
-
static EMBER_ROUTE_ERROR_SOURCE_ROUTE_FAILURE =
|
|
1669
|
-
static EMBER_ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE =
|
|
1670
|
-
static EMBER_ROUTE_ERROR_ADDRESS_CONFLICT =
|
|
1671
|
-
static EMBER_ROUTE_ERROR_VERIFY_ADDRESSES =
|
|
1672
|
-
static EMBER_ROUTE_ERROR_PAN_IDENTIFIER_UPDATE =
|
|
1669
|
+
static EMBER_ROUTE_ERROR_VALIDATE_ROUTE = 0x0a;
|
|
1670
|
+
static EMBER_ROUTE_ERROR_SOURCE_ROUTE_FAILURE = 0x0b;
|
|
1671
|
+
static EMBER_ROUTE_ERROR_MANY_TO_ONE_ROUTE_FAILURE = 0x0c;
|
|
1672
|
+
static EMBER_ROUTE_ERROR_ADDRESS_CONFLICT = 0x0d;
|
|
1673
|
+
static EMBER_ROUTE_ERROR_VERIFY_ADDRESSES = 0x0e;
|
|
1674
|
+
static EMBER_ROUTE_ERROR_PAN_IDENTIFIER_UPDATE = 0x0f;
|
|
1673
1675
|
static ZIGBEE_NETWORK_STATUS_NETWORK_ADDRESS_UPDATE = 0x10;
|
|
1674
1676
|
static ZIGBEE_NETWORK_STATUS_BAD_FRAME_COUNTER = 0x11;
|
|
1675
1677
|
static ZIGBEE_NETWORK_STATUS_BAD_KEY_SEQUENCE_NUMBER = 0x12;
|
|
@@ -1982,12 +1984,12 @@ class EmberKeyStatus extends basic.uint8_t {
|
|
|
1982
1984
|
static TC_APP_KEY_SENT_TO_REQUESTER = 0x07;
|
|
1983
1985
|
static TC_RESPONSE_TO_KEY_REQUEST_FAILED = 0x08;
|
|
1984
1986
|
static TC_REQUEST_KEY_TYPE_NOT_SUPPORTED = 0x09;
|
|
1985
|
-
static TC_NO_LINK_KEY_FOR_REQUESTER =
|
|
1986
|
-
static TC_REQUESTER_EUI64_UNKNOWN =
|
|
1987
|
-
static TC_RECEIVED_FIRST_APP_KEY_REQUEST =
|
|
1988
|
-
static TC_TIMEOUT_WAITING_FOR_SECOND_APP_KEY_REQUEST =
|
|
1989
|
-
static TC_NON_MATCHING_APP_KEY_REQUEST_RECEIVED =
|
|
1990
|
-
static TC_FAILED_TO_SEND_APP_KEYS =
|
|
1987
|
+
static TC_NO_LINK_KEY_FOR_REQUESTER = 0x0a;
|
|
1988
|
+
static TC_REQUESTER_EUI64_UNKNOWN = 0x0b;
|
|
1989
|
+
static TC_RECEIVED_FIRST_APP_KEY_REQUEST = 0x0c;
|
|
1990
|
+
static TC_TIMEOUT_WAITING_FOR_SECOND_APP_KEY_REQUEST = 0x0d;
|
|
1991
|
+
static TC_NON_MATCHING_APP_KEY_REQUEST_RECEIVED = 0x0e;
|
|
1992
|
+
static TC_FAILED_TO_SEND_APP_KEYS = 0x0f;
|
|
1991
1993
|
static TC_FAILED_TO_STORE_APP_KEY_REQUEST = 0x10;
|
|
1992
1994
|
static TC_REJECTED_APP_KEY_REQUEST = 0x11;
|
|
1993
1995
|
}
|
|
@@ -2162,11 +2164,11 @@ class EmberConcentratorType extends basic.uint16_t {
|
|
|
2162
2164
|
// A concentrator with insufficient memory to store source routes for the
|
|
2163
2165
|
// entire network. Route records are sent to the concentrator prior to every
|
|
2164
2166
|
// inbound APS unicast.
|
|
2165
|
-
static LOW_RAM_CONCENTRATOR =
|
|
2167
|
+
static LOW_RAM_CONCENTRATOR = 0xfff8;
|
|
2166
2168
|
// A concentrator with sufficient memory to store source routes for the
|
|
2167
2169
|
// entire network. Remote nodes stop sending route records once the
|
|
2168
2170
|
// concentrator has successfully received one.
|
|
2169
|
-
static HIGH_RAM_CONCENTRATOR =
|
|
2171
|
+
static HIGH_RAM_CONCENTRATOR = 0xfff9;
|
|
2170
2172
|
}
|
|
2171
2173
|
exports.EmberConcentratorType = EmberConcentratorType;
|
|
2172
2174
|
class EmberZllState extends basic.uint16_t {
|
|
@@ -2192,7 +2194,7 @@ class EmberZllKeyIndex extends basic.uint8_t {
|
|
|
2192
2194
|
// Key encryption algorithm shared by all certified devices.
|
|
2193
2195
|
static ZLL_KEY_INDEX_MASTER = 0x04;
|
|
2194
2196
|
// Key encryption algorithm for use during development and certification.
|
|
2195
|
-
static ZLL_KEY_INDEX_CERTIFICATION =
|
|
2197
|
+
static ZLL_KEY_INDEX_CERTIFICATION = 0x0f;
|
|
2196
2198
|
}
|
|
2197
2199
|
exports.EmberZllKeyIndex = EmberZllKeyIndex;
|
|
2198
2200
|
class EzspZllNetworkOperation extends basic.uint8_t {
|
|
@@ -2204,7 +2206,7 @@ exports.EzspZllNetworkOperation = EzspZllNetworkOperation;
|
|
|
2204
2206
|
class EzspSourceRouteOverheadInformation extends basic.uint8_t {
|
|
2205
2207
|
// Validates Source Route Overhead Information cached.
|
|
2206
2208
|
// Ezsp source route overhead unknown
|
|
2207
|
-
static SOURCE_ROUTE_OVERHEAD_UNKNOWN =
|
|
2209
|
+
static SOURCE_ROUTE_OVERHEAD_UNKNOWN = 0xff;
|
|
2208
2210
|
}
|
|
2209
2211
|
exports.EzspSourceRouteOverheadInformation = EzspSourceRouteOverheadInformation;
|
|
2210
2212
|
class EmberNetworkInitBitmask extends basic.uint16_t {
|
|
@@ -2234,12 +2236,12 @@ class EmberZDOCmd extends basic.uint16_t {
|
|
|
2234
2236
|
static Discovery_store_req = 0x0016;
|
|
2235
2237
|
static Node_Desc_store_req = 0x0017;
|
|
2236
2238
|
static Active_EP_store_req = 0x0019;
|
|
2237
|
-
static Simple_Desc_store_req =
|
|
2238
|
-
static Remove_node_cache_req =
|
|
2239
|
-
static Find_node_cache_req =
|
|
2240
|
-
static Extended_Simple_Desc_req =
|
|
2241
|
-
static Extended_Active_EP_req =
|
|
2242
|
-
static Parent_annce =
|
|
2239
|
+
static Simple_Desc_store_req = 0x001a;
|
|
2240
|
+
static Remove_node_cache_req = 0x001b;
|
|
2241
|
+
static Find_node_cache_req = 0x001c;
|
|
2242
|
+
static Extended_Simple_Desc_req = 0x001d;
|
|
2243
|
+
static Extended_Active_EP_req = 0x001e;
|
|
2244
|
+
static Parent_annce = 0x001f;
|
|
2243
2245
|
// Bind Management Server Services Responses
|
|
2244
2246
|
static End_Device_Bind_req = 0x0020;
|
|
2245
2247
|
static Bind_req = 0x0021;
|
|
@@ -2271,12 +2273,12 @@ class EmberZDOCmd extends basic.uint16_t {
|
|
|
2271
2273
|
static Node_Desc_store_rsp = 0x8017;
|
|
2272
2274
|
static Power_Desc_store_rsp = 0x8018;
|
|
2273
2275
|
static Active_EP_store_rsp = 0x8019;
|
|
2274
|
-
static Simple_Desc_store_rsp =
|
|
2275
|
-
static Remove_node_cache_rsp =
|
|
2276
|
-
static Find_node_cache_rsp =
|
|
2277
|
-
static Extended_Simple_Desc_rsp =
|
|
2278
|
-
static Extended_Active_EP_rsp =
|
|
2279
|
-
static Parent_annce_rsp =
|
|
2276
|
+
static Simple_Desc_store_rsp = 0x801a;
|
|
2277
|
+
static Remove_node_cache_rsp = 0x801b;
|
|
2278
|
+
static Find_node_cache_rsp = 0x801c;
|
|
2279
|
+
static Extended_Simple_Desc_rsp = 0x801d;
|
|
2280
|
+
static Extended_Active_EP_rsp = 0x801e;
|
|
2281
|
+
static Parent_annce_rsp = 0x801f;
|
|
2280
2282
|
// Bind Management Server Services Responses
|
|
2281
2283
|
static End_Device_Bind_rsp = 0x8020;
|
|
2282
2284
|
static Bind_rsp = 0x8021;
|