zigbee-herdsman 0.28.0 → 0.29.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.
Files changed (304) hide show
  1. package/.babelrc.js +0 -4
  2. package/.release-please-manifest.json +1 -1
  3. package/CHANGELOG.md +16 -0
  4. package/dist/adapter/adapter.js +21 -45
  5. package/dist/adapter/adapter.js.map +1 -1
  6. package/dist/adapter/deconz/adapter/deconzAdapter.js +76 -98
  7. package/dist/adapter/deconz/adapter/deconzAdapter.js.map +1 -1
  8. package/dist/adapter/deconz/adapter/index.js +2 -8
  9. package/dist/adapter/deconz/adapter/index.js.map +1 -1
  10. package/dist/adapter/deconz/driver/constants.js +1 -3
  11. package/dist/adapter/deconz/driver/constants.js.map +1 -1
  12. package/dist/adapter/deconz/driver/driver.js +77 -72
  13. package/dist/adapter/deconz/driver/driver.js.map +1 -1
  14. package/dist/adapter/deconz/driver/frame.js +1 -3
  15. package/dist/adapter/deconz/driver/frame.js.map +1 -1
  16. package/dist/adapter/deconz/driver/frameParser.js +36 -41
  17. package/dist/adapter/deconz/driver/frameParser.js.map +1 -1
  18. package/dist/adapter/deconz/driver/parser.js +8 -34
  19. package/dist/adapter/deconz/driver/parser.js.map +1 -1
  20. package/dist/adapter/deconz/driver/writer.js +6 -34
  21. package/dist/adapter/deconz/driver/writer.js.map +1 -1
  22. package/dist/adapter/events.js +2 -4
  23. package/dist/adapter/events.js.map +1 -1
  24. package/dist/adapter/ezsp/adapter/backup.js +10 -15
  25. package/dist/adapter/ezsp/adapter/backup.js.map +1 -1
  26. package/dist/adapter/ezsp/adapter/ezspAdapter.js +59 -81
  27. package/dist/adapter/ezsp/adapter/ezspAdapter.js.map +1 -1
  28. package/dist/adapter/ezsp/adapter/index.js +2 -8
  29. package/dist/adapter/ezsp/adapter/index.js.map +1 -1
  30. package/dist/adapter/ezsp/driver/commands.js +629 -628
  31. package/dist/adapter/ezsp/driver/commands.js.map +1 -1
  32. package/dist/adapter/ezsp/driver/consts.js +10 -13
  33. package/dist/adapter/ezsp/driver/consts.js.map +1 -1
  34. package/dist/adapter/ezsp/driver/driver.js +100 -96
  35. package/dist/adapter/ezsp/driver/driver.js.map +1 -1
  36. package/dist/adapter/ezsp/driver/ezsp.js +85 -104
  37. package/dist/adapter/ezsp/driver/ezsp.js.map +1 -1
  38. package/dist/adapter/ezsp/driver/index.js +3 -7
  39. package/dist/adapter/ezsp/driver/index.js.map +1 -1
  40. package/dist/adapter/ezsp/driver/multicast.js +17 -19
  41. package/dist/adapter/ezsp/driver/multicast.js.map +1 -1
  42. package/dist/adapter/ezsp/driver/parser.js +6 -35
  43. package/dist/adapter/ezsp/driver/parser.js.map +1 -1
  44. package/dist/adapter/ezsp/driver/types/basic.js +35 -57
  45. package/dist/adapter/ezsp/driver/types/basic.js.map +1 -1
  46. package/dist/adapter/ezsp/driver/types/index.js +12 -119
  47. package/dist/adapter/ezsp/driver/types/index.js.map +1 -1
  48. package/dist/adapter/ezsp/driver/types/named.js +1548 -1627
  49. package/dist/adapter/ezsp/driver/types/named.js.map +1 -1
  50. package/dist/adapter/ezsp/driver/types/struct.js +649 -668
  51. package/dist/adapter/ezsp/driver/types/struct.js.map +1 -1
  52. package/dist/adapter/ezsp/driver/uart.js +35 -57
  53. package/dist/adapter/ezsp/driver/uart.js.map +1 -1
  54. package/dist/adapter/ezsp/driver/utils/crc16ccitt.js +1 -3
  55. package/dist/adapter/ezsp/driver/utils/crc16ccitt.js.map +1 -1
  56. package/dist/adapter/ezsp/driver/utils/index.js +23 -27
  57. package/dist/adapter/ezsp/driver/utils/index.js.map +1 -1
  58. package/dist/adapter/ezsp/driver/writer.js +7 -37
  59. package/dist/adapter/ezsp/driver/writer.js.map +1 -1
  60. package/dist/adapter/index.js +4 -35
  61. package/dist/adapter/index.js.map +1 -1
  62. package/dist/adapter/serialPort.js +6 -10
  63. package/dist/adapter/serialPort.js.map +1 -1
  64. package/dist/adapter/serialPortUtils.js +7 -9
  65. package/dist/adapter/serialPortUtils.js.map +1 -1
  66. package/dist/adapter/socketPortUtils.js +1 -3
  67. package/dist/adapter/socketPortUtils.js.map +1 -1
  68. package/dist/adapter/tstype.js +1 -2
  69. package/dist/adapter/z-stack/adapter/adapter-backup.js +79 -108
  70. package/dist/adapter/z-stack/adapter/adapter-backup.js.map +1 -1
  71. package/dist/adapter/z-stack/adapter/adapter-nv-memory.js +23 -27
  72. package/dist/adapter/z-stack/adapter/adapter-nv-memory.js.map +1 -1
  73. package/dist/adapter/z-stack/adapter/endpoints.js +3 -29
  74. package/dist/adapter/z-stack/adapter/endpoints.js.map +1 -1
  75. package/dist/adapter/z-stack/adapter/index.js +2 -8
  76. package/dist/adapter/z-stack/adapter/index.js.map +1 -1
  77. package/dist/adapter/z-stack/adapter/manager.js +77 -102
  78. package/dist/adapter/z-stack/adapter/manager.js.map +1 -1
  79. package/dist/adapter/z-stack/adapter/tstype.js +2 -4
  80. package/dist/adapter/z-stack/adapter/tstype.js.map +1 -1
  81. package/dist/adapter/z-stack/adapter/zStackAdapter.js +62 -79
  82. package/dist/adapter/z-stack/adapter/zStackAdapter.js.map +1 -1
  83. package/dist/adapter/z-stack/constants/af.js +1 -3
  84. package/dist/adapter/z-stack/constants/af.js.map +1 -1
  85. package/dist/adapter/z-stack/constants/common.js +16 -19
  86. package/dist/adapter/z-stack/constants/common.js.map +1 -1
  87. package/dist/adapter/z-stack/constants/dbg.js +1 -3
  88. package/dist/adapter/z-stack/constants/dbg.js.map +1 -1
  89. package/dist/adapter/z-stack/constants/index.js +10 -47
  90. package/dist/adapter/z-stack/constants/index.js.map +1 -1
  91. package/dist/adapter/z-stack/constants/mac.js +1 -3
  92. package/dist/adapter/z-stack/constants/mac.js.map +1 -1
  93. package/dist/adapter/z-stack/constants/sapi.js +1 -3
  94. package/dist/adapter/z-stack/constants/sapi.js.map +1 -1
  95. package/dist/adapter/z-stack/constants/sys.js +1 -3
  96. package/dist/adapter/z-stack/constants/sys.js.map +1 -1
  97. package/dist/adapter/z-stack/constants/util.js +1 -3
  98. package/dist/adapter/z-stack/constants/util.js.map +1 -1
  99. package/dist/adapter/z-stack/constants/utils.js +3 -7
  100. package/dist/adapter/z-stack/constants/utils.js.map +1 -1
  101. package/dist/adapter/z-stack/constants/zdo.js +1 -3
  102. package/dist/adapter/z-stack/constants/zdo.js.map +1 -1
  103. package/dist/adapter/z-stack/models/index.js +1 -17
  104. package/dist/adapter/z-stack/models/index.js.map +1 -1
  105. package/dist/adapter/z-stack/models/startup-options.js +1 -2
  106. package/dist/adapter/z-stack/structs/entries/address-manager-entry.js +5 -9
  107. package/dist/adapter/z-stack/structs/entries/address-manager-entry.js.map +1 -1
  108. package/dist/adapter/z-stack/structs/entries/address-manager-table.js +5 -9
  109. package/dist/adapter/z-stack/structs/entries/address-manager-table.js.map +1 -1
  110. package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.js +3 -7
  111. package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.js.map +1 -1
  112. package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.js +5 -9
  113. package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.js.map +1 -1
  114. package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-entry.js +3 -7
  115. package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-entry.js.map +1 -1
  116. package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.js +5 -9
  117. package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.js.map +1 -1
  118. package/dist/adapter/z-stack/structs/entries/channel-list.js +2 -6
  119. package/dist/adapter/z-stack/structs/entries/channel-list.js.map +1 -1
  120. package/dist/adapter/z-stack/structs/entries/has-configured.js +2 -6
  121. package/dist/adapter/z-stack/structs/entries/has-configured.js.map +1 -1
  122. package/dist/adapter/z-stack/structs/entries/index.js +16 -32
  123. package/dist/adapter/z-stack/structs/entries/index.js.map +1 -1
  124. package/dist/adapter/z-stack/structs/entries/nib.js +6 -10
  125. package/dist/adapter/z-stack/structs/entries/nib.js.map +1 -1
  126. package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.js +2 -6
  127. package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.js.map +1 -1
  128. package/dist/adapter/z-stack/structs/entries/nwk-key.js +2 -6
  129. package/dist/adapter/z-stack/structs/entries/nwk-key.js.map +1 -1
  130. package/dist/adapter/z-stack/structs/entries/nwk-pan-id.js +2 -6
  131. package/dist/adapter/z-stack/structs/entries/nwk-pan-id.js.map +1 -1
  132. package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.js +2 -6
  133. package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.js.map +1 -1
  134. package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.js +5 -9
  135. package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.js.map +1 -1
  136. package/dist/adapter/z-stack/structs/entries/security-manager-entry.js +5 -9
  137. package/dist/adapter/z-stack/structs/entries/security-manager-entry.js.map +1 -1
  138. package/dist/adapter/z-stack/structs/entries/security-manager-table.js +6 -10
  139. package/dist/adapter/z-stack/structs/entries/security-manager-table.js.map +1 -1
  140. package/dist/adapter/z-stack/structs/index.js +4 -20
  141. package/dist/adapter/z-stack/structs/index.js.map +1 -1
  142. package/dist/adapter/z-stack/structs/serializable-memory-object.js +1 -2
  143. package/dist/adapter/z-stack/structs/struct.js +8 -11
  144. package/dist/adapter/z-stack/structs/struct.js.map +1 -1
  145. package/dist/adapter/z-stack/structs/table.js +7 -9
  146. package/dist/adapter/z-stack/structs/table.js.map +1 -1
  147. package/dist/adapter/z-stack/unpi/constants.js +3 -12
  148. package/dist/adapter/z-stack/unpi/constants.js.map +1 -1
  149. package/dist/adapter/z-stack/unpi/frame.js +13 -9
  150. package/dist/adapter/z-stack/unpi/frame.js.map +1 -1
  151. package/dist/adapter/z-stack/unpi/index.js +5 -37
  152. package/dist/adapter/z-stack/unpi/index.js.map +1 -1
  153. package/dist/adapter/z-stack/unpi/parser.js +13 -40
  154. package/dist/adapter/z-stack/unpi/parser.js.map +1 -1
  155. package/dist/adapter/z-stack/unpi/writer.js +4 -32
  156. package/dist/adapter/z-stack/unpi/writer.js.map +1 -1
  157. package/dist/adapter/z-stack/utils/channel-list.js +5 -11
  158. package/dist/adapter/z-stack/utils/channel-list.js.map +1 -1
  159. package/dist/adapter/z-stack/utils/index.js +2 -18
  160. package/dist/adapter/z-stack/utils/index.js.map +1 -1
  161. package/dist/adapter/z-stack/utils/network-options.js +3 -7
  162. package/dist/adapter/z-stack/utils/network-options.js.map +1 -1
  163. package/dist/adapter/z-stack/znp/buffaloZnp.js +3 -5
  164. package/dist/adapter/z-stack/znp/buffaloZnp.js.map +1 -1
  165. package/dist/adapter/z-stack/znp/definition.js +1280 -1285
  166. package/dist/adapter/z-stack/znp/definition.js.map +1 -1
  167. package/dist/adapter/z-stack/znp/index.js +3 -10
  168. package/dist/adapter/z-stack/znp/index.js.map +1 -1
  169. package/dist/adapter/z-stack/znp/parameterType.js +1 -3
  170. package/dist/adapter/z-stack/znp/parameterType.js.map +1 -1
  171. package/dist/adapter/z-stack/znp/tstype.js +1 -2
  172. package/dist/adapter/z-stack/znp/znp.js +64 -81
  173. package/dist/adapter/z-stack/znp/znp.js.map +1 -1
  174. package/dist/adapter/z-stack/znp/zpiObject.js +30 -29
  175. package/dist/adapter/z-stack/znp/zpiObject.js.map +1 -1
  176. package/dist/adapter/zigate/adapter/index.js +2 -8
  177. package/dist/adapter/zigate/adapter/index.js.map +1 -1
  178. package/dist/adapter/zigate/adapter/zigateAdapter.js +64 -87
  179. package/dist/adapter/zigate/adapter/zigateAdapter.js.map +1 -1
  180. package/dist/adapter/zigate/debug.js +3 -9
  181. package/dist/adapter/zigate/debug.js.map +1 -1
  182. package/dist/adapter/zigate/driver/buffaloZiGate.js +7 -9
  183. package/dist/adapter/zigate/driver/buffaloZiGate.js.map +1 -1
  184. package/dist/adapter/zigate/driver/commandType.js +45 -50
  185. package/dist/adapter/zigate/driver/commandType.js.map +1 -1
  186. package/dist/adapter/zigate/driver/constants.js +31 -34
  187. package/dist/adapter/zigate/driver/constants.js.map +1 -1
  188. package/dist/adapter/zigate/driver/frame.js +11 -14
  189. package/dist/adapter/zigate/driver/frame.js.map +1 -1
  190. package/dist/adapter/zigate/driver/messageType.js +27 -30
  191. package/dist/adapter/zigate/driver/messageType.js.map +1 -1
  192. package/dist/adapter/zigate/driver/parameterType.js +1 -3
  193. package/dist/adapter/zigate/driver/parameterType.js.map +1 -1
  194. package/dist/adapter/zigate/driver/ziGateObject.js +17 -18
  195. package/dist/adapter/zigate/driver/ziGateObject.js.map +1 -1
  196. package/dist/adapter/zigate/driver/zigate.js +55 -47
  197. package/dist/adapter/zigate/driver/zigate.js.map +1 -1
  198. package/dist/buffalo/buffalo.js +5 -5
  199. package/dist/buffalo/buffalo.js.map +1 -1
  200. package/dist/buffalo/index.js +3 -33
  201. package/dist/buffalo/index.js.map +1 -1
  202. package/dist/buffalo/tstype.js +1 -2
  203. package/dist/controller/controller.js +99 -110
  204. package/dist/controller/controller.js.map +1 -1
  205. package/dist/controller/database.js +13 -16
  206. package/dist/controller/database.js.map +1 -1
  207. package/dist/controller/events.js +2 -5
  208. package/dist/controller/events.js.map +1 -1
  209. package/dist/controller/greenPower.js +17 -44
  210. package/dist/controller/greenPower.js.map +1 -1
  211. package/dist/controller/helpers/index.js +2 -28
  212. package/dist/controller/helpers/index.js.map +1 -1
  213. package/dist/controller/helpers/request.js +38 -32
  214. package/dist/controller/helpers/request.js.map +1 -1
  215. package/dist/controller/helpers/requestQueue.js +8 -11
  216. package/dist/controller/helpers/requestQueue.js.map +1 -1
  217. package/dist/controller/helpers/zclFrameConverter.js +5 -13
  218. package/dist/controller/helpers/zclFrameConverter.js.map +1 -1
  219. package/dist/controller/helpers/zclTransactionSequenceNumber.js +2 -4
  220. package/dist/controller/helpers/zclTransactionSequenceNumber.js.map +1 -1
  221. package/dist/controller/index.js +5 -8
  222. package/dist/controller/index.js.map +1 -1
  223. package/dist/controller/logger-stub.js +1 -2
  224. package/dist/controller/model/device.js +86 -90
  225. package/dist/controller/model/device.js.map +1 -1
  226. package/dist/controller/model/endpoint.d.ts.map +1 -1
  227. package/dist/controller/model/endpoint.js +60 -79
  228. package/dist/controller/model/endpoint.js.map +1 -1
  229. package/dist/controller/model/entity.js +5 -10
  230. package/dist/controller/model/entity.js.map +1 -1
  231. package/dist/controller/model/group.js +32 -57
  232. package/dist/controller/model/group.js.map +1 -1
  233. package/dist/controller/model/index.js +5 -14
  234. package/dist/controller/model/index.js.map +1 -1
  235. package/dist/controller/touchlink.js +11 -37
  236. package/dist/controller/touchlink.js.map +1 -1
  237. package/dist/controller/tstype.js +2 -4
  238. package/dist/controller/tstype.js.map +1 -1
  239. package/dist/index.js +3 -33
  240. package/dist/index.js.map +1 -1
  241. package/dist/models/backup-storage-legacy.js +1 -2
  242. package/dist/models/backup-storage-unified.js +1 -2
  243. package/dist/models/backup.js +1 -2
  244. package/dist/models/index.js +4 -20
  245. package/dist/models/index.js.map +1 -1
  246. package/dist/models/network-options.js +1 -2
  247. package/dist/utils/assertString.js +1 -3
  248. package/dist/utils/assertString.js.map +1 -1
  249. package/dist/utils/backup.js +15 -46
  250. package/dist/utils/backup.js.map +1 -1
  251. package/dist/utils/equalsPartial.js +3 -8
  252. package/dist/utils/equalsPartial.js.map +1 -1
  253. package/dist/utils/index.js +9 -45
  254. package/dist/utils/index.js.map +1 -1
  255. package/dist/utils/isNumberArray.js +1 -3
  256. package/dist/utils/isNumberArray.js.map +1 -1
  257. package/dist/utils/queue.js +3 -3
  258. package/dist/utils/queue.js.map +1 -1
  259. package/dist/utils/realpathSync.js +3 -8
  260. package/dist/utils/realpathSync.js.map +1 -1
  261. package/dist/utils/wait.js +1 -3
  262. package/dist/utils/wait.js.map +1 -1
  263. package/dist/utils/waitress.js +5 -3
  264. package/dist/utils/waitress.js.map +1 -1
  265. package/dist/zcl/buffaloZcl.js +17 -45
  266. package/dist/zcl/buffaloZcl.js.map +1 -1
  267. package/dist/zcl/definition/buffaloZclDataType.js +1 -3
  268. package/dist/zcl/definition/buffaloZclDataType.js.map +1 -1
  269. package/dist/zcl/definition/cluster.d.ts.map +1 -1
  270. package/dist/zcl/definition/cluster.js +2364 -2336
  271. package/dist/zcl/definition/cluster.js.map +1 -1
  272. package/dist/zcl/definition/dataType.js +1 -3
  273. package/dist/zcl/definition/dataType.js.map +1 -1
  274. package/dist/zcl/definition/direction.js +1 -3
  275. package/dist/zcl/definition/direction.js.map +1 -1
  276. package/dist/zcl/definition/endpointDeviceType.js +1 -3
  277. package/dist/zcl/definition/endpointDeviceType.js.map +1 -1
  278. package/dist/zcl/definition/foundation.js +53 -58
  279. package/dist/zcl/definition/foundation.js.map +1 -1
  280. package/dist/zcl/definition/frameControl.js +1 -2
  281. package/dist/zcl/definition/frameType.js +1 -3
  282. package/dist/zcl/definition/frameType.js.map +1 -1
  283. package/dist/zcl/definition/index.js +12 -51
  284. package/dist/zcl/definition/index.js.map +1 -1
  285. package/dist/zcl/definition/manufacturerCode.js +1 -3
  286. package/dist/zcl/definition/manufacturerCode.js.map +1 -1
  287. package/dist/zcl/definition/powerSource.js +1 -3
  288. package/dist/zcl/definition/powerSource.js.map +1 -1
  289. package/dist/zcl/definition/status.js +1 -3
  290. package/dist/zcl/definition/status.js.map +1 -1
  291. package/dist/zcl/definition/tstype.js +1 -2
  292. package/dist/zcl/index.js +14 -55
  293. package/dist/zcl/index.js.map +1 -1
  294. package/dist/zcl/tstype.js +2 -4
  295. package/dist/zcl/tstype.js.map +1 -1
  296. package/dist/zcl/utils.js +23 -29
  297. package/dist/zcl/utils.js.map +1 -1
  298. package/dist/zcl/zclFrame.js +46 -70
  299. package/dist/zcl/zclFrame.js.map +1 -1
  300. package/dist/zcl/zclHeader.js +1 -2
  301. package/dist/zcl/zclStatusError.js +4 -8
  302. package/dist/zcl/zclStatusError.js.map +1 -1
  303. package/package.json +1 -4
  304. package/tsconfig.json +4 -3
@@ -1,115 +1,116 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ZDORESPONSE_NAME_BY_ID = exports.ZDOREQUEST_NAME_BY_ID = exports.ZGP = exports.ZDORESPONSES = exports.ZDOREQUESTS = exports.FRAME_NAMES_BY_ID = exports.FRAMES = void 0;
4
1
  /* istanbul ignore file */
5
- const types_1 = require("./types");
6
- exports.FRAMES = {
2
+ import { /* Basic Types */ int8s, uint8_t, uint16_t, uint32_t, LVBytes, fixed_list, WordList, Bytes,
3
+ /* Named Types */
4
+ EmberNodeId, EmberPanId, EmberEUI64, EmberLibraryStatus, SecureEzspSecurityType, SecureEzspSecurityLevel, EmberGpSecurityLevel, EmberGpKeyType, SecureEzspRandomNumber, Bool, EzspConfigId, EzspValueId, EzspExtendedValueId, EzspPolicyId, EzspDecisionId, EzspMfgTokenId, EzspStatus, EmberStatus, EmberEventUnits, EmberNodeType, EmberNetworkStatus, EmberIncomingMessageType, EmberOutgoingMessageType, EmberMacPassthroughType, EzspNetworkScanType, EmberJoinDecision, EmberKeyType, EmberDeviceUpdate, EmberKeyStatus, EmberCounterType, EzspZllNetworkOperation,
5
+ /* Structs */
6
+ EmberNetworkParameters, EmberZigbeeNetwork, EmberApsFrame, EmberBindingTableEntry, EmberMulticastTableEntry, EmberKeyData, EmberCertificateData, EmberPublicKeyData, EmberPrivateKeyData, EmberSmacData, EmberSignatureData, EmberCertificate283k1Data, EmberPublicKey283k1Data, EmberSignature283k1Data, EmberMessageDigest, EmberAesMmoHashContext, EmberNeighborTableEntry, EmberRouteTableEntry, EmberInitialSecurityState, EmberCurrentSecurityState, EmberKeyStruct, EmberNetworkInitStruct, EmberZllNetwork, EmberZllInitialSecurityState, EmberZllDeviceInfoRecord, EmberZllAddressAssignment, EmberTokTypeStackZllData, EmberTokTypeStackZllSecurity, EmberGpAddress, EmberNodeDescriptor, EmberSimpleDescriptor, EmberMultiAddress, EmberNeighbors, EmberRoutingTable, } from './types';
7
+ export const FRAMES = {
7
8
  // Configuration Frames
8
9
  version: {
9
10
  ID: 0x0000,
10
11
  request: {
11
- desiredProtocolVersion: types_1.uint8_t
12
+ desiredProtocolVersion: uint8_t
12
13
  },
13
14
  response: {
14
- protocolVersion: types_1.uint8_t,
15
- stackType: types_1.uint8_t,
16
- stackVersion: types_1.uint16_t
15
+ protocolVersion: uint8_t,
16
+ stackType: uint8_t,
17
+ stackVersion: uint16_t
17
18
  }
18
19
  },
19
20
  getConfigurationValue: {
20
21
  ID: 0x0052, // 82
21
22
  request: {
22
- configId: types_1.EzspConfigId
23
+ configId: EzspConfigId
23
24
  },
24
25
  response: {
25
- status: types_1.EzspStatus,
26
- value: types_1.uint16_t
26
+ status: EzspStatus,
27
+ value: uint16_t
27
28
  }
28
29
  },
29
30
  setConfigurationValue: {
30
31
  ID: 0x0053, // 83
31
32
  request: {
32
- configId: types_1.EzspConfigId,
33
- value: types_1.uint16_t
33
+ configId: EzspConfigId,
34
+ value: uint16_t
34
35
  },
35
36
  response: {
36
- status: types_1.EzspStatus
37
+ status: EzspStatus
37
38
  }
38
39
  },
39
40
  addEndpoint: {
40
41
  ID: 0x0002,
41
42
  request: {
42
- endpoint: types_1.uint8_t,
43
- profileId: types_1.uint16_t,
44
- deviceId: types_1.uint16_t,
45
- appFlags: types_1.uint8_t,
46
- inputClusterCount: types_1.uint8_t,
47
- outputClusterCount: types_1.uint8_t,
48
- inputClusterList: types_1.WordList,
49
- outputClusterList: types_1.WordList,
43
+ endpoint: uint8_t,
44
+ profileId: uint16_t,
45
+ deviceId: uint16_t,
46
+ appFlags: uint8_t,
47
+ inputClusterCount: uint8_t,
48
+ outputClusterCount: uint8_t,
49
+ inputClusterList: WordList,
50
+ outputClusterList: WordList,
50
51
  },
51
52
  response: {
52
- status: types_1.EzspStatus
53
+ status: EzspStatus
53
54
  }
54
55
  },
55
56
  setPolicy: {
56
57
  ID: 0x0055, //85
57
58
  request: {
58
- policyId: types_1.EzspPolicyId,
59
- decisionId: types_1.EzspDecisionId
59
+ policyId: EzspPolicyId,
60
+ decisionId: EzspDecisionId
60
61
  },
61
62
  response: {
62
- status: types_1.EzspStatus
63
+ status: EzspStatus
63
64
  }
64
65
  },
65
66
  getPolicy: {
66
67
  ID: 0x0056, //86
67
68
  request: {
68
- policyId: types_1.EzspPolicyId,
69
+ policyId: EzspPolicyId,
69
70
  },
70
71
  response: {
71
- status: types_1.EzspStatus,
72
- decisionId: types_1.EzspDecisionId
72
+ status: EzspStatus,
73
+ decisionId: EzspDecisionId
73
74
  }
74
75
  },
75
76
  sendPanIdUpdate: {
76
77
  ID: 0x0057, //87
77
78
  request: {
78
- newPan: types_1.EmberPanId,
79
+ newPan: EmberPanId,
79
80
  },
80
81
  response: {
81
- status: types_1.Bool
82
+ status: Bool
82
83
  }
83
84
  },
84
85
  getValue: {
85
86
  ID: 0x00AA, // 170
86
87
  request: {
87
- valueId: types_1.EzspValueId
88
+ valueId: EzspValueId
88
89
  },
89
90
  response: {
90
- status: types_1.EzspStatus,
91
- value: types_1.LVBytes
91
+ status: EzspStatus,
92
+ value: LVBytes
92
93
  }
93
94
  },
94
95
  getExtendedValue: {
95
96
  ID: 0x0003,
96
97
  request: {
97
- valueId: types_1.EzspExtendedValueId,
98
- characteristics: types_1.uint32_t
98
+ valueId: EzspExtendedValueId,
99
+ characteristics: uint32_t
99
100
  },
100
101
  response: {
101
- status: types_1.EzspStatus,
102
- value: types_1.LVBytes
102
+ status: EzspStatus,
103
+ value: LVBytes
103
104
  }
104
105
  },
105
106
  setValue: {
106
107
  ID: 0x00AB, // 171
107
108
  request: {
108
- valueId: types_1.EzspValueId,
109
- value: types_1.LVBytes
109
+ valueId: EzspValueId,
110
+ value: LVBytes
110
111
  },
111
112
  response: {
112
- status: types_1.EzspStatus
113
+ status: EzspStatus
113
114
  }
114
115
  },
115
116
  // Utilities Frames
@@ -121,17 +122,17 @@ exports.FRAMES = {
121
122
  echo: {
122
123
  ID: 0x0081, // 129
123
124
  request: {
124
- data: types_1.LVBytes
125
+ data: LVBytes
125
126
  },
126
127
  response: {
127
- echo: types_1.LVBytes
128
+ echo: LVBytes
128
129
  }
129
130
  },
130
131
  invalidCommand: {
131
132
  ID: 0x0058, // 88
132
133
  request: null,
133
134
  response: {
134
- reason: types_1.EzspStatus
135
+ reason: EzspStatus
135
136
  }
136
137
  },
137
138
  callback: {
@@ -147,187 +148,187 @@ exports.FRAMES = {
147
148
  setToken: {
148
149
  ID: 0x0009,
149
150
  request: {
150
- tokenId: types_1.uint8_t,
151
- tokenData: (0, types_1.fixed_list)(8, types_1.uint8_t)
151
+ tokenId: uint8_t,
152
+ tokenData: fixed_list(8, uint8_t)
152
153
  },
153
154
  response: {
154
- status: types_1.EmberStatus
155
+ status: EmberStatus
155
156
  }
156
157
  },
157
158
  getToken: {
158
159
  ID: 0x000A, // 10
159
160
  request: {
160
- tokenId: types_1.uint8_t
161
+ tokenId: uint8_t
161
162
  },
162
163
  response: {
163
- status: types_1.EmberStatus,
164
- tokenData: (0, types_1.fixed_list)(8, types_1.uint8_t)
164
+ status: EmberStatus,
165
+ tokenData: fixed_list(8, uint8_t)
165
166
  }
166
167
  },
167
168
  getMfgToken: {
168
169
  ID: 0x000B, // 11
169
170
  request: {
170
- tokenId: types_1.EzspMfgTokenId
171
+ tokenId: EzspMfgTokenId
171
172
  },
172
173
  response: {
173
- status: types_1.EmberStatus,
174
- tokenData: types_1.LVBytes
174
+ status: EmberStatus,
175
+ tokenData: LVBytes
175
176
  }
176
177
  },
177
178
  setMfgToken: {
178
179
  ID: 0x000C, // 12
179
180
  request: {
180
- tokenId: types_1.EzspMfgTokenId,
181
- tokenData: types_1.LVBytes
181
+ tokenId: EzspMfgTokenId,
182
+ tokenData: LVBytes
182
183
  },
183
184
  response: {
184
- status: types_1.EmberStatus
185
+ status: EmberStatus
185
186
  }
186
187
  },
187
188
  stackTokenChangedHandler: {
188
189
  ID: 0x000D, // 13
189
190
  request: null,
190
191
  response: {
191
- tokenAddress: types_1.uint16_t
192
+ tokenAddress: uint16_t
192
193
  }
193
194
  },
194
195
  getRandomNumber: {
195
196
  ID: 0x0049, // 73
196
197
  request: null,
197
198
  response: {
198
- status: types_1.EmberStatus,
199
- value: types_1.uint16_t
199
+ status: EmberStatus,
200
+ value: uint16_t
200
201
  }
201
202
  },
202
203
  setTimer: {
203
204
  ID: 0x000E, // 14
204
205
  request: {
205
- timerId: types_1.uint8_t,
206
- time: types_1.uint16_t,
207
- units: types_1.EmberEventUnits,
208
- repeat: types_1.Bool
206
+ timerId: uint8_t,
207
+ time: uint16_t,
208
+ units: EmberEventUnits,
209
+ repeat: Bool
209
210
  },
210
211
  response: {
211
- status: types_1.EmberStatus
212
+ status: EmberStatus
212
213
  },
213
214
  },
214
215
  getTimer: {
215
216
  ID: 0x004E, // 78
216
217
  request: {
217
- timerId: types_1.uint8_t
218
+ timerId: uint8_t
218
219
  },
219
220
  response: {
220
- time: types_1.uint16_t,
221
- units: types_1.EmberEventUnits,
222
- repeat: types_1.Bool
221
+ time: uint16_t,
222
+ units: EmberEventUnits,
223
+ repeat: Bool
223
224
  },
224
225
  },
225
226
  timerHandler: {
226
227
  ID: 0x000F, // 15
227
228
  request: null,
228
229
  response: {
229
- timerId: types_1.uint8_t
230
+ timerId: uint8_t
230
231
  },
231
232
  },
232
233
  debugWrite: {
233
234
  ID: 0x0012, // 18
234
235
  request: {
235
- binaryMessage: types_1.Bool,
236
- message: types_1.LVBytes
236
+ binaryMessage: Bool,
237
+ message: LVBytes
237
238
  },
238
239
  response: {
239
- status: types_1.EmberStatus
240
+ status: EmberStatus
240
241
  },
241
242
  },
242
243
  readAndClearCounters: {
243
244
  ID: 0x0065, // 101
244
245
  request: null,
245
246
  response: {
246
- values: (0, types_1.fixed_list)(types_1.EmberCounterType.COUNTER_TYPE_COUNT, types_1.uint16_t)
247
+ values: fixed_list(EmberCounterType.COUNTER_TYPE_COUNT, uint16_t)
247
248
  },
248
249
  },
249
250
  readCounters: {
250
251
  ID: 0x00F1, // 241
251
252
  request: null,
252
253
  response: {
253
- values: (0, types_1.fixed_list)(types_1.EmberCounterType.COUNTER_TYPE_COUNT, types_1.uint16_t)
254
+ values: fixed_list(EmberCounterType.COUNTER_TYPE_COUNT, uint16_t)
254
255
  },
255
256
  },
256
257
  counterRolloverHandler: {
257
258
  ID: 0x00F2, // 242
258
259
  request: null,
259
260
  response: {
260
- type: types_1.EmberCounterType
261
+ type: EmberCounterType
261
262
  },
262
263
  },
263
264
  delayTest: {
264
265
  ID: 0x009D, // 157
265
266
  request: {
266
- delay: types_1.uint16_t
267
+ delay: uint16_t
267
268
  },
268
269
  response: null,
269
270
  },
270
271
  getLibraryStatus: {
271
272
  ID: 0x0001,
272
273
  request: {
273
- libraryId: types_1.uint8_t
274
+ libraryId: uint8_t
274
275
  },
275
276
  response: {
276
- status: types_1.EmberLibraryStatus
277
+ status: EmberLibraryStatus
277
278
  },
278
279
  },
279
280
  getXncpInfo: {
280
281
  ID: 0x0013, // 19
281
282
  request: null,
282
283
  response: {
283
- status: types_1.EmberStatus,
284
- manufacturerId: types_1.uint16_t,
285
- versionNumber: types_1.uint16_t
284
+ status: EmberStatus,
285
+ manufacturerId: uint16_t,
286
+ versionNumber: uint16_t
286
287
  },
287
288
  },
288
289
  customFrame: {
289
290
  ID: 0x0047, // 71
290
291
  request: {
291
- payload: types_1.LVBytes
292
+ payload: LVBytes
292
293
  },
293
294
  response: {
294
- status: types_1.EmberStatus,
295
- reply: types_1.LVBytes
295
+ status: EmberStatus,
296
+ reply: LVBytes
296
297
  },
297
298
  },
298
299
  customFrameHandler: {
299
300
  ID: 0x0054, // 84
300
301
  request: null,
301
302
  response: {
302
- payload: types_1.LVBytes
303
+ payload: LVBytes
303
304
  },
304
305
  },
305
306
  getEui64: {
306
307
  ID: 0x0026, // 38
307
308
  request: null,
308
309
  response: {
309
- eui64: types_1.EmberEUI64
310
+ eui64: EmberEUI64
310
311
  },
311
312
  },
312
313
  getNodeId: {
313
314
  ID: 0x0027, // 39
314
315
  request: null,
315
316
  response: {
316
- nodeId: types_1.EmberNodeId
317
+ nodeId: EmberNodeId
317
318
  },
318
319
  },
319
320
  // Networking Frames
320
321
  setManufacturerCode: {
321
322
  ID: 0x0015, // 21
322
323
  request: {
323
- code: types_1.uint16_t
324
+ code: uint16_t
324
325
  },
325
326
  response: null,
326
327
  },
327
328
  setPowerDescriptor: {
328
329
  ID: 0x0016, // 22
329
330
  request: {
330
- descriptor: types_1.uint16_t
331
+ descriptor: uint16_t
331
332
  },
332
333
  response: null,
333
334
  },
@@ -335,110 +336,110 @@ exports.FRAMES = {
335
336
  ID: 0x0017, // 23
336
337
  request: null,
337
338
  response: {
338
- status: types_1.EmberStatus
339
+ status: EmberStatus
339
340
  },
340
341
  },
341
342
  networkInitExtended: {
342
343
  ID: 112,
343
344
  request: {
344
- networkInitStruct: types_1.EmberNetworkInitStruct
345
+ networkInitStruct: EmberNetworkInitStruct
345
346
  },
346
347
  response: {
347
- status: types_1.EmberStatus
348
+ status: EmberStatus
348
349
  },
349
350
  },
350
351
  networkState: {
351
352
  ID: 0x0018, // 24
352
353
  request: null,
353
354
  response: {
354
- status: types_1.EmberNetworkStatus
355
+ status: EmberNetworkStatus
355
356
  },
356
357
  },
357
358
  stackStatusHandler: {
358
359
  ID: 0x0019, // 25
359
360
  request: null,
360
361
  response: {
361
- status: types_1.EmberStatus
362
+ status: EmberStatus
362
363
  },
363
364
  },
364
365
  startScan: {
365
366
  ID: 0x001A, // 26
366
367
  request: {
367
- scanType: types_1.EzspNetworkScanType,
368
- channelMask: types_1.uint32_t,
369
- duration: types_1.uint8_t
368
+ scanType: EzspNetworkScanType,
369
+ channelMask: uint32_t,
370
+ duration: uint8_t
370
371
  },
371
372
  response: {
372
- status: types_1.EmberStatus
373
+ status: EmberStatus
373
374
  },
374
375
  },
375
376
  energyScanResultHandler: {
376
377
  ID: 0x0048, // 72
377
378
  request: null,
378
379
  response: {
379
- channel: types_1.uint8_t,
380
- maxRssiValue: types_1.int8s
380
+ channel: uint8_t,
381
+ maxRssiValue: int8s
381
382
  },
382
383
  },
383
384
  networkFoundHandler: {
384
385
  ID: 0x001B, // 27
385
386
  request: null,
386
387
  response: {
387
- networkFound: types_1.EmberZigbeeNetwork,
388
- lastHopLqi: types_1.uint8_t,
389
- lastHopRssi: types_1.int8s
388
+ networkFound: EmberZigbeeNetwork,
389
+ lastHopLqi: uint8_t,
390
+ lastHopRssi: int8s
390
391
  },
391
392
  },
392
393
  scanCompleteHandler: {
393
394
  ID: 0x001C, // 28
394
395
  request: null,
395
396
  response: {
396
- channel: types_1.uint8_t,
397
- status: types_1.EmberStatus
397
+ channel: uint8_t,
398
+ status: EmberStatus
398
399
  },
399
400
  },
400
401
  unusedPanIdFoundHandler: {
401
402
  ID: 0x00D2,
402
403
  request: null,
403
404
  response: {
404
- panId: types_1.EmberPanId,
405
- channel: types_1.uint8_t
405
+ panId: EmberPanId,
406
+ channel: uint8_t
406
407
  },
407
408
  },
408
409
  findUnusedPanId: {
409
410
  ID: 0x00D3,
410
411
  request: {
411
- channelMask: types_1.uint32_t,
412
- duration: types_1.uint8_t
412
+ channelMask: uint32_t,
413
+ duration: uint8_t
413
414
  },
414
415
  response: {
415
- status: types_1.EmberStatus
416
+ status: EmberStatus
416
417
  },
417
418
  },
418
419
  stopScan: {
419
420
  ID: 0x001D, // 29
420
421
  request: null,
421
422
  response: {
422
- status: types_1.EmberStatus
423
+ status: EmberStatus
423
424
  },
424
425
  },
425
426
  formNetwork: {
426
427
  ID: 0x001E, // 30
427
428
  request: {
428
- parameters: types_1.EmberNetworkParameters
429
+ parameters: EmberNetworkParameters
429
430
  },
430
431
  response: {
431
- status: types_1.EmberStatus
432
+ status: EmberStatus
432
433
  },
433
434
  },
434
435
  joinNetwork: {
435
436
  ID: 0x001F, // 31
436
437
  request: {
437
- nodeType: types_1.EmberNodeType,
438
- parameters: types_1.EmberNetworkParameters
438
+ nodeType: EmberNodeType,
439
+ parameters: EmberNetworkParameters
439
440
  },
440
441
  response: {
441
- status: types_1.EmberStatus
442
+ status: EmberStatus
442
443
  },
443
444
  },
444
445
  // joinNetworkDirectly: {
@@ -457,150 +458,150 @@ exports.FRAMES = {
457
458
  ID: 0x0020, // 32
458
459
  request: null,
459
460
  response: {
460
- status: types_1.EmberStatus
461
+ status: EmberStatus
461
462
  },
462
463
  },
463
464
  findAndRejoinNetwork: {
464
465
  ID: 0x0021, // 33
465
466
  request: {
466
- haveCurrentNetworkKey: types_1.Bool,
467
- channelMask: types_1.uint32_t
467
+ haveCurrentNetworkKey: Bool,
468
+ channelMask: uint32_t
468
469
  },
469
470
  response: {
470
- status: types_1.EmberStatus
471
+ status: EmberStatus
471
472
  },
472
473
  },
473
474
  permitJoining: {
474
475
  ID: 0x0022, // 34
475
476
  request: {
476
- duration: types_1.uint8_t
477
+ duration: uint8_t
477
478
  },
478
479
  response: {
479
- status: types_1.EmberStatus
480
+ status: EmberStatus
480
481
  },
481
482
  },
482
483
  childJoinHandler: {
483
484
  ID: 0x0023, // 35
484
485
  request: null,
485
486
  response: {
486
- index: types_1.uint8_t,
487
- joining: types_1.Bool,
488
- childId: types_1.EmberNodeId,
489
- childEui64: types_1.EmberEUI64,
490
- childType: types_1.EmberNodeType
487
+ index: uint8_t,
488
+ joining: Bool,
489
+ childId: EmberNodeId,
490
+ childEui64: EmberEUI64,
491
+ childType: EmberNodeType
491
492
  },
492
493
  },
493
494
  energyScanRequest: {
494
495
  ID: 0x009C, // 156
495
496
  request: {
496
- target: types_1.EmberNodeId,
497
- scanChannels: types_1.uint32_t,
498
- scanDuration: types_1.uint8_t,
499
- scanCount: types_1.uint16_t
497
+ target: EmberNodeId,
498
+ scanChannels: uint32_t,
499
+ scanDuration: uint8_t,
500
+ scanCount: uint16_t
500
501
  },
501
502
  response: {
502
- status: types_1.EmberStatus
503
+ status: EmberStatus
503
504
  },
504
505
  },
505
506
  getNetworkParameters: {
506
507
  ID: 0x0028, // 40
507
508
  request: null,
508
509
  response: {
509
- status: types_1.EmberStatus,
510
- nodeType: types_1.EmberNodeType,
511
- parameters: types_1.EmberNetworkParameters
510
+ status: EmberStatus,
511
+ nodeType: EmberNodeType,
512
+ parameters: EmberNetworkParameters
512
513
  },
513
514
  },
514
515
  getRadioParameters: {
515
516
  ID: 0x00FD,
516
517
  request: {
517
- childCount: types_1.uint8_t
518
+ childCount: uint8_t
518
519
  },
519
520
  response: {
520
- status: types_1.EmberStatus,
521
- nodeType: types_1.EmberNodeType,
522
- parameters: types_1.EmberNetworkParameters
521
+ status: EmberStatus,
522
+ nodeType: EmberNodeType,
523
+ parameters: EmberNetworkParameters
523
524
  },
524
525
  },
525
526
  getParentChildParameters: {
526
527
  ID: 0x0029, // 41
527
528
  request: null,
528
529
  response: {
529
- childCount: types_1.uint8_t,
530
- parentEui64: types_1.EmberEUI64,
531
- parentNodeId: types_1.EmberNodeId
530
+ childCount: uint8_t,
531
+ parentEui64: EmberEUI64,
532
+ parentNodeId: EmberNodeId
532
533
  },
533
534
  },
534
535
  getChildData: {
535
536
  ID: 0x004A, // 74
536
537
  request: {
537
- index: types_1.uint8_t
538
+ index: uint8_t
538
539
  },
539
540
  response: {
540
- status: types_1.EmberStatus,
541
- nodeId: types_1.EmberNodeId,
542
- eui64: types_1.EmberEUI64,
543
- nodeType: types_1.EmberNodeType
541
+ status: EmberStatus,
542
+ nodeId: EmberNodeId,
543
+ eui64: EmberEUI64,
544
+ nodeType: EmberNodeType
544
545
  },
545
546
  },
546
547
  getNeighbor: {
547
548
  ID: 0x0079, // 121
548
549
  request: {
549
- index: types_1.uint8_t
550
+ index: uint8_t
550
551
  },
551
552
  response: {
552
- status: types_1.EmberStatus,
553
- value: types_1.EmberNeighborTableEntry
553
+ status: EmberStatus,
554
+ value: EmberNeighborTableEntry
554
555
  },
555
556
  },
556
557
  neighborCount: {
557
558
  ID: 0x007A, // 122
558
559
  request: null,
559
560
  response: {
560
- value: types_1.uint8_t
561
+ value: uint8_t
561
562
  },
562
563
  },
563
564
  getRouteTableEntry: {
564
565
  ID: 0x007B, // 123
565
566
  request: {
566
- index: types_1.uint8_t
567
+ index: uint8_t
567
568
  },
568
569
  response: {
569
- status: types_1.EmberStatus,
570
- value: types_1.EmberRouteTableEntry
570
+ status: EmberStatus,
571
+ value: EmberRouteTableEntry
571
572
  },
572
573
  },
573
574
  setRadioPower: {
574
575
  ID: 0x0099, // 153
575
576
  request: {
576
- power: types_1.int8s
577
+ power: int8s
577
578
  },
578
579
  response: {
579
- status: types_1.EmberStatus
580
+ status: EmberStatus
580
581
  },
581
582
  },
582
583
  setRadioChannel: {
583
584
  ID: 0x009A, // 154
584
585
  request: {
585
- channel: types_1.uint8_t
586
+ channel: uint8_t
586
587
  },
587
588
  response: {
588
- status: types_1.EmberStatus
589
+ status: EmberStatus
589
590
  },
590
591
  },
591
592
  setConcentrator: {
592
593
  ID: 0x0010, // 16
593
594
  request: {
594
- on: types_1.Bool,
595
- concentratorType: types_1.uint16_t,
596
- minTime: types_1.uint16_t,
597
- maxTime: types_1.uint16_t,
598
- routeErrorThreshold: types_1.uint8_t,
599
- deliveryFailureThreshold: types_1.uint8_t,
600
- maxHops: types_1.uint8_t
595
+ on: Bool,
596
+ concentratorType: uint16_t,
597
+ minTime: uint16_t,
598
+ maxTime: uint16_t,
599
+ routeErrorThreshold: uint8_t,
600
+ deliveryFailureThreshold: uint8_t,
601
+ maxHops: uint8_t
601
602
  },
602
603
  response: {
603
- status: types_1.EmberStatus
604
+ status: EmberStatus
604
605
  },
605
606
  },
606
607
  // Binding Frames
@@ -608,61 +609,61 @@ exports.FRAMES = {
608
609
  ID: 0x002A, // 42
609
610
  request: null,
610
611
  response: {
611
- status: types_1.EmberStatus
612
+ status: EmberStatus
612
613
  },
613
614
  },
614
615
  setBinding: {
615
616
  ID: 0x002B, // 43
616
617
  request: {
617
- index: types_1.uint8_t,
618
- value: types_1.EmberBindingTableEntry
618
+ index: uint8_t,
619
+ value: EmberBindingTableEntry
619
620
  },
620
621
  response: {
621
- status: types_1.EmberStatus
622
+ status: EmberStatus
622
623
  },
623
624
  },
624
625
  getBinding: {
625
626
  ID: 0x002C, // 44
626
627
  request: {
627
- index: types_1.uint8_t
628
+ index: uint8_t
628
629
  },
629
630
  response: {
630
- status: types_1.EmberStatus,
631
- value: types_1.EmberBindingTableEntry
631
+ status: EmberStatus,
632
+ value: EmberBindingTableEntry
632
633
  },
633
634
  },
634
635
  deleteBinding: {
635
636
  ID: 0x002D, // 45
636
637
  request: {
637
- index: types_1.uint8_t
638
+ index: uint8_t
638
639
  },
639
640
  response: {
640
- status: types_1.EmberStatus
641
+ status: EmberStatus
641
642
  },
642
643
  },
643
644
  bindingIsActive: {
644
645
  ID: 0x002E, // 46
645
646
  request: {
646
- index: types_1.uint8_t
647
+ index: uint8_t
647
648
  },
648
649
  response: {
649
- active: types_1.Bool
650
+ active: Bool
650
651
  },
651
652
  },
652
653
  getBindingRemoteNodeId: {
653
654
  ID: 0x002F, // 47
654
655
  request: {
655
- index: types_1.uint8_t
656
+ index: uint8_t
656
657
  },
657
658
  response: {
658
- nodeId: types_1.EmberNodeId
659
+ nodeId: EmberNodeId
659
660
  },
660
661
  },
661
662
  setBindingRemoteNodeId: {
662
663
  ID: 0x0030, // 48
663
664
  request: {
664
- index: types_1.uint8_t,
665
- nodeId: types_1.EmberNodeId
665
+ index: uint8_t,
666
+ nodeId: EmberNodeId
666
667
  },
667
668
  response: null,
668
669
  },
@@ -670,17 +671,17 @@ exports.FRAMES = {
670
671
  ID: 0x0031, // 49
671
672
  request: null,
672
673
  response: {
673
- entry: types_1.EmberBindingTableEntry,
674
- index: types_1.uint8_t,
675
- policyDecision: types_1.EmberStatus
674
+ entry: EmberBindingTableEntry,
675
+ index: uint8_t,
676
+ policyDecision: EmberStatus
676
677
  },
677
678
  },
678
679
  remoteDeleteBindingHandler: {
679
680
  ID: 0x0032, // 50
680
681
  request: null,
681
682
  response: {
682
- index: types_1.uint8_t,
683
- policyDecision: types_1.EmberStatus
683
+ index: uint8_t,
684
+ policyDecision: EmberStatus
684
685
  },
685
686
  },
686
687
  // Messaging Frames
@@ -688,518 +689,518 @@ exports.FRAMES = {
688
689
  ID: 0x0033, // 51
689
690
  request: null,
690
691
  response: {
691
- apsLength: types_1.uint8_t
692
+ apsLength: uint8_t
692
693
  },
693
694
  },
694
695
  sendUnicast: {
695
696
  ID: 0x0034, // 52
696
697
  request: {
697
- type: types_1.EmberOutgoingMessageType,
698
- indexOrDestination: types_1.EmberNodeId,
699
- apsFrame: types_1.EmberApsFrame,
700
- messageTag: types_1.uint8_t,
701
- message: types_1.LVBytes
698
+ type: EmberOutgoingMessageType,
699
+ indexOrDestination: EmberNodeId,
700
+ apsFrame: EmberApsFrame,
701
+ messageTag: uint8_t,
702
+ message: LVBytes
702
703
  },
703
704
  response: {
704
- status: types_1.EmberStatus,
705
- sequence: types_1.uint8_t
705
+ status: EmberStatus,
706
+ sequence: uint8_t
706
707
  },
707
708
  },
708
709
  sendBroadcast: {
709
710
  ID: 0x0036, // 54
710
711
  request: {
711
- destination: types_1.EmberNodeId,
712
- apsFrame: types_1.EmberApsFrame,
713
- radius: types_1.uint8_t,
714
- messageTag: types_1.uint8_t,
715
- message: types_1.LVBytes
712
+ destination: EmberNodeId,
713
+ apsFrame: EmberApsFrame,
714
+ radius: uint8_t,
715
+ messageTag: uint8_t,
716
+ message: LVBytes
716
717
  },
717
718
  response: {
718
- status: types_1.EmberStatus,
719
- sequence: types_1.uint8_t
719
+ status: EmberStatus,
720
+ sequence: uint8_t
720
721
  },
721
722
  },
722
723
  proxyBroadcast: {
723
724
  ID: 0x0037, // 55
724
725
  request: {
725
- source: types_1.EmberNodeId,
726
- destination: types_1.EmberNodeId,
727
- nwkSequence: types_1.uint8_t,
728
- apsFrame: types_1.EmberApsFrame,
729
- radius: types_1.uint8_t,
730
- messageTag: types_1.uint8_t,
731
- message: types_1.LVBytes
726
+ source: EmberNodeId,
727
+ destination: EmberNodeId,
728
+ nwkSequence: uint8_t,
729
+ apsFrame: EmberApsFrame,
730
+ radius: uint8_t,
731
+ messageTag: uint8_t,
732
+ message: LVBytes
732
733
  },
733
734
  response: {
734
- status: types_1.EmberStatus,
735
- apsSequence: types_1.uint8_t
735
+ status: EmberStatus,
736
+ apsSequence: uint8_t
736
737
  },
737
738
  },
738
739
  sendMulticast: {
739
740
  ID: 0x0038, // 56
740
741
  request: {
741
- apsFrame: types_1.EmberApsFrame,
742
- hops: types_1.uint8_t,
743
- nonmemberRadius: types_1.uint8_t,
744
- messageTag: types_1.uint8_t,
745
- message: types_1.LVBytes
742
+ apsFrame: EmberApsFrame,
743
+ hops: uint8_t,
744
+ nonmemberRadius: uint8_t,
745
+ messageTag: uint8_t,
746
+ message: LVBytes
746
747
  },
747
748
  response: {
748
- status: types_1.EmberStatus,
749
- sequence: types_1.uint8_t
749
+ status: EmberStatus,
750
+ sequence: uint8_t
750
751
  },
751
752
  },
752
753
  sendMulticastWithAlias: {
753
754
  ID: 0x003A,
754
755
  request: {
755
- apsFrame: types_1.EmberApsFrame,
756
- hops: types_1.uint8_t,
757
- nonmemberRadius: types_1.uint8_t,
758
- alias: types_1.uint16_t,
759
- nwkSequence: types_1.uint8_t,
760
- messageTag: types_1.uint8_t,
761
- message: types_1.LVBytes
756
+ apsFrame: EmberApsFrame,
757
+ hops: uint8_t,
758
+ nonmemberRadius: uint8_t,
759
+ alias: uint16_t,
760
+ nwkSequence: uint8_t,
761
+ messageTag: uint8_t,
762
+ message: LVBytes
762
763
  },
763
764
  response: {
764
- status: types_1.EmberStatus,
765
- sequence: types_1.uint8_t
765
+ status: EmberStatus,
766
+ sequence: uint8_t
766
767
  },
767
768
  },
768
769
  sendReply: {
769
770
  ID: 0x0039, // 57
770
771
  request: {
771
- sender: types_1.EmberNodeId,
772
- apsFrame: types_1.EmberApsFrame,
773
- message: types_1.LVBytes
772
+ sender: EmberNodeId,
773
+ apsFrame: EmberApsFrame,
774
+ message: LVBytes
774
775
  },
775
776
  response: {
776
- status: types_1.EmberStatus
777
+ status: EmberStatus
777
778
  },
778
779
  },
779
780
  messageSentHandler: {
780
781
  ID: 0x003F, // 63
781
782
  request: null,
782
783
  response: {
783
- type: types_1.EmberOutgoingMessageType,
784
- indexOrDestination: types_1.uint16_t,
785
- apsFrame: types_1.EmberApsFrame,
786
- messageTag: types_1.uint8_t,
787
- status: types_1.EmberStatus,
788
- message: types_1.LVBytes
784
+ type: EmberOutgoingMessageType,
785
+ indexOrDestination: uint16_t,
786
+ apsFrame: EmberApsFrame,
787
+ messageTag: uint8_t,
788
+ status: EmberStatus,
789
+ message: LVBytes
789
790
  },
790
791
  },
791
792
  sendManyToOneRouteRequest: {
792
793
  ID: 0x0041, // 65
793
794
  request: {
794
- concentratorType: types_1.uint16_t,
795
- radius: types_1.uint8_t
795
+ concentratorType: uint16_t,
796
+ radius: uint8_t
796
797
  },
797
798
  response: {
798
- status: types_1.EmberStatus
799
+ status: EmberStatus
799
800
  },
800
801
  },
801
802
  pollForData: {
802
803
  ID: 0x0042, // 66
803
804
  request: {
804
- interval: types_1.uint16_t,
805
- units: types_1.EmberEventUnits,
806
- failureLimit: types_1.uint8_t
805
+ interval: uint16_t,
806
+ units: EmberEventUnits,
807
+ failureLimit: uint8_t
807
808
  },
808
809
  response: {
809
- status: types_1.EmberStatus
810
+ status: EmberStatus
810
811
  },
811
812
  },
812
813
  pollCompleteHandler: {
813
814
  ID: 0x0043, // 67
814
815
  request: null,
815
816
  response: {
816
- status: types_1.EmberStatus
817
+ status: EmberStatus
817
818
  },
818
819
  },
819
820
  pollHandler: {
820
821
  ID: 0x0044, // 68
821
822
  request: null,
822
823
  response: {
823
- childId: types_1.EmberNodeId
824
+ childId: EmberNodeId
824
825
  },
825
826
  },
826
827
  incomingSenderEui64Handler: {
827
828
  ID: 0x0062, // 98
828
829
  request: null,
829
830
  response: {
830
- senderEui64: types_1.EmberEUI64
831
+ senderEui64: EmberEUI64
831
832
  },
832
833
  },
833
834
  incomingMessageHandler: {
834
835
  ID: 0x0045, // 69
835
836
  request: null,
836
837
  response: {
837
- type: types_1.EmberIncomingMessageType,
838
- apsFrame: types_1.EmberApsFrame,
839
- lastHopLqi: types_1.uint8_t,
840
- lastHopRssi: types_1.int8s,
841
- sender: types_1.EmberNodeId,
842
- bindingIndex: types_1.uint8_t,
843
- addressIndex: types_1.uint8_t,
844
- message: types_1.LVBytes
838
+ type: EmberIncomingMessageType,
839
+ apsFrame: EmberApsFrame,
840
+ lastHopLqi: uint8_t,
841
+ lastHopRssi: int8s,
842
+ sender: EmberNodeId,
843
+ bindingIndex: uint8_t,
844
+ addressIndex: uint8_t,
845
+ message: LVBytes
845
846
  },
846
847
  },
847
848
  incomingRouteRecordHandler: {
848
849
  ID: 0x0059, // 89
849
850
  request: null,
850
851
  response: {
851
- source: types_1.EmberNodeId,
852
- longId: types_1.EmberEUI64,
853
- lastHopLqi: types_1.uint8_t,
854
- lastHopRssi: types_1.int8s,
855
- relay: types_1.LVBytes
852
+ source: EmberNodeId,
853
+ longId: EmberEUI64,
854
+ lastHopLqi: uint8_t,
855
+ lastHopRssi: int8s,
856
+ relay: LVBytes
856
857
  },
857
858
  },
858
859
  incomingManyToOneRouteRequestHandler: {
859
860
  ID: 0x007D, // 125
860
861
  request: null,
861
862
  response: {
862
- source: types_1.EmberNodeId,
863
- longId: types_1.EmberEUI64,
864
- cost: types_1.uint8_t
863
+ source: EmberNodeId,
864
+ longId: EmberEUI64,
865
+ cost: uint8_t
865
866
  },
866
867
  },
867
868
  incomingRouteErrorHandler: {
868
869
  ID: 0x0080, // 128
869
870
  request: null,
870
871
  response: {
871
- status: types_1.EmberStatus,
872
- target: types_1.EmberNodeId
872
+ status: EmberStatus,
873
+ target: EmberNodeId
873
874
  },
874
875
  },
875
876
  unicastCurrentNetworkKey: {
876
877
  ID: 0x0050,
877
878
  request: {
878
- targetShort: types_1.EmberNodeId,
879
- targetLong: types_1.EmberEUI64,
880
- parentShortId: types_1.EmberNodeId
879
+ targetShort: EmberNodeId,
880
+ targetLong: EmberEUI64,
881
+ parentShortId: EmberNodeId
881
882
  },
882
883
  response: {
883
- status: types_1.EmberStatus
884
+ status: EmberStatus
884
885
  },
885
886
  },
886
887
  addressTableEntryIsActive: {
887
888
  ID: 0x005B, // 91
888
889
  request: {
889
- addressTableIndex: types_1.uint8_t
890
+ addressTableIndex: uint8_t
890
891
  },
891
892
  response: {
892
- active: types_1.Bool
893
+ active: Bool
893
894
  },
894
895
  },
895
896
  setAddressTableRemoteEui64: {
896
897
  ID: 0x005C, // 92
897
898
  request: {
898
- addressTableIndex: types_1.uint8_t,
899
- eui64: types_1.EmberEUI64
899
+ addressTableIndex: uint8_t,
900
+ eui64: EmberEUI64
900
901
  },
901
902
  response: {
902
- status: types_1.EmberStatus
903
+ status: EmberStatus
903
904
  },
904
905
  },
905
906
  setAddressTableRemoteNodeId: {
906
907
  ID: 0x005D, // 93
907
908
  request: {
908
- addressTableIndex: types_1.uint8_t,
909
- id: types_1.EmberNodeId
909
+ addressTableIndex: uint8_t,
910
+ id: EmberNodeId
910
911
  },
911
912
  response: null,
912
913
  },
913
914
  getAddressTableRemoteEui64: {
914
915
  ID: 0x005E, // 94
915
916
  request: {
916
- addressTableIndex: types_1.uint8_t
917
+ addressTableIndex: uint8_t
917
918
  },
918
919
  response: {
919
- eui64: types_1.EmberEUI64
920
+ eui64: EmberEUI64
920
921
  },
921
922
  },
922
923
  getAddressTableRemoteNodeId: {
923
924
  ID: 0x005F, // 95
924
925
  request: {
925
- addressTableIndex: types_1.uint8_t
926
+ addressTableIndex: uint8_t
926
927
  },
927
928
  response: {
928
- nodeId: types_1.EmberNodeId
929
+ nodeId: EmberNodeId
929
930
  },
930
931
  },
931
932
  setExtendedTimeout: {
932
933
  ID: 0x007E, // 126
933
934
  request: {
934
- remoteEui64: types_1.EmberEUI64,
935
- extendedTimeout: types_1.Bool
935
+ remoteEui64: EmberEUI64,
936
+ extendedTimeout: Bool
936
937
  },
937
938
  response: null,
938
939
  },
939
940
  getExtendedTimeout: {
940
941
  ID: 0x007F, // 127,
941
942
  request: {
942
- remoteEui64: types_1.EmberEUI64
943
+ remoteEui64: EmberEUI64
943
944
  },
944
945
  response: {
945
- extendedTimeout: types_1.Bool
946
+ extendedTimeout: Bool
946
947
  },
947
948
  },
948
949
  replaceAddressTableEntry: {
949
950
  ID: 0x0082, // 130
950
951
  request: {
951
- addressTableIndex: types_1.uint8_t,
952
- newEui64: types_1.EmberEUI64,
953
- newId: types_1.EmberNodeId,
954
- newExtendedTimeout: types_1.Bool
952
+ addressTableIndex: uint8_t,
953
+ newEui64: EmberEUI64,
954
+ newId: EmberNodeId,
955
+ newExtendedTimeout: Bool
955
956
  },
956
957
  response: {
957
- status: types_1.EmberStatus,
958
- oldEui64: types_1.EmberEUI64,
959
- oldId: types_1.EmberNodeId,
960
- oldExtendedTimeout: types_1.Bool
958
+ status: EmberStatus,
959
+ oldEui64: EmberEUI64,
960
+ oldId: EmberNodeId,
961
+ oldExtendedTimeout: Bool
961
962
  },
962
963
  },
963
964
  lookupNodeIdByEui64: {
964
965
  ID: 0x0060, // 96
965
966
  request: {
966
- eui64: types_1.EmberEUI64
967
+ eui64: EmberEUI64
967
968
  },
968
969
  response: {
969
- nodeId: types_1.EmberNodeId
970
+ nodeId: EmberNodeId
970
971
  },
971
972
  },
972
973
  lookupEui64ByNodeId: {
973
974
  ID: 0x0061, // 97
974
975
  request: {
975
- nodeId: types_1.EmberNodeId
976
+ nodeId: EmberNodeId
976
977
  },
977
978
  response: {
978
- status: types_1.EmberStatus,
979
- eui64: types_1.EmberEUI64
979
+ status: EmberStatus,
980
+ eui64: EmberEUI64
980
981
  },
981
982
  },
982
983
  getMulticastTableEntry: {
983
984
  ID: 0x0063, // 99
984
985
  request: {
985
- index: types_1.uint8_t
986
+ index: uint8_t
986
987
  },
987
988
  response: {
988
- value: types_1.EmberMulticastTableEntry
989
+ value: EmberMulticastTableEntry
989
990
  },
990
991
  },
991
992
  setMulticastTableEntry: {
992
993
  ID: 0x0064, // 100
993
994
  request: {
994
- index: types_1.uint8_t,
995
- value: types_1.EmberMulticastTableEntry
995
+ index: uint8_t,
996
+ value: EmberMulticastTableEntry
996
997
  },
997
998
  response: {
998
- status: types_1.EmberStatus
999
+ status: EmberStatus
999
1000
  },
1000
1001
  },
1001
1002
  idConflictHandler: {
1002
1003
  ID: 0x007C, // 124
1003
1004
  request: null,
1004
1005
  response: {
1005
- id: types_1.EmberNodeId
1006
+ id: EmberNodeId
1006
1007
  },
1007
1008
  },
1008
1009
  writeNodeData: {
1009
1010
  ID: 0x00FE,
1010
1011
  request: {
1011
- erase: types_1.Bool
1012
+ erase: Bool
1012
1013
  },
1013
1014
  response: {
1014
- status: types_1.EmberStatus
1015
+ status: EmberStatus
1015
1016
  },
1016
1017
  },
1017
1018
  sendRawMessage: {
1018
1019
  ID: 0x0096, // 150
1019
1020
  request: {
1020
- message: types_1.LVBytes
1021
+ message: LVBytes
1021
1022
  },
1022
1023
  response: {
1023
- status: types_1.EmberStatus
1024
+ status: EmberStatus
1024
1025
  },
1025
1026
  },
1026
1027
  sendRawMessageExtended: {
1027
1028
  ID: 0x0051,
1028
1029
  request: {
1029
- message: types_1.LVBytes,
1030
- priority: types_1.uint8_t,
1031
- useCca: types_1.Bool
1030
+ message: LVBytes,
1031
+ priority: uint8_t,
1032
+ useCca: Bool
1032
1033
  },
1033
1034
  response: {
1034
- status: types_1.EmberStatus
1035
+ status: EmberStatus
1035
1036
  },
1036
1037
  },
1037
1038
  macPassthroughMessageHandler: {
1038
1039
  ID: 0x0097, // 151
1039
1040
  request: null,
1040
1041
  response: {
1041
- messageType: types_1.EmberMacPassthroughType,
1042
- lastHopLqi: types_1.uint8_t,
1043
- lastHopRssi: types_1.int8s,
1044
- message: types_1.LVBytes
1042
+ messageType: EmberMacPassthroughType,
1043
+ lastHopLqi: uint8_t,
1044
+ lastHopRssi: int8s,
1045
+ message: LVBytes
1045
1046
  },
1046
1047
  },
1047
1048
  macFilterMatchMessageHandler: {
1048
1049
  ID: 0x0046, // 70
1049
1050
  request: null,
1050
1051
  response: {
1051
- filterIndexMatch: types_1.uint8_t,
1052
- legacyPassthroughType: types_1.EmberMacPassthroughType,
1053
- lastHopLqi: types_1.uint8_t,
1054
- lastHopRssi: types_1.int8s,
1055
- message: types_1.LVBytes
1052
+ filterIndexMatch: uint8_t,
1053
+ legacyPassthroughType: EmberMacPassthroughType,
1054
+ lastHopLqi: uint8_t,
1055
+ lastHopRssi: int8s,
1056
+ message: LVBytes
1056
1057
  },
1057
1058
  },
1058
1059
  rawTransmitCompleteHandler: {
1059
1060
  ID: 0x0098, // 152
1060
1061
  request: null,
1061
1062
  response: {
1062
- status: types_1.EmberStatus
1063
+ status: EmberStatus
1063
1064
  },
1064
1065
  },
1065
1066
  // Security Frames
1066
1067
  setInitialSecurityState: {
1067
1068
  ID: 0x0068, // 104
1068
1069
  request: {
1069
- state: types_1.EmberInitialSecurityState
1070
+ state: EmberInitialSecurityState
1070
1071
  },
1071
1072
  response: {
1072
- success: types_1.EmberStatus
1073
+ success: EmberStatus
1073
1074
  },
1074
1075
  },
1075
1076
  getCurrentSecurityState: {
1076
1077
  ID: 0x0069, // 105
1077
1078
  request: null,
1078
1079
  response: {
1079
- status: types_1.EmberStatus,
1080
- state: types_1.EmberCurrentSecurityState
1080
+ status: EmberStatus,
1081
+ state: EmberCurrentSecurityState
1081
1082
  },
1082
1083
  },
1083
1084
  getKey: {
1084
1085
  ID: 0x006a, // 106
1085
1086
  request: {
1086
- keyType: types_1.EmberKeyType
1087
+ keyType: EmberKeyType
1087
1088
  },
1088
1089
  response: {
1089
- status: types_1.EmberStatus,
1090
- keyStruct: types_1.EmberKeyStruct
1090
+ status: EmberStatus,
1091
+ keyStruct: EmberKeyStruct
1091
1092
  },
1092
1093
  },
1093
1094
  switchNetworkKeyHandler: {
1094
1095
  ID: 0x006e, // 110
1095
1096
  request: null,
1096
1097
  response: {
1097
- sequenceNumber: types_1.uint8_t
1098
+ sequenceNumber: uint8_t
1098
1099
  },
1099
1100
  },
1100
1101
  getKeyTableEntry: {
1101
1102
  ID: 0x0071, // 113
1102
1103
  request: {
1103
- index: types_1.uint8_t
1104
+ index: uint8_t
1104
1105
  },
1105
1106
  response: {
1106
- status: types_1.EmberStatus,
1107
- keyStruct: types_1.EmberKeyStruct
1107
+ status: EmberStatus,
1108
+ keyStruct: EmberKeyStruct
1108
1109
  },
1109
1110
  },
1110
1111
  setKeyTableEntry: {
1111
1112
  ID: 0x0072, // 114
1112
1113
  request: {
1113
- index: types_1.uint8_t,
1114
- address: types_1.EmberEUI64,
1115
- linkKey: types_1.Bool,
1116
- keyData: types_1.EmberKeyData
1114
+ index: uint8_t,
1115
+ address: EmberEUI64,
1116
+ linkKey: Bool,
1117
+ keyData: EmberKeyData
1117
1118
  },
1118
1119
  response: {
1119
- status: types_1.EmberStatus
1120
+ status: EmberStatus
1120
1121
  },
1121
1122
  },
1122
1123
  findKeyTableEntry: {
1123
1124
  ID: 0x0075, // 117
1124
1125
  request: {
1125
- address: types_1.EmberEUI64,
1126
- linkKey: types_1.Bool
1126
+ address: EmberEUI64,
1127
+ linkKey: Bool
1127
1128
  },
1128
1129
  response: {
1129
- index: types_1.uint8_t
1130
+ index: uint8_t
1130
1131
  },
1131
1132
  },
1132
1133
  addOrUpdateKeyTableEntry: {
1133
1134
  ID: 0x0066, // 102
1134
1135
  request: {
1135
- address: types_1.EmberEUI64,
1136
- linkKey: types_1.Bool,
1137
- keyData: types_1.EmberKeyData
1136
+ address: EmberEUI64,
1137
+ linkKey: Bool,
1138
+ keyData: EmberKeyData
1138
1139
  },
1139
1140
  response: {
1140
- status: types_1.EmberStatus
1141
+ status: EmberStatus
1141
1142
  },
1142
1143
  },
1143
1144
  sendTrustCenterLinkKey: {
1144
1145
  ID: 0x0067,
1145
1146
  request: {
1146
- destinationNodeId: types_1.EmberNodeId,
1147
- destinationEui64: types_1.EmberEUI64
1147
+ destinationNodeId: EmberNodeId,
1148
+ destinationEui64: EmberEUI64
1148
1149
  },
1149
1150
  response: {
1150
- status: types_1.EmberStatus
1151
+ status: EmberStatus
1151
1152
  },
1152
1153
  },
1153
1154
  eraseKeyTableEntry: {
1154
1155
  ID: 0x0076, // 118
1155
1156
  request: {
1156
- index: types_1.uint8_t
1157
+ index: uint8_t
1157
1158
  },
1158
1159
  response: {
1159
- status: types_1.EmberStatus
1160
+ status: EmberStatus
1160
1161
  },
1161
1162
  },
1162
1163
  clearKeyTable: {
1163
1164
  ID: 0x00B1, // 177
1164
1165
  request: null,
1165
1166
  response: {
1166
- status: types_1.EmberStatus
1167
+ status: EmberStatus
1167
1168
  },
1168
1169
  },
1169
1170
  requestLinkKey: {
1170
1171
  ID: 0x0014, // 20
1171
1172
  request: {
1172
- partner: types_1.EmberEUI64
1173
+ partner: EmberEUI64
1173
1174
  },
1174
1175
  response: {
1175
- status: types_1.EmberStatus
1176
+ status: EmberStatus
1176
1177
  },
1177
1178
  },
1178
1179
  updateTcLinkKey: {
1179
1180
  ID: 0x006C,
1180
1181
  request: {
1181
- maxAttempts: types_1.uint8_t
1182
+ maxAttempts: uint8_t
1182
1183
  },
1183
1184
  response: {
1184
- status: types_1.EmberStatus
1185
+ status: EmberStatus
1185
1186
  },
1186
1187
  },
1187
1188
  zigbeeKeyEstablishmentHandler: {
1188
1189
  ID: 0x009B, // 155
1189
1190
  request: null,
1190
1191
  response: {
1191
- partner: types_1.EmberEUI64,
1192
- status: types_1.EmberKeyStatus
1192
+ partner: EmberEUI64,
1193
+ status: EmberKeyStatus
1193
1194
  },
1194
1195
  },
1195
1196
  addTransientLinkKey: {
1196
1197
  ID: 0x00AF, // 175
1197
1198
  request: {
1198
- partner: types_1.EmberEUI64,
1199
- transientKey: types_1.EmberKeyData
1199
+ partner: EmberEUI64,
1200
+ transientKey: EmberKeyData
1200
1201
  },
1201
1202
  response: {
1202
- status: types_1.EmberStatus
1203
+ status: EmberStatus
1203
1204
  },
1204
1205
  },
1205
1206
  clearTransientLinkKeys: {
@@ -1221,37 +1222,37 @@ exports.FRAMES = {
1221
1222
  setSecurityKey: {
1222
1223
  ID: 0x00CA, // 202
1223
1224
  request: {
1224
- key: types_1.EmberKeyData,
1225
- securityType: types_1.SecureEzspSecurityType
1225
+ key: EmberKeyData,
1226
+ securityType: SecureEzspSecurityType
1226
1227
  },
1227
1228
  response: {
1228
- status: types_1.EzspStatus
1229
+ status: EzspStatus
1229
1230
  },
1230
1231
  },
1231
1232
  setSecurityParameters: {
1232
1233
  ID: 0x00CB, // 203
1233
1234
  request: {
1234
- securityLevel: types_1.SecureEzspSecurityLevel,
1235
- hostRandomNumber: types_1.SecureEzspRandomNumber
1235
+ securityLevel: SecureEzspSecurityLevel,
1236
+ hostRandomNumber: SecureEzspRandomNumber
1236
1237
  },
1237
1238
  response: {
1238
- status: types_1.EzspStatus,
1239
- returnNcpRandomNumber: types_1.SecureEzspRandomNumber
1239
+ status: EzspStatus,
1240
+ returnNcpRandomNumber: SecureEzspRandomNumber
1240
1241
  },
1241
1242
  },
1242
1243
  resetToFactoryDefaults: {
1243
1244
  ID: 0x00CC, // 204
1244
1245
  request: null,
1245
1246
  response: {
1246
- status: types_1.EzspStatus
1247
+ status: EzspStatus
1247
1248
  },
1248
1249
  },
1249
1250
  getSecurityKeyStatus: {
1250
1251
  ID: 0x00CD, // 205
1251
1252
  request: null,
1252
1253
  response: {
1253
- status: types_1.EzspStatus,
1254
- returnSecurityType: types_1.SecureEzspSecurityType
1254
+ status: EzspStatus,
1255
+ returnSecurityType: SecureEzspSecurityType
1255
1256
  },
1256
1257
  },
1257
1258
  // Trust Center Frames
@@ -1259,70 +1260,70 @@ exports.FRAMES = {
1259
1260
  ID: 0x0024, // 36
1260
1261
  request: null,
1261
1262
  response: {
1262
- newNodeId: types_1.EmberNodeId,
1263
- newNodeEui64: types_1.EmberEUI64,
1264
- status: types_1.EmberDeviceUpdate,
1265
- policyDecision: types_1.EmberJoinDecision,
1266
- parentOfNewNodeId: types_1.EmberNodeId
1263
+ newNodeId: EmberNodeId,
1264
+ newNodeEui64: EmberEUI64,
1265
+ status: EmberDeviceUpdate,
1266
+ policyDecision: EmberJoinDecision,
1267
+ parentOfNewNodeId: EmberNodeId
1267
1268
  },
1268
1269
  },
1269
1270
  broadcastNextNetworkKey: {
1270
1271
  ID: 0x0073, // 115
1271
1272
  request: {
1272
- key: types_1.EmberKeyData
1273
+ key: EmberKeyData
1273
1274
  },
1274
1275
  response: {
1275
- status: types_1.EmberStatus
1276
+ status: EmberStatus
1276
1277
  },
1277
1278
  },
1278
1279
  broadcastNetworkKeySwitch: {
1279
1280
  ID: 0x0074, // 116
1280
1281
  request: null,
1281
1282
  response: {
1282
- status: types_1.EmberStatus
1283
+ status: EmberStatus
1283
1284
  },
1284
1285
  },
1285
1286
  becomeTrustCenter: {
1286
1287
  ID: 0x0077, // 119
1287
1288
  request: {
1288
- newNetworkKey: types_1.EmberKeyData
1289
+ newNetworkKey: EmberKeyData
1289
1290
  },
1290
1291
  response: {
1291
- status: types_1.EmberStatus
1292
+ status: EmberStatus
1292
1293
  },
1293
1294
  },
1294
1295
  aesMmoHash: {
1295
1296
  ID: 0x006F, // 111
1296
1297
  request: {
1297
- context: types_1.EmberAesMmoHashContext,
1298
- finalize: types_1.Bool,
1299
- data: types_1.LVBytes
1298
+ context: EmberAesMmoHashContext,
1299
+ finalize: Bool,
1300
+ data: LVBytes
1300
1301
  },
1301
1302
  response: {
1302
- status: types_1.EmberStatus,
1303
- returnContext: types_1.EmberAesMmoHashContext
1303
+ status: EmberStatus,
1304
+ returnContext: EmberAesMmoHashContext
1304
1305
  },
1305
1306
  },
1306
1307
  removeDevice: {
1307
1308
  ID: 0x00A8, // 168
1308
1309
  request: {
1309
- destShort: types_1.EmberNodeId,
1310
- destLong: types_1.EmberEUI64,
1311
- targetLong: types_1.EmberEUI64
1310
+ destShort: EmberNodeId,
1311
+ destLong: EmberEUI64,
1312
+ targetLong: EmberEUI64
1312
1313
  },
1313
1314
  response: {
1314
- status: types_1.EmberStatus
1315
+ status: EmberStatus
1315
1316
  },
1316
1317
  },
1317
1318
  unicastNwkKeyUpdate: {
1318
1319
  ID: 0x00A9, // 169
1319
1320
  request: {
1320
- destShort: types_1.EmberNodeId,
1321
- destLong: types_1.EmberEUI64,
1322
- key: types_1.EmberKeyData
1321
+ destShort: EmberNodeId,
1322
+ destLong: EmberEUI64,
1323
+ key: EmberKeyData
1323
1324
  },
1324
1325
  response: {
1325
- status: types_1.EmberStatus
1326
+ status: EmberStatus
1326
1327
  },
1327
1328
  },
1328
1329
  // Certificate Based Key Exchange (CBKE) Frames
@@ -1330,161 +1331,161 @@ exports.FRAMES = {
1330
1331
  ID: 0x00A4, // 164
1331
1332
  request: null,
1332
1333
  response: {
1333
- status: types_1.EmberStatus
1334
+ status: EmberStatus
1334
1335
  },
1335
1336
  },
1336
1337
  generateCbkeKeysHandler: {
1337
1338
  ID: 0x009E, // 158
1338
1339
  request: null,
1339
1340
  response: {
1340
- status: types_1.EmberStatus,
1341
- ephemeralPublicKey: types_1.EmberPublicKeyData
1341
+ status: EmberStatus,
1342
+ ephemeralPublicKey: EmberPublicKeyData
1342
1343
  },
1343
1344
  },
1344
1345
  calculateSmacs: {
1345
1346
  ID: 0x009F, // 159
1346
1347
  request: {
1347
- amInitiator: types_1.Bool,
1348
- partnerCertificate: types_1.EmberCertificateData,
1349
- partnerEphemeralPublicKey: types_1.EmberPublicKeyData
1348
+ amInitiator: Bool,
1349
+ partnerCertificate: EmberCertificateData,
1350
+ partnerEphemeralPublicKey: EmberPublicKeyData
1350
1351
  },
1351
1352
  response: {
1352
- status: types_1.EmberStatus
1353
+ status: EmberStatus
1353
1354
  },
1354
1355
  },
1355
1356
  calculateSmacsHandler: {
1356
1357
  ID: 0x00A0, // 160
1357
1358
  request: null,
1358
1359
  response: {
1359
- status: types_1.EmberStatus,
1360
- initiatorSmac: types_1.EmberSmacData,
1361
- responderSmac: types_1.EmberSmacData
1360
+ status: EmberStatus,
1361
+ initiatorSmac: EmberSmacData,
1362
+ responderSmac: EmberSmacData
1362
1363
  },
1363
1364
  },
1364
1365
  generateCbkeKeys283k1: {
1365
1366
  ID: 0x00E8, // 232
1366
1367
  request: null,
1367
1368
  response: {
1368
- status: types_1.EmberStatus
1369
+ status: EmberStatus
1369
1370
  },
1370
1371
  },
1371
1372
  generateCbkeKeysHandler283k1: {
1372
1373
  ID: 0x00E9, // 233
1373
1374
  request: null,
1374
1375
  response: {
1375
- status: types_1.EmberStatus,
1376
- ephemeralPublicKey: types_1.EmberPublicKey283k1Data
1376
+ status: EmberStatus,
1377
+ ephemeralPublicKey: EmberPublicKey283k1Data
1377
1378
  },
1378
1379
  },
1379
1380
  calculateSmacs283k1: {
1380
1381
  ID: 0x00EA, // 234
1381
1382
  request: {
1382
- amInitiator: types_1.Bool,
1383
- partnerCertificate: types_1.EmberCertificate283k1Data,
1384
- partnerEphemeralPublicKey: types_1.EmberPublicKey283k1Data
1383
+ amInitiator: Bool,
1384
+ partnerCertificate: EmberCertificate283k1Data,
1385
+ partnerEphemeralPublicKey: EmberPublicKey283k1Data
1385
1386
  },
1386
1387
  response: {
1387
- status: types_1.EmberStatus
1388
+ status: EmberStatus
1388
1389
  },
1389
1390
  },
1390
1391
  calculateSmacsHandler283k1: {
1391
1392
  ID: 0x00EB, // 235
1392
1393
  request: null,
1393
1394
  response: {
1394
- status: types_1.EmberStatus,
1395
- initiatorSmac: types_1.EmberSmacData,
1396
- responderSmac: types_1.EmberSmacData
1395
+ status: EmberStatus,
1396
+ initiatorSmac: EmberSmacData,
1397
+ responderSmac: EmberSmacData
1397
1398
  },
1398
1399
  },
1399
1400
  clearTemporaryDataMaybeStoreLinkKey: {
1400
1401
  ID: 0x00A1, // 161
1401
1402
  request: {
1402
- storeLinkKey: types_1.Bool
1403
+ storeLinkKey: Bool
1403
1404
  },
1404
1405
  response: {
1405
- status: types_1.EmberStatus
1406
+ status: EmberStatus
1406
1407
  },
1407
1408
  },
1408
1409
  clearTemporaryDataMaybeStoreLinkKey283k1: {
1409
1410
  ID: 0x00EE, // 238
1410
1411
  request: {
1411
- storeLinkKey: types_1.Bool
1412
+ storeLinkKey: Bool
1412
1413
  },
1413
1414
  response: {
1414
- status: types_1.EmberStatus
1415
+ status: EmberStatus
1415
1416
  },
1416
1417
  },
1417
1418
  getCertificate: {
1418
1419
  ID: 0x00A5, // 165
1419
1420
  request: null,
1420
1421
  response: {
1421
- status: types_1.EmberStatus,
1422
- localCert: types_1.EmberCertificateData
1422
+ status: EmberStatus,
1423
+ localCert: EmberCertificateData
1423
1424
  },
1424
1425
  },
1425
1426
  getCertificate283k1: {
1426
1427
  ID: 0x00EC, // 236
1427
1428
  request: null,
1428
1429
  response: {
1429
- status: types_1.EmberStatus,
1430
- localCert: types_1.EmberCertificate283k1Data
1430
+ status: EmberStatus,
1431
+ localCert: EmberCertificate283k1Data
1431
1432
  },
1432
1433
  },
1433
1434
  dsaSign: {
1434
1435
  ID: 0x00A6, // 166
1435
1436
  request: {
1436
- message: types_1.LVBytes
1437
+ message: LVBytes
1437
1438
  },
1438
1439
  response: {
1439
- status: types_1.EmberStatus
1440
+ status: EmberStatus
1440
1441
  },
1441
1442
  },
1442
1443
  dsaSignHandler: {
1443
1444
  ID: 0x00A7, // 167
1444
1445
  request: null,
1445
1446
  response: {
1446
- status: types_1.EmberStatus,
1447
- message: types_1.LVBytes
1447
+ status: EmberStatus,
1448
+ message: LVBytes
1448
1449
  },
1449
1450
  },
1450
1451
  dsaVerify: {
1451
1452
  ID: 0x00A3, // 163
1452
1453
  request: {
1453
- digest: types_1.EmberMessageDigest,
1454
- signerCertificate: types_1.EmberCertificateData,
1455
- receivedSig: types_1.EmberSignatureData
1454
+ digest: EmberMessageDigest,
1455
+ signerCertificate: EmberCertificateData,
1456
+ receivedSig: EmberSignatureData
1456
1457
  },
1457
1458
  response: {
1458
- status: types_1.EmberStatus
1459
+ status: EmberStatus
1459
1460
  },
1460
1461
  },
1461
1462
  dsaVerifyHandler: {
1462
1463
  ID: 0x0078, // 120
1463
1464
  request: null,
1464
1465
  response: {
1465
- status: types_1.EmberStatus
1466
+ status: EmberStatus
1466
1467
  },
1467
1468
  },
1468
1469
  dsaVerify283k1: {
1469
1470
  ID: 0x00B0, // 176
1470
1471
  request: {
1471
- digest: types_1.EmberMessageDigest,
1472
- signerCertificate: types_1.EmberCertificate283k1Data,
1473
- receivedSig: types_1.EmberSignature283k1Data
1472
+ digest: EmberMessageDigest,
1473
+ signerCertificate: EmberCertificate283k1Data,
1474
+ receivedSig: EmberSignature283k1Data
1474
1475
  },
1475
1476
  response: {
1476
- status: types_1.EmberStatus
1477
+ status: EmberStatus
1477
1478
  },
1478
1479
  },
1479
1480
  setPreinstalledCbkeData: {
1480
1481
  ID: 0x00A2, // 162
1481
1482
  request: {
1482
- caPublic: types_1.EmberPublicKeyData,
1483
- myCert: types_1.EmberCertificateData,
1484
- myKey: types_1.EmberPrivateKeyData
1483
+ caPublic: EmberPublicKeyData,
1484
+ myCert: EmberCertificateData,
1485
+ myKey: EmberPrivateKeyData
1485
1486
  },
1486
1487
  response: {
1487
- status: types_1.EmberStatus
1488
+ status: EmberStatus
1488
1489
  },
1489
1490
  },
1490
1491
  // setPreinstalledCbkeData283k1: {
@@ -1502,270 +1503,270 @@ exports.FRAMES = {
1502
1503
  mfglibStart: {
1503
1504
  ID: 0x0083, // 131
1504
1505
  request: {
1505
- rxCallback: types_1.Bool
1506
+ rxCallback: Bool
1506
1507
  },
1507
1508
  response: {
1508
- status: types_1.EmberStatus
1509
+ status: EmberStatus
1509
1510
  },
1510
1511
  },
1511
1512
  mfglibEnd: {
1512
1513
  ID: 0x0084, // 132
1513
1514
  request: null,
1514
1515
  response: {
1515
- status: types_1.EmberStatus
1516
+ status: EmberStatus
1516
1517
  },
1517
1518
  },
1518
1519
  mfglibStartTone: {
1519
1520
  ID: 0x0085, // 133
1520
1521
  request: null,
1521
1522
  response: {
1522
- status: types_1.EmberStatus
1523
+ status: EmberStatus
1523
1524
  },
1524
1525
  },
1525
1526
  mfglibStopTone: {
1526
1527
  ID: 0x0086, // 134
1527
1528
  request: null,
1528
1529
  response: {
1529
- status: types_1.EmberStatus
1530
+ status: EmberStatus
1530
1531
  },
1531
1532
  },
1532
1533
  mfglibStartStream: {
1533
1534
  ID: 0x0087, // 135
1534
1535
  request: null,
1535
1536
  response: {
1536
- status: types_1.EmberStatus
1537
+ status: EmberStatus
1537
1538
  },
1538
1539
  },
1539
1540
  mfglibStopStream: {
1540
1541
  ID: 0x0088, // 136
1541
1542
  request: null,
1542
1543
  response: {
1543
- status: types_1.EmberStatus
1544
+ status: EmberStatus
1544
1545
  },
1545
1546
  },
1546
1547
  mfglibSendPacket: {
1547
1548
  ID: 0x0089, // 137
1548
1549
  request: {
1549
- packet: types_1.LVBytes
1550
+ packet: LVBytes
1550
1551
  },
1551
1552
  response: {
1552
- status: types_1.EmberStatus
1553
+ status: EmberStatus
1553
1554
  },
1554
1555
  },
1555
1556
  mfglibSetChannel: {
1556
1557
  ID: 0x008A, // 138
1557
1558
  request: {
1558
- channel: types_1.uint8_t
1559
+ channel: uint8_t
1559
1560
  },
1560
1561
  response: {
1561
- status: types_1.EmberStatus
1562
+ status: EmberStatus
1562
1563
  },
1563
1564
  },
1564
1565
  mfglibGetChannel: {
1565
1566
  ID: 0x008B, // 139
1566
1567
  request: null,
1567
1568
  response: {
1568
- channel: types_1.uint8_t
1569
+ channel: uint8_t
1569
1570
  },
1570
1571
  },
1571
1572
  mfglibSetPower: {
1572
1573
  ID: 0x008C, // 140
1573
1574
  request: {
1574
- txPowerMode: types_1.uint16_t,
1575
- power: types_1.int8s
1575
+ txPowerMode: uint16_t,
1576
+ power: int8s
1576
1577
  },
1577
1578
  response: {
1578
- status: types_1.EmberStatus
1579
+ status: EmberStatus
1579
1580
  },
1580
1581
  },
1581
1582
  mfglibGetPower: {
1582
1583
  ID: 0x008D, // 141
1583
1584
  request: null,
1584
1585
  response: {
1585
- power: types_1.int8s
1586
+ power: int8s
1586
1587
  },
1587
1588
  },
1588
1589
  mfglibRxHandler: {
1589
1590
  ID: 0x008E, // 142
1590
1591
  request: null,
1591
1592
  response: {
1592
- linkQuality: types_1.uint8_t,
1593
- rssi: types_1.int8s,
1594
- packet: types_1.LVBytes
1593
+ linkQuality: uint8_t,
1594
+ rssi: int8s,
1595
+ packet: LVBytes
1595
1596
  },
1596
1597
  },
1597
1598
  // Bootloader Frames
1598
1599
  launchStandaloneBootloader: {
1599
1600
  ID: 0x008F, // 143
1600
1601
  request: {
1601
- mode: types_1.uint8_t
1602
+ mode: uint8_t
1602
1603
  },
1603
1604
  response: {
1604
- status: types_1.EmberStatus
1605
+ status: EmberStatus
1605
1606
  },
1606
1607
  },
1607
1608
  sendBootloadMessage: {
1608
1609
  ID: 0x0090, // 144
1609
1610
  request: {
1610
- broadcast: types_1.Bool,
1611
- destEui64: types_1.EmberEUI64,
1612
- message: types_1.LVBytes
1611
+ broadcast: Bool,
1612
+ destEui64: EmberEUI64,
1613
+ message: LVBytes
1613
1614
  },
1614
1615
  response: {
1615
- status: types_1.EmberStatus
1616
+ status: EmberStatus
1616
1617
  },
1617
1618
  },
1618
1619
  getStandaloneBootloaderVersionPlatMicroPhy: {
1619
1620
  ID: 0x0091, // 145
1620
1621
  request: null,
1621
1622
  response: {
1622
- bootloader_version: types_1.uint16_t,
1623
- nodePlat: types_1.uint8_t,
1624
- nodeMicro: types_1.uint8_t,
1625
- nodePhy: types_1.uint8_t
1623
+ bootloader_version: uint16_t,
1624
+ nodePlat: uint8_t,
1625
+ nodeMicro: uint8_t,
1626
+ nodePhy: uint8_t
1626
1627
  },
1627
1628
  },
1628
1629
  incomingBootloadMessageHandler: {
1629
1630
  ID: 0x0092, // 146
1630
1631
  request: null,
1631
1632
  response: {
1632
- longId: types_1.EmberEUI64,
1633
- lastHopLqi: types_1.uint8_t,
1634
- lastHopRssi: types_1.int8s,
1635
- message: types_1.LVBytes
1633
+ longId: EmberEUI64,
1634
+ lastHopLqi: uint8_t,
1635
+ lastHopRssi: int8s,
1636
+ message: LVBytes
1636
1637
  },
1637
1638
  },
1638
1639
  bootloadTransmitCompleteHandler: {
1639
1640
  ID: 0x0093, // 147
1640
1641
  request: null,
1641
1642
  response: {
1642
- status: types_1.EmberStatus,
1643
- message: types_1.LVBytes
1643
+ status: EmberStatus,
1644
+ message: LVBytes
1644
1645
  },
1645
1646
  },
1646
1647
  aesEncrypt: {
1647
1648
  ID: 0x0094, // 148
1648
1649
  request: {
1649
- plaintext: (0, types_1.fixed_list)(16, types_1.uint8_t),
1650
- key: (0, types_1.fixed_list)(16, types_1.uint8_t)
1650
+ plaintext: fixed_list(16, uint8_t),
1651
+ key: fixed_list(16, uint8_t)
1651
1652
  },
1652
1653
  response: {
1653
- ciphertext: (0, types_1.fixed_list)(16, types_1.uint8_t)
1654
+ ciphertext: fixed_list(16, uint8_t)
1654
1655
  },
1655
1656
  },
1656
1657
  overrideCurrentChannel: {
1657
1658
  ID: 0x0095, // 149
1658
1659
  request: {
1659
- channel: types_1.uint8_t
1660
+ channel: uint8_t
1660
1661
  },
1661
1662
  response: {
1662
- status: types_1.EmberStatus
1663
+ status: EmberStatus
1663
1664
  },
1664
1665
  },
1665
1666
  // ZLL Frames
1666
1667
  zllNetworkOps: {
1667
1668
  ID: 0x00B2, // 178
1668
1669
  request: {
1669
- networkInfo: types_1.EmberZllNetwork,
1670
- op: types_1.EzspZllNetworkOperation,
1671
- radioTxPower: types_1.int8s
1670
+ networkInfo: EmberZllNetwork,
1671
+ op: EzspZllNetworkOperation,
1672
+ radioTxPower: int8s
1672
1673
  },
1673
1674
  response: {
1674
- status: types_1.EmberStatus
1675
+ status: EmberStatus
1675
1676
  },
1676
1677
  },
1677
1678
  zllSetInitialSecurityState: {
1678
1679
  ID: 0x00B3, // 179
1679
1680
  request: {
1680
- networkKey: types_1.EmberKeyData,
1681
- securityState: types_1.EmberZllInitialSecurityState
1681
+ networkKey: EmberKeyData,
1682
+ securityState: EmberZllInitialSecurityState
1682
1683
  },
1683
1684
  response: {
1684
- status: types_1.EmberStatus
1685
+ status: EmberStatus
1685
1686
  },
1686
1687
  },
1687
1688
  zllStartScan: {
1688
1689
  ID: 0x00B4, // 180
1689
1690
  request: {
1690
- channelMask: types_1.uint32_t,
1691
- radioPowerForScan: types_1.int8s,
1692
- nodeType: types_1.EmberNodeType
1691
+ channelMask: uint32_t,
1692
+ radioPowerForScan: int8s,
1693
+ nodeType: EmberNodeType
1693
1694
  },
1694
1695
  response: {
1695
- status: types_1.EmberStatus
1696
+ status: EmberStatus
1696
1697
  },
1697
1698
  },
1698
1699
  zllSetRxOnWhenIdle: {
1699
1700
  ID: 0x00B5, // 181
1700
1701
  request: {
1701
- durationMs: types_1.uint16_t
1702
+ durationMs: uint16_t
1702
1703
  },
1703
1704
  response: {
1704
- status: types_1.EmberStatus
1705
+ status: EmberStatus
1705
1706
  },
1706
1707
  },
1707
1708
  zllNetworkFoundHandler: {
1708
1709
  ID: 0x00B6, // 182
1709
1710
  request: null,
1710
1711
  response: {
1711
- networkInfo: types_1.EmberZllNetwork,
1712
- isDeviceInfoNull: types_1.Bool,
1713
- deviceInfo: types_1.EmberZllDeviceInfoRecord,
1714
- lastHopLqi: types_1.uint8_t,
1715
- lastHopRssi: types_1.int8s
1712
+ networkInfo: EmberZllNetwork,
1713
+ isDeviceInfoNull: Bool,
1714
+ deviceInfo: EmberZllDeviceInfoRecord,
1715
+ lastHopLqi: uint8_t,
1716
+ lastHopRssi: int8s
1716
1717
  },
1717
1718
  },
1718
1719
  zllScanCompleteHandler: {
1719
1720
  ID: 0x00B7, // 183
1720
1721
  request: null,
1721
1722
  response: {
1722
- status: types_1.EmberStatus
1723
+ status: EmberStatus
1723
1724
  },
1724
1725
  },
1725
1726
  zllAddressAssignmentHandler: {
1726
1727
  ID: 0x00B8, // 184
1727
1728
  request: null,
1728
1729
  response: {
1729
- addressInfo: types_1.EmberZllAddressAssignment,
1730
- lastHopLqi: types_1.uint8_t,
1731
- lastHopRssi: types_1.int8s
1730
+ addressInfo: EmberZllAddressAssignment,
1731
+ lastHopLqi: uint8_t,
1732
+ lastHopRssi: int8s
1732
1733
  },
1733
1734
  },
1734
1735
  setLogicalAndRadioChannel: {
1735
1736
  ID: 0x00B9, // 185
1736
1737
  request: {
1737
- radioChannel: types_1.uint8_t
1738
+ radioChannel: uint8_t
1738
1739
  },
1739
1740
  response: {
1740
- status: types_1.EmberStatus
1741
+ status: EmberStatus
1741
1742
  },
1742
1743
  },
1743
1744
  getLogicalChannel: {
1744
1745
  ID: 0x00BA, // 186
1745
1746
  request: null,
1746
1747
  response: {
1747
- logicalChannel: types_1.uint8_t
1748
+ logicalChannel: uint8_t
1748
1749
  },
1749
1750
  },
1750
1751
  zllTouchLinkTargetHandler: {
1751
1752
  ID: 0x00BB, // 187
1752
1753
  request: null,
1753
1754
  response: {
1754
- networkInfo: types_1.EmberZllNetwork
1755
+ networkInfo: EmberZllNetwork
1755
1756
  },
1756
1757
  },
1757
1758
  zllGetTokens: {
1758
1759
  ID: 0x00BC, // 188
1759
1760
  request: null,
1760
1761
  response: {
1761
- data: types_1.EmberTokTypeStackZllData,
1762
- security: types_1.EmberTokTypeStackZllSecurity
1762
+ data: EmberTokTypeStackZllData,
1763
+ security: EmberTokTypeStackZllSecurity
1763
1764
  },
1764
1765
  },
1765
1766
  zllSetDataToken: {
1766
1767
  ID: 0x00BD, // 189
1767
1768
  request: {
1768
- data: types_1.EmberTokTypeStackZllData
1769
+ data: EmberTokTypeStackZllData
1769
1770
  },
1770
1771
  response: null,
1771
1772
  },
@@ -1778,7 +1779,7 @@ exports.FRAMES = {
1778
1779
  ID: 0x00BE, // 190
1779
1780
  request: null,
1780
1781
  response: {
1781
- isZllNetwork: types_1.Bool
1782
+ isZllNetwork: Bool
1782
1783
  },
1783
1784
  },
1784
1785
  // rf4ceSetPairingTableEntry: {
@@ -2065,62 +2066,62 @@ exports.FRAMES = {
2065
2066
  gpProxyTableProcessGpPairing: {
2066
2067
  ID: 0x00C9, // 201
2067
2068
  request: {
2068
- options: types_1.uint32_t,
2069
- addr: types_1.EmberGpAddress,
2070
- commMode: types_1.uint8_t,
2071
- sinkNetworkAddress: types_1.uint16_t,
2072
- sinkGroupId: types_1.uint16_t,
2073
- assignedAlias: types_1.uint16_t,
2074
- sinkIeeeAddress: (0, types_1.fixed_list)(8, types_1.uint8_t),
2075
- gpdKey: types_1.EmberKeyData,
2076
- gpdSecurityFrameCounter: types_1.uint32_t,
2077
- forwardingRadius: types_1.uint8_t
2069
+ options: uint32_t,
2070
+ addr: EmberGpAddress,
2071
+ commMode: uint8_t,
2072
+ sinkNetworkAddress: uint16_t,
2073
+ sinkGroupId: uint16_t,
2074
+ assignedAlias: uint16_t,
2075
+ sinkIeeeAddress: fixed_list(8, uint8_t),
2076
+ gpdKey: EmberKeyData,
2077
+ gpdSecurityFrameCounter: uint32_t,
2078
+ forwardingRadius: uint8_t
2078
2079
  },
2079
2080
  response: {
2080
- gpPairingAdded: types_1.Bool
2081
+ gpPairingAdded: Bool
2081
2082
  },
2082
2083
  },
2083
2084
  dGpSend: {
2084
2085
  ID: 0x00C6, // 198
2085
2086
  request: {
2086
- action: types_1.Bool,
2087
- useCca: types_1.Bool,
2088
- addr: types_1.EmberGpAddress,
2089
- gpdCommandId: types_1.uint8_t,
2090
- gpdAsdu: types_1.LVBytes,
2091
- gpepHandle: types_1.uint8_t,
2092
- gpTxQueueEntryLifetimeMs: types_1.uint16_t
2087
+ action: Bool,
2088
+ useCca: Bool,
2089
+ addr: EmberGpAddress,
2090
+ gpdCommandId: uint8_t,
2091
+ gpdAsdu: LVBytes,
2092
+ gpepHandle: uint8_t,
2093
+ gpTxQueueEntryLifetimeMs: uint16_t
2093
2094
  },
2094
2095
  response: {
2095
- status: types_1.EmberStatus
2096
+ status: EmberStatus
2096
2097
  },
2097
2098
  },
2098
2099
  dGpSentHandler: {
2099
2100
  ID: 0x00C7, // 199
2100
2101
  request: null,
2101
2102
  response: {
2102
- status: types_1.EmberStatus,
2103
- gpepHandle: types_1.uint8_t
2103
+ status: EmberStatus,
2104
+ gpepHandle: uint8_t
2104
2105
  },
2105
2106
  },
2106
2107
  gpepIncomingMessageHandler: {
2107
2108
  ID: 0x00C5, // 197
2108
2109
  request: null,
2109
2110
  response: {
2110
- status: types_1.EmberStatus,
2111
- gpdLink: types_1.uint8_t,
2112
- sequenceNumber: types_1.uint8_t,
2113
- addrType: types_1.uint8_t,
2114
- addr: types_1.uint32_t,
2115
- srcId: types_1.uint32_t,
2116
- addrE: types_1.uint8_t,
2117
- gpdfSecurityLevel: types_1.EmberGpSecurityLevel,
2118
- gpdfSecurityKeyType: types_1.EmberGpKeyType,
2119
- autoCommissioning: types_1.Bool,
2120
- bidirectionalInfo: types_1.uint8_t,
2121
- gpdSecurityFrameCounter: types_1.uint32_t,
2122
- gpdCommandId: types_1.uint8_t,
2123
- payload: types_1.Bytes,
2111
+ status: EmberStatus,
2112
+ gpdLink: uint8_t,
2113
+ sequenceNumber: uint8_t,
2114
+ addrType: uint8_t,
2115
+ addr: uint32_t,
2116
+ srcId: uint32_t,
2117
+ addrE: uint8_t,
2118
+ gpdfSecurityLevel: EmberGpSecurityLevel,
2119
+ gpdfSecurityKeyType: EmberGpKeyType,
2120
+ autoCommissioning: Bool,
2121
+ bidirectionalInfo: uint8_t,
2122
+ gpdSecurityFrameCounter: uint32_t,
2123
+ gpdCommandId: uint8_t,
2124
+ payload: Bytes,
2124
2125
  // mic: uint32_t,
2125
2126
  //attr: EmberGpSinkListEntry,
2126
2127
  // proxyTableIndex: uint8_t,
@@ -2131,8 +2132,8 @@ exports.FRAMES = {
2131
2132
  ID: 0x00C4,
2132
2133
  request: null,
2133
2134
  response: {
2134
- newChildId: types_1.EmberNodeId,
2135
- newParentId: types_1.EmberNodeId
2135
+ newChildId: EmberNodeId,
2136
+ newParentId: EmberNodeId
2136
2137
  },
2137
2138
  maxV: 8
2138
2139
  },
@@ -2140,221 +2141,221 @@ exports.FRAMES = {
2140
2141
  ID: 0x00C4,
2141
2142
  request: null,
2142
2143
  response: {
2143
- errorCode: types_1.uint8_t,
2144
- target: types_1.EmberNodeId
2144
+ errorCode: uint8_t,
2145
+ target: EmberNodeId
2145
2146
  },
2146
2147
  minV: 9
2147
2148
  },
2148
2149
  setSourceRouteDiscoveryMode: {
2149
2150
  ID: 0x005a,
2150
2151
  request: {
2151
- mode: types_1.uint8_t
2152
+ mode: uint8_t
2152
2153
  },
2153
2154
  response: {
2154
- remainingTime: types_1.uint32_t
2155
+ remainingTime: uint32_t
2155
2156
  },
2156
2157
  },
2157
2158
  };
2158
- exports.FRAME_NAMES_BY_ID = {};
2159
- for (const key of Object.getOwnPropertyNames(exports.FRAMES)) {
2160
- const frameDesc = exports.FRAMES[key];
2161
- if (exports.FRAME_NAMES_BY_ID[frameDesc.ID]) {
2162
- exports.FRAME_NAMES_BY_ID[frameDesc.ID].push(key);
2159
+ export const FRAME_NAMES_BY_ID = {};
2160
+ for (const key of Object.getOwnPropertyNames(FRAMES)) {
2161
+ const frameDesc = FRAMES[key];
2162
+ if (FRAME_NAMES_BY_ID[frameDesc.ID]) {
2163
+ FRAME_NAMES_BY_ID[frameDesc.ID].push(key);
2163
2164
  }
2164
2165
  else {
2165
- exports.FRAME_NAMES_BY_ID[frameDesc.ID] = [key];
2166
+ FRAME_NAMES_BY_ID[frameDesc.ID] = [key];
2166
2167
  }
2167
2168
  }
2168
- exports.ZDOREQUESTS = {
2169
+ export const ZDOREQUESTS = {
2169
2170
  // ZDO Device and Discovery Attributes
2170
2171
  nodeDescReq: {
2171
2172
  ID: 0x0002,
2172
2173
  request: {
2173
- transId: types_1.uint8_t,
2174
- dstaddr: types_1.EmberNodeId
2174
+ transId: uint8_t,
2175
+ dstaddr: EmberNodeId
2175
2176
  },
2176
2177
  response: {
2177
- status: types_1.EmberStatus
2178
+ status: EmberStatus
2178
2179
  },
2179
2180
  },
2180
2181
  simpleDescReq: {
2181
2182
  ID: 0x0004,
2182
2183
  request: {
2183
- transId: types_1.uint8_t,
2184
- dstaddr: types_1.EmberNodeId,
2185
- targetEp: types_1.uint8_t
2184
+ transId: uint8_t,
2185
+ dstaddr: EmberNodeId,
2186
+ targetEp: uint8_t
2186
2187
  },
2187
2188
  response: {
2188
- status: types_1.EmberStatus
2189
+ status: EmberStatus
2189
2190
  },
2190
2191
  },
2191
2192
  activeEpReq: {
2192
2193
  ID: 0x0005,
2193
2194
  request: {
2194
- transId: types_1.uint8_t,
2195
- dstaddr: types_1.EmberNodeId
2195
+ transId: uint8_t,
2196
+ dstaddr: EmberNodeId
2196
2197
  },
2197
2198
  response: {
2198
- status: types_1.EmberStatus
2199
+ status: EmberStatus
2199
2200
  },
2200
2201
  },
2201
2202
  // ZDO Bind Manager Attributes
2202
2203
  bindReq: {
2203
2204
  ID: 0x0021,
2204
2205
  request: {
2205
- transId: types_1.uint8_t,
2206
- sourceEui: types_1.EmberEUI64,
2207
- sourceEp: types_1.uint8_t,
2208
- clusterId: types_1.uint16_t,
2209
- destAddr: types_1.EmberMultiAddress
2206
+ transId: uint8_t,
2207
+ sourceEui: EmberEUI64,
2208
+ sourceEp: uint8_t,
2209
+ clusterId: uint16_t,
2210
+ destAddr: EmberMultiAddress
2210
2211
  },
2211
2212
  response: {
2212
- status: types_1.EmberStatus
2213
+ status: EmberStatus
2213
2214
  },
2214
2215
  },
2215
2216
  unBindReq: {
2216
2217
  ID: 0x0022,
2217
2218
  request: {
2218
- transId: types_1.uint8_t,
2219
- sourceEui: types_1.EmberEUI64,
2220
- sourceEp: types_1.uint8_t,
2221
- clusterId: types_1.uint16_t,
2222
- destAddr: types_1.EmberMultiAddress
2219
+ transId: uint8_t,
2220
+ sourceEui: EmberEUI64,
2221
+ sourceEp: uint8_t,
2222
+ clusterId: uint16_t,
2223
+ destAddr: EmberMultiAddress
2223
2224
  },
2224
2225
  response: {
2225
- status: types_1.EmberStatus
2226
+ status: EmberStatus
2226
2227
  },
2227
2228
  },
2228
2229
  // ZDO network manager attributes commands
2229
2230
  mgmtLqiReq: {
2230
2231
  ID: 0x0031,
2231
2232
  request: {
2232
- transId: types_1.uint8_t,
2233
- startindex: types_1.uint8_t
2233
+ transId: uint8_t,
2234
+ startindex: uint8_t
2234
2235
  },
2235
2236
  response: {
2236
- status: types_1.EmberStatus
2237
+ status: EmberStatus
2237
2238
  },
2238
2239
  },
2239
2240
  mgmtRtgReq: {
2240
2241
  ID: 0x0032,
2241
2242
  request: {
2242
- transId: types_1.uint8_t,
2243
- startindex: types_1.uint8_t
2243
+ transId: uint8_t,
2244
+ startindex: uint8_t
2244
2245
  },
2245
2246
  response: {
2246
- status: types_1.EmberStatus
2247
+ status: EmberStatus
2247
2248
  },
2248
2249
  },
2249
2250
  mgmtLeaveReq: {
2250
2251
  ID: 0x0034,
2251
2252
  request: {
2252
- transId: types_1.uint8_t,
2253
- destAddr: types_1.EmberEUI64,
2254
- removechildrenRejoin: types_1.uint8_t
2253
+ transId: uint8_t,
2254
+ destAddr: EmberEUI64,
2255
+ removechildrenRejoin: uint8_t
2255
2256
  },
2256
2257
  response: {
2257
- status: types_1.EmberStatus
2258
+ status: EmberStatus
2258
2259
  },
2259
2260
  },
2260
2261
  mgmtPermitJoinReq: {
2261
2262
  ID: 0x0036,
2262
2263
  request: {
2263
- transId: types_1.uint8_t,
2264
- duration: types_1.uint8_t,
2265
- tcSignificant: types_1.Bool
2264
+ transId: uint8_t,
2265
+ duration: uint8_t,
2266
+ tcSignificant: Bool
2266
2267
  },
2267
2268
  response: {
2268
- status: types_1.EmberStatus
2269
+ status: EmberStatus
2269
2270
  },
2270
2271
  },
2271
2272
  };
2272
- exports.ZDORESPONSES = {
2273
+ export const ZDORESPONSES = {
2273
2274
  // ZDO Device and Discovery Attributes
2274
2275
  nodeDescRsp: {
2275
2276
  ID: 0x8002,
2276
2277
  params: {
2277
- transId: types_1.uint8_t,
2278
- status: types_1.EmberStatus,
2279
- nwkaddr: types_1.EmberNodeId,
2280
- descriptor: types_1.EmberNodeDescriptor
2278
+ transId: uint8_t,
2279
+ status: EmberStatus,
2280
+ nwkaddr: EmberNodeId,
2281
+ descriptor: EmberNodeDescriptor
2281
2282
  },
2282
2283
  },
2283
2284
  simpleDescRsp: {
2284
2285
  ID: 0x8004,
2285
2286
  params: {
2286
- transId: types_1.uint8_t,
2287
- status: types_1.EmberStatus,
2288
- nwkaddr: types_1.EmberNodeId,
2289
- len: types_1.uint8_t,
2290
- descriptor: types_1.EmberSimpleDescriptor
2287
+ transId: uint8_t,
2288
+ status: EmberStatus,
2289
+ nwkaddr: EmberNodeId,
2290
+ len: uint8_t,
2291
+ descriptor: EmberSimpleDescriptor
2291
2292
  },
2292
2293
  },
2293
2294
  activeEpRsp: {
2294
2295
  ID: 0x8005,
2295
2296
  params: {
2296
- transId: types_1.uint8_t,
2297
- status: types_1.EmberStatus,
2298
- nwkaddr: types_1.EmberNodeId,
2299
- activeeplist: types_1.LVBytes
2297
+ transId: uint8_t,
2298
+ status: EmberStatus,
2299
+ nwkaddr: EmberNodeId,
2300
+ activeeplist: LVBytes
2300
2301
  }
2301
2302
  },
2302
2303
  // ZDO Bind Manager Attributes
2303
2304
  bindRsp: {
2304
2305
  ID: 0x8021,
2305
2306
  params: {
2306
- transId: types_1.uint8_t,
2307
- status: types_1.EmberStatus
2307
+ transId: uint8_t,
2308
+ status: EmberStatus
2308
2309
  }
2309
2310
  },
2310
2311
  unBindRsp: {
2311
2312
  ID: 0x8022,
2312
2313
  params: {
2313
- transId: types_1.uint8_t,
2314
- status: types_1.EmberStatus
2314
+ transId: uint8_t,
2315
+ status: EmberStatus
2315
2316
  }
2316
2317
  },
2317
2318
  // ZDO network manager attributes commands
2318
2319
  mgmtLqiRsp: {
2319
2320
  ID: 0x8031,
2320
2321
  params: {
2321
- transId: types_1.uint8_t,
2322
- status: types_1.EmberStatus,
2323
- neighborlqilist: types_1.EmberNeighbors
2322
+ transId: uint8_t,
2323
+ status: EmberStatus,
2324
+ neighborlqilist: EmberNeighbors
2324
2325
  }
2325
2326
  },
2326
2327
  mgmtRtgRsp: {
2327
2328
  ID: 0x8032,
2328
2329
  params: {
2329
- transId: types_1.uint8_t,
2330
- status: types_1.EmberStatus,
2331
- routingtablelist: types_1.EmberRoutingTable
2330
+ transId: uint8_t,
2331
+ status: EmberStatus,
2332
+ routingtablelist: EmberRoutingTable
2332
2333
  }
2333
2334
  },
2334
2335
  mgmtLeaveRsp: {
2335
2336
  ID: 0x8034,
2336
2337
  params: {
2337
- transId: types_1.uint8_t,
2338
- status: types_1.EmberStatus
2338
+ transId: uint8_t,
2339
+ status: EmberStatus
2339
2340
  }
2340
2341
  },
2341
2342
  mgmtPermitJoinRsp: {
2342
2343
  ID: 0x8036,
2343
2344
  params: {
2344
- transId: types_1.uint8_t,
2345
- status: types_1.EmberStatus
2345
+ transId: uint8_t,
2346
+ status: EmberStatus
2346
2347
  }
2347
2348
  },
2348
2349
  };
2349
- exports.ZGP = {};
2350
- exports.ZDOREQUEST_NAME_BY_ID = {};
2351
- for (const key of Object.getOwnPropertyNames(exports.ZDOREQUESTS)) {
2352
- const frameDesc = exports.ZDOREQUESTS[key];
2353
- exports.ZDOREQUEST_NAME_BY_ID[frameDesc.ID] = key;
2350
+ export const ZGP = {};
2351
+ export const ZDOREQUEST_NAME_BY_ID = {};
2352
+ for (const key of Object.getOwnPropertyNames(ZDOREQUESTS)) {
2353
+ const frameDesc = ZDOREQUESTS[key];
2354
+ ZDOREQUEST_NAME_BY_ID[frameDesc.ID] = key;
2354
2355
  }
2355
- exports.ZDORESPONSE_NAME_BY_ID = {};
2356
- for (const key of Object.getOwnPropertyNames(exports.ZDORESPONSES)) {
2357
- const frameDesc = exports.ZDORESPONSES[key];
2358
- exports.ZDORESPONSE_NAME_BY_ID[frameDesc.ID] = key;
2356
+ export const ZDORESPONSE_NAME_BY_ID = {};
2357
+ for (const key of Object.getOwnPropertyNames(ZDORESPONSES)) {
2358
+ const frameDesc = ZDORESPONSES[key];
2359
+ ZDORESPONSE_NAME_BY_ID[frameDesc.ID] = key;
2359
2360
  }
2360
2361
  //# sourceMappingURL=commands.js.map