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