@willieee802/zigbee-herdsman 0.18.2 → 0.19.2

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