@willieee802/zigbee-herdsman 0.19.21 → 0.34.3

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 (522) hide show
  1. package/.babelrc.js +0 -4
  2. package/.release-please-manifest.json +1 -2
  3. package/CHANGELOG.md +376 -0
  4. package/README.md +1 -1
  5. package/dist/adapter/adapter.d.ts +61 -61
  6. package/dist/adapter/adapter.d.ts.map +1 -1
  7. package/dist/adapter/adapter.js +158 -153
  8. package/dist/adapter/adapter.js.map +1 -1
  9. package/dist/adapter/deconz/adapter/deconzAdapter.d.ts +68 -68
  10. package/dist/adapter/deconz/adapter/deconzAdapter.d.ts.map +1 -1
  11. package/dist/adapter/deconz/adapter/deconzAdapter.js +1081 -1060
  12. package/dist/adapter/deconz/adapter/deconzAdapter.js.map +1 -1
  13. package/dist/adapter/deconz/adapter/index.d.ts +2 -2
  14. package/dist/adapter/deconz/adapter/index.js +10 -10
  15. package/dist/adapter/deconz/driver/constants.d.ts +104 -104
  16. package/dist/adapter/deconz/driver/constants.js +55 -55
  17. package/dist/adapter/deconz/driver/driver.d.ts +81 -81
  18. package/dist/adapter/deconz/driver/driver.d.ts.map +1 -1
  19. package/dist/adapter/deconz/driver/driver.js +750 -732
  20. package/dist/adapter/deconz/driver/driver.js.map +1 -1
  21. package/dist/adapter/deconz/driver/frame.d.ts +6 -6
  22. package/dist/adapter/deconz/driver/frame.js +13 -13
  23. package/dist/adapter/deconz/driver/frameParser.d.ts +2 -2
  24. package/dist/adapter/deconz/driver/frameParser.js +443 -443
  25. package/dist/adapter/deconz/driver/frameParser.js.map +1 -1
  26. package/dist/adapter/deconz/driver/parser.d.ts +12 -12
  27. package/dist/adapter/deconz/driver/parser.js +63 -61
  28. package/dist/adapter/deconz/driver/parser.js.map +1 -1
  29. package/dist/adapter/deconz/driver/writer.d.ts +8 -8
  30. package/dist/adapter/deconz/driver/writer.js +44 -44
  31. package/dist/adapter/ember/adapter/emberAdapter.d.ts +817 -0
  32. package/dist/adapter/ember/adapter/emberAdapter.d.ts.map +1 -0
  33. package/dist/adapter/ember/adapter/emberAdapter.js +2981 -0
  34. package/dist/adapter/ember/adapter/emberAdapter.js.map +1 -0
  35. package/dist/adapter/ember/adapter/endpoints.d.ts +25 -0
  36. package/dist/adapter/ember/adapter/endpoints.d.ts.map +1 -0
  37. package/dist/adapter/ember/adapter/endpoints.js +66 -0
  38. package/dist/adapter/ember/adapter/endpoints.js.map +1 -0
  39. package/dist/adapter/ember/adapter/index.d.ts +3 -0
  40. package/dist/adapter/ember/adapter/index.d.ts.map +1 -0
  41. package/dist/adapter/ember/adapter/index.js +6 -0
  42. package/dist/adapter/ember/adapter/index.js.map +1 -0
  43. package/dist/adapter/ember/adapter/oneWaitress.d.ts +97 -0
  44. package/dist/adapter/ember/adapter/oneWaitress.d.ts.map +1 -0
  45. package/dist/adapter/ember/adapter/oneWaitress.js +226 -0
  46. package/dist/adapter/ember/adapter/oneWaitress.js.map +1 -0
  47. package/dist/adapter/ember/adapter/requestQueue.d.ts +59 -0
  48. package/dist/adapter/ember/adapter/requestQueue.d.ts.map +1 -0
  49. package/dist/adapter/ember/adapter/requestQueue.js +144 -0
  50. package/dist/adapter/ember/adapter/requestQueue.js.map +1 -0
  51. package/dist/adapter/ember/adapter/tokensManager.d.ts +69 -0
  52. package/dist/adapter/ember/adapter/tokensManager.d.ts.map +1 -0
  53. package/dist/adapter/ember/adapter/tokensManager.js +685 -0
  54. package/dist/adapter/ember/adapter/tokensManager.js.map +1 -0
  55. package/dist/adapter/ember/consts.d.ts +198 -0
  56. package/dist/adapter/ember/consts.d.ts.map +1 -0
  57. package/dist/adapter/ember/consts.js +253 -0
  58. package/dist/adapter/ember/consts.js.map +1 -0
  59. package/dist/adapter/ember/enums.d.ts +2184 -0
  60. package/dist/adapter/ember/enums.d.ts.map +1 -0
  61. package/dist/adapter/ember/enums.js +2391 -0
  62. package/dist/adapter/ember/enums.js.map +1 -0
  63. package/dist/adapter/ember/ezsp/buffalo.d.ts +156 -0
  64. package/dist/adapter/ember/ezsp/buffalo.d.ts.map +1 -0
  65. package/dist/adapter/ember/ezsp/buffalo.js +1033 -0
  66. package/dist/adapter/ember/ezsp/buffalo.js.map +1 -0
  67. package/dist/adapter/ember/ezsp/consts.d.ts +116 -0
  68. package/dist/adapter/ember/ezsp/consts.d.ts.map +1 -0
  69. package/dist/adapter/ember/ezsp/consts.js +128 -0
  70. package/dist/adapter/ember/ezsp/consts.js.map +1 -0
  71. package/dist/adapter/ember/ezsp/enums.d.ts +879 -0
  72. package/dist/adapter/ember/ezsp/enums.d.ts.map +1 -0
  73. package/dist/adapter/ember/ezsp/enums.js +948 -0
  74. package/dist/adapter/ember/ezsp/enums.js.map +1 -0
  75. package/dist/adapter/ember/ezsp/ezsp.d.ts +2664 -0
  76. package/dist/adapter/ember/ezsp/ezsp.d.ts.map +1 -0
  77. package/dist/adapter/ember/ezsp/ezsp.js +6438 -0
  78. package/dist/adapter/ember/ezsp/ezsp.js.map +1 -0
  79. package/dist/adapter/ember/types.d.ts +733 -0
  80. package/dist/adapter/ember/types.d.ts.map +1 -0
  81. package/dist/adapter/ember/types.js +3 -0
  82. package/dist/adapter/ember/types.js.map +1 -0
  83. package/dist/adapter/ember/uart/ash.d.ts +451 -0
  84. package/dist/adapter/ember/uart/ash.d.ts.map +1 -0
  85. package/dist/adapter/ember/uart/ash.js +1584 -0
  86. package/dist/adapter/ember/uart/ash.js.map +1 -0
  87. package/dist/adapter/ember/uart/consts.d.ts +91 -0
  88. package/dist/adapter/ember/uart/consts.d.ts.map +1 -0
  89. package/dist/adapter/ember/uart/consts.js +100 -0
  90. package/dist/adapter/ember/uart/consts.js.map +1 -0
  91. package/dist/adapter/ember/uart/enums.d.ts +191 -0
  92. package/dist/adapter/ember/uart/enums.d.ts.map +1 -0
  93. package/dist/adapter/ember/uart/enums.js +197 -0
  94. package/dist/adapter/ember/uart/enums.js.map +1 -0
  95. package/dist/adapter/ember/uart/parser.d.ts +10 -0
  96. package/dist/adapter/ember/uart/parser.d.ts.map +1 -0
  97. package/dist/adapter/ember/uart/parser.js +41 -0
  98. package/dist/adapter/ember/uart/parser.js.map +1 -0
  99. package/dist/adapter/ember/uart/queues.d.ts +85 -0
  100. package/dist/adapter/ember/uart/queues.d.ts.map +1 -0
  101. package/dist/adapter/ember/uart/queues.js +212 -0
  102. package/dist/adapter/ember/uart/queues.js.map +1 -0
  103. package/dist/adapter/ember/uart/writer.d.ts +15 -0
  104. package/dist/adapter/ember/uart/writer.d.ts.map +1 -0
  105. package/dist/adapter/ember/uart/writer.js +48 -0
  106. package/dist/adapter/ember/uart/writer.js.map +1 -0
  107. package/dist/adapter/ember/utils/initters.d.ts +20 -0
  108. package/dist/adapter/ember/utils/initters.d.ts.map +1 -0
  109. package/dist/adapter/ember/utils/initters.js +58 -0
  110. package/dist/adapter/ember/utils/initters.js.map +1 -0
  111. package/dist/adapter/ember/utils/math.d.ts +51 -0
  112. package/dist/adapter/ember/utils/math.d.ts.map +1 -0
  113. package/dist/adapter/ember/utils/math.js +102 -0
  114. package/dist/adapter/ember/utils/math.js.map +1 -0
  115. package/dist/adapter/ember/zdo.d.ts +921 -0
  116. package/dist/adapter/ember/zdo.d.ts.map +1 -0
  117. package/dist/adapter/ember/zdo.js +723 -0
  118. package/dist/adapter/ember/zdo.js.map +1 -0
  119. package/dist/adapter/events.d.ts +47 -47
  120. package/dist/adapter/events.js +13 -14
  121. package/dist/adapter/events.js.map +1 -1
  122. package/dist/adapter/ezsp/adapter/backup.d.ts +9 -9
  123. package/dist/adapter/ezsp/adapter/backup.d.ts.map +1 -1
  124. package/dist/adapter/ezsp/adapter/backup.js +72 -53
  125. package/dist/adapter/ezsp/adapter/backup.js.map +1 -1
  126. package/dist/adapter/ezsp/adapter/ezspAdapter.d.ts +61 -60
  127. package/dist/adapter/ezsp/adapter/ezspAdapter.d.ts.map +1 -1
  128. package/dist/adapter/ezsp/adapter/ezspAdapter.js +629 -608
  129. package/dist/adapter/ezsp/adapter/ezspAdapter.js.map +1 -1
  130. package/dist/adapter/ezsp/adapter/index.d.ts +2 -2
  131. package/dist/adapter/ezsp/adapter/index.js +10 -10
  132. package/dist/adapter/ezsp/driver/commands.d.ts +36 -36
  133. package/dist/adapter/ezsp/driver/commands.d.ts.map +1 -1
  134. package/dist/adapter/ezsp/driver/commands.js +2388 -2359
  135. package/dist/adapter/ezsp/driver/commands.js.map +1 -1
  136. package/dist/adapter/ezsp/driver/consts.d.ts +10 -10
  137. package/dist/adapter/ezsp/driver/consts.js +13 -13
  138. package/dist/adapter/ezsp/driver/driver.d.ts +106 -101
  139. package/dist/adapter/ezsp/driver/driver.d.ts.map +1 -1
  140. package/dist/adapter/ezsp/driver/driver.js +731 -638
  141. package/dist/adapter/ezsp/driver/driver.js.map +1 -1
  142. package/dist/adapter/ezsp/driver/ezsp.d.ts +105 -96
  143. package/dist/adapter/ezsp/driver/ezsp.d.ts.map +1 -1
  144. package/dist/adapter/ezsp/driver/ezsp.js +651 -586
  145. package/dist/adapter/ezsp/driver/ezsp.js.map +1 -1
  146. package/dist/adapter/ezsp/driver/frame.d.ts +40 -0
  147. package/dist/adapter/ezsp/driver/frame.d.ts.map +1 -0
  148. package/dist/adapter/ezsp/driver/frame.js +101 -0
  149. package/dist/adapter/ezsp/driver/frame.js.map +1 -0
  150. package/dist/adapter/ezsp/driver/index.d.ts +3 -3
  151. package/dist/adapter/ezsp/driver/index.js +8 -8
  152. package/dist/adapter/ezsp/driver/multicast.d.ts +12 -12
  153. package/dist/adapter/ezsp/driver/multicast.js +77 -72
  154. package/dist/adapter/ezsp/driver/multicast.js.map +1 -1
  155. package/dist/adapter/ezsp/driver/parser.d.ts +11 -12
  156. package/dist/adapter/ezsp/driver/parser.d.ts.map +1 -1
  157. package/dist/adapter/ezsp/driver/parser.js +104 -111
  158. package/dist/adapter/ezsp/driver/parser.js.map +1 -1
  159. package/dist/adapter/ezsp/driver/types/basic.d.ts +62 -62
  160. package/dist/adapter/ezsp/driver/types/basic.js +208 -208
  161. package/dist/adapter/ezsp/driver/types/basic.js.map +1 -1
  162. package/dist/adapter/ezsp/driver/types/index.d.ts +9 -9
  163. package/dist/adapter/ezsp/driver/types/index.d.ts.map +1 -1
  164. package/dist/adapter/ezsp/driver/types/index.js +138 -133
  165. package/dist/adapter/ezsp/driver/types/index.js.map +1 -1
  166. package/dist/adapter/ezsp/driver/types/named.d.ts +1287 -697
  167. package/dist/adapter/ezsp/driver/types/named.d.ts.map +1 -1
  168. package/dist/adapter/ezsp/driver/types/named.js +2329 -1726
  169. package/dist/adapter/ezsp/driver/types/named.js.map +1 -1
  170. package/dist/adapter/ezsp/driver/types/struct.d.ts +270 -251
  171. package/dist/adapter/ezsp/driver/types/struct.d.ts.map +1 -1
  172. package/dist/adapter/ezsp/driver/types/struct.js +803 -708
  173. package/dist/adapter/ezsp/driver/types/struct.js.map +1 -1
  174. package/dist/adapter/ezsp/driver/uart.d.ts +48 -44
  175. package/dist/adapter/ezsp/driver/uart.d.ts.map +1 -1
  176. package/dist/adapter/ezsp/driver/uart.js +382 -368
  177. package/dist/adapter/ezsp/driver/uart.js.map +1 -1
  178. package/dist/adapter/ezsp/driver/utils/crc16ccitt.d.ts +2 -2
  179. package/dist/adapter/ezsp/driver/utils/crc16ccitt.js +55 -55
  180. package/dist/adapter/ezsp/driver/utils/crc16ccitt.js.map +1 -1
  181. package/dist/adapter/ezsp/driver/utils/index.d.ts +18 -18
  182. package/dist/adapter/ezsp/driver/utils/index.js +72 -67
  183. package/dist/adapter/ezsp/driver/utils/index.js.map +1 -1
  184. package/dist/adapter/ezsp/driver/writer.d.ts +13 -13
  185. package/dist/adapter/ezsp/driver/writer.d.ts.map +1 -1
  186. package/dist/adapter/ezsp/driver/writer.js +85 -88
  187. package/dist/adapter/ezsp/driver/writer.js.map +1 -1
  188. package/dist/adapter/index.d.ts +4 -4
  189. package/dist/adapter/index.js +35 -35
  190. package/dist/adapter/serialPort.d.ts +10 -8
  191. package/dist/adapter/serialPort.d.ts.map +1 -1
  192. package/dist/adapter/serialPort.js +53 -22
  193. package/dist/adapter/serialPort.js.map +1 -1
  194. package/dist/adapter/serialPortUtils.d.ts +12 -12
  195. package/dist/adapter/serialPortUtils.js +18 -18
  196. package/dist/adapter/serialPortUtils.js.map +1 -1
  197. package/dist/adapter/socketPortUtils.d.ts +10 -10
  198. package/dist/adapter/socketPortUtils.js +16 -16
  199. package/dist/adapter/tstype.d.ts +85 -85
  200. package/dist/adapter/tstype.d.ts.map +1 -1
  201. package/dist/adapter/tstype.js +2 -2
  202. package/dist/adapter/z-stack/adapter/adapter-backup.d.ts +62 -62
  203. package/dist/adapter/z-stack/adapter/adapter-backup.js +462 -461
  204. package/dist/adapter/z-stack/adapter/adapter-backup.js.map +1 -1
  205. package/dist/adapter/z-stack/adapter/adapter-nv-memory.d.ts +150 -150
  206. package/dist/adapter/z-stack/adapter/adapter-nv-memory.js +258 -258
  207. package/dist/adapter/z-stack/adapter/adapter-nv-memory.js.map +1 -1
  208. package/dist/adapter/z-stack/adapter/endpoints.d.ts +11 -11
  209. package/dist/adapter/z-stack/adapter/endpoints.js +73 -73
  210. package/dist/adapter/z-stack/adapter/index.d.ts +2 -2
  211. package/dist/adapter/z-stack/adapter/index.js +8 -8
  212. package/dist/adapter/z-stack/adapter/manager.d.ts +86 -86
  213. package/dist/adapter/z-stack/adapter/manager.d.ts.map +1 -1
  214. package/dist/adapter/z-stack/adapter/manager.js +482 -476
  215. package/dist/adapter/z-stack/adapter/manager.js.map +1 -1
  216. package/dist/adapter/z-stack/adapter/tstype.d.ts +6 -6
  217. package/dist/adapter/z-stack/adapter/tstype.js +9 -10
  218. package/dist/adapter/z-stack/adapter/tstype.js.map +1 -1
  219. package/dist/adapter/z-stack/adapter/zStackAdapter.d.ts +81 -81
  220. package/dist/adapter/z-stack/adapter/zStackAdapter.d.ts.map +1 -1
  221. package/dist/adapter/z-stack/adapter/zStackAdapter.js +891 -868
  222. package/dist/adapter/z-stack/adapter/zStackAdapter.js.map +1 -1
  223. package/dist/adapter/z-stack/constants/af.d.ts +23 -23
  224. package/dist/adapter/z-stack/constants/af.js +27 -27
  225. package/dist/adapter/z-stack/constants/common.d.ts +278 -278
  226. package/dist/adapter/z-stack/constants/common.d.ts.map +1 -1
  227. package/dist/adapter/z-stack/constants/common.js +292 -289
  228. package/dist/adapter/z-stack/constants/common.js.map +1 -1
  229. package/dist/adapter/z-stack/constants/dbg.d.ts +22 -22
  230. package/dist/adapter/z-stack/constants/dbg.js +24 -24
  231. package/dist/adapter/z-stack/constants/index.d.ts +10 -10
  232. package/dist/adapter/z-stack/constants/index.js +47 -47
  233. package/dist/adapter/z-stack/constants/mac.d.ts +127 -127
  234. package/dist/adapter/z-stack/constants/mac.js +129 -129
  235. package/dist/adapter/z-stack/constants/sapi.d.ts +24 -24
  236. package/dist/adapter/z-stack/constants/sapi.js +26 -26
  237. package/dist/adapter/z-stack/constants/sys.d.ts +71 -71
  238. package/dist/adapter/z-stack/constants/sys.js +73 -73
  239. package/dist/adapter/z-stack/constants/util.d.ts +81 -81
  240. package/dist/adapter/z-stack/constants/util.js +83 -83
  241. package/dist/adapter/z-stack/constants/utils.d.ts +4 -4
  242. package/dist/adapter/z-stack/constants/utils.js +14 -14
  243. package/dist/adapter/z-stack/constants/zdo.d.ts +102 -102
  244. package/dist/adapter/z-stack/constants/zdo.js +104 -104
  245. package/dist/adapter/z-stack/models/index.d.ts +1 -1
  246. package/dist/adapter/z-stack/models/index.js +17 -17
  247. package/dist/adapter/z-stack/models/startup-options.d.ts +12 -12
  248. package/dist/adapter/z-stack/models/startup-options.js +2 -2
  249. package/dist/adapter/z-stack/structs/entries/address-manager-entry.d.ts +23 -23
  250. package/dist/adapter/z-stack/structs/entries/address-manager-entry.js +45 -45
  251. package/dist/adapter/z-stack/structs/entries/address-manager-entry.js.map +1 -1
  252. package/dist/adapter/z-stack/structs/entries/address-manager-table.d.ts +10 -10
  253. package/dist/adapter/z-stack/structs/entries/address-manager-table.js +22 -22
  254. package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.d.ts +10 -10
  255. package/dist/adapter/z-stack/structs/entries/aps-link-key-data-entry.js +21 -21
  256. package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.d.ts +10 -10
  257. package/dist/adapter/z-stack/structs/entries/aps-link-key-data-table.js +23 -23
  258. package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-entry.d.ts +10 -10
  259. package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-entry.js +24 -24
  260. package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.d.ts +10 -10
  261. package/dist/adapter/z-stack/structs/entries/aps-tc-link-key-table.js +23 -23
  262. package/dist/adapter/z-stack/structs/entries/channel-list.d.ts +8 -8
  263. package/dist/adapter/z-stack/structs/entries/channel-list.js +15 -15
  264. package/dist/adapter/z-stack/structs/entries/has-configured.d.ts +8 -8
  265. package/dist/adapter/z-stack/structs/entries/has-configured.js +16 -16
  266. package/dist/adapter/z-stack/structs/entries/index.d.ts +16 -16
  267. package/dist/adapter/z-stack/structs/entries/index.js +32 -32
  268. package/dist/adapter/z-stack/structs/entries/nib.d.ts +10 -10
  269. package/dist/adapter/z-stack/structs/entries/nib.js +68 -68
  270. package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.d.ts +10 -10
  271. package/dist/adapter/z-stack/structs/entries/nwk-key-descriptor.js +18 -18
  272. package/dist/adapter/z-stack/structs/entries/nwk-key.d.ts +8 -8
  273. package/dist/adapter/z-stack/structs/entries/nwk-key.js +15 -15
  274. package/dist/adapter/z-stack/structs/entries/nwk-pan-id.d.ts +8 -8
  275. package/dist/adapter/z-stack/structs/entries/nwk-pan-id.js +15 -15
  276. package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.d.ts +13 -13
  277. package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-entry.js +23 -23
  278. package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.d.ts +10 -10
  279. package/dist/adapter/z-stack/structs/entries/nwk-sec-material-descriptor-table.js +22 -22
  280. package/dist/adapter/z-stack/structs/entries/security-manager-entry.d.ts +20 -20
  281. package/dist/adapter/z-stack/structs/entries/security-manager-entry.js +36 -36
  282. package/dist/adapter/z-stack/structs/entries/security-manager-entry.js.map +1 -1
  283. package/dist/adapter/z-stack/structs/entries/security-manager-table.d.ts +10 -10
  284. package/dist/adapter/z-stack/structs/entries/security-manager-table.js +24 -24
  285. package/dist/adapter/z-stack/structs/index.d.ts +4 -4
  286. package/dist/adapter/z-stack/structs/index.js +20 -20
  287. package/dist/adapter/z-stack/structs/serializable-memory-object.d.ts +13 -13
  288. package/dist/adapter/z-stack/structs/serializable-memory-object.js +2 -2
  289. package/dist/adapter/z-stack/structs/struct.d.ts +99 -99
  290. package/dist/adapter/z-stack/structs/struct.js +296 -295
  291. package/dist/adapter/z-stack/structs/struct.js.map +1 -1
  292. package/dist/adapter/z-stack/structs/table.d.ts +94 -94
  293. package/dist/adapter/z-stack/structs/table.js +163 -161
  294. package/dist/adapter/z-stack/structs/table.js.map +1 -1
  295. package/dist/adapter/z-stack/unpi/constants.d.ts +28 -28
  296. package/dist/adapter/z-stack/unpi/constants.js +39 -41
  297. package/dist/adapter/z-stack/unpi/constants.js.map +1 -1
  298. package/dist/adapter/z-stack/unpi/frame.d.ts +16 -16
  299. package/dist/adapter/z-stack/unpi/frame.js +54 -48
  300. package/dist/adapter/z-stack/unpi/frame.js.map +1 -1
  301. package/dist/adapter/z-stack/unpi/index.d.ts +5 -5
  302. package/dist/adapter/z-stack/unpi/index.js +37 -37
  303. package/dist/adapter/z-stack/unpi/parser.d.ts +10 -10
  304. package/dist/adapter/z-stack/unpi/parser.js +75 -74
  305. package/dist/adapter/z-stack/unpi/parser.js.map +1 -1
  306. package/dist/adapter/z-stack/unpi/writer.d.ts +10 -10
  307. package/dist/adapter/z-stack/unpi/writer.js +44 -44
  308. package/dist/adapter/z-stack/utils/channel-list.d.ts +20 -20
  309. package/dist/adapter/z-stack/utils/channel-list.js +40 -40
  310. package/dist/adapter/z-stack/utils/channel-list.js.map +1 -1
  311. package/dist/adapter/z-stack/utils/index.d.ts +2 -2
  312. package/dist/adapter/z-stack/utils/index.js +18 -18
  313. package/dist/adapter/z-stack/utils/network-options.d.ts +8 -8
  314. package/dist/adapter/z-stack/utils/network-options.js +22 -22
  315. package/dist/adapter/z-stack/znp/buffaloZnp.d.ts +11 -11
  316. package/dist/adapter/z-stack/znp/buffaloZnp.js +113 -113
  317. package/dist/adapter/z-stack/znp/buffaloZnp.js.map +1 -1
  318. package/dist/adapter/z-stack/znp/definition.d.ts +5 -5
  319. package/dist/adapter/z-stack/znp/definition.js +3050 -3050
  320. package/dist/adapter/z-stack/znp/index.d.ts +3 -3
  321. package/dist/adapter/z-stack/znp/index.js +10 -10
  322. package/dist/adapter/z-stack/znp/parameterType.d.ts +22 -22
  323. package/dist/adapter/z-stack/znp/parameterType.js +25 -25
  324. package/dist/adapter/z-stack/znp/tstype.d.ts +21 -21
  325. package/dist/adapter/z-stack/znp/tstype.js +2 -2
  326. package/dist/adapter/z-stack/znp/znp.d.ts +44 -43
  327. package/dist/adapter/z-stack/znp/znp.d.ts.map +1 -1
  328. package/dist/adapter/z-stack/znp/znp.js +326 -325
  329. package/dist/adapter/z-stack/znp/znp.js.map +1 -1
  330. package/dist/adapter/z-stack/znp/zpiObject.d.ts +19 -19
  331. package/dist/adapter/z-stack/znp/zpiObject.js +102 -96
  332. package/dist/adapter/z-stack/znp/zpiObject.js.map +1 -1
  333. package/dist/adapter/zigate/adapter/index.d.ts +2 -2
  334. package/dist/adapter/zigate/adapter/index.js +10 -10
  335. package/dist/adapter/zigate/adapter/zigateAdapter.d.ts +70 -70
  336. package/dist/adapter/zigate/adapter/zigateAdapter.js +689 -684
  337. package/dist/adapter/zigate/adapter/zigateAdapter.js.map +1 -1
  338. package/dist/adapter/zigate/debug.d.ts +7 -7
  339. package/dist/adapter/zigate/debug.d.ts.map +1 -1
  340. package/dist/adapter/zigate/debug.js +19 -22
  341. package/dist/adapter/zigate/debug.js.map +1 -1
  342. package/dist/adapter/zigate/driver/buffaloZiGate.d.ts +18 -18
  343. package/dist/adapter/zigate/driver/buffaloZiGate.js +139 -139
  344. package/dist/adapter/zigate/driver/buffaloZiGate.js.map +1 -1
  345. package/dist/adapter/zigate/driver/commandType.d.ts +41 -41
  346. package/dist/adapter/zigate/driver/commandType.js +385 -385
  347. package/dist/adapter/zigate/driver/commandType.js.map +1 -1
  348. package/dist/adapter/zigate/driver/constants.d.ts +276 -276
  349. package/dist/adapter/zigate/driver/constants.d.ts.map +1 -1
  350. package/dist/adapter/zigate/driver/constants.js +371 -371
  351. package/dist/adapter/zigate/driver/constants.js.map +1 -1
  352. package/dist/adapter/zigate/driver/frame.d.ts +26 -26
  353. package/dist/adapter/zigate/driver/frame.js +172 -172
  354. package/dist/adapter/zigate/driver/frame.js.map +1 -1
  355. package/dist/adapter/zigate/driver/messageType.d.ts +11 -11
  356. package/dist/adapter/zigate/driver/messageType.js +278 -278
  357. package/dist/adapter/zigate/driver/messageType.js.map +1 -1
  358. package/dist/adapter/zigate/driver/parameterType.d.ts +20 -20
  359. package/dist/adapter/zigate/driver/parameterType.js +23 -23
  360. package/dist/adapter/zigate/driver/ziGateObject.d.ts +23 -23
  361. package/dist/adapter/zigate/driver/ziGateObject.js +110 -106
  362. package/dist/adapter/zigate/driver/ziGateObject.js.map +1 -1
  363. package/dist/adapter/zigate/driver/zigate.d.ts +49 -49
  364. package/dist/adapter/zigate/driver/zigate.d.ts.map +1 -1
  365. package/dist/adapter/zigate/driver/zigate.js +296 -303
  366. package/dist/adapter/zigate/driver/zigate.js.map +1 -1
  367. package/dist/buffalo/buffalo.d.ts +50 -50
  368. package/dist/buffalo/buffalo.js +324 -322
  369. package/dist/buffalo/buffalo.js.map +1 -1
  370. package/dist/buffalo/index.d.ts +3 -3
  371. package/dist/buffalo/index.js +33 -33
  372. package/dist/buffalo/tstype.d.ts +8 -8
  373. package/dist/buffalo/tstype.js +2 -2
  374. package/dist/controller/controller.d.ts +113 -113
  375. package/dist/controller/controller.d.ts.map +1 -1
  376. package/dist/controller/controller.js +641 -619
  377. package/dist/controller/controller.js.map +1 -1
  378. package/dist/controller/database.d.ts +18 -18
  379. package/dist/controller/database.js +96 -93
  380. package/dist/controller/database.js.map +1 -1
  381. package/dist/controller/events.d.ts +58 -58
  382. package/dist/controller/events.d.ts.map +1 -1
  383. package/dist/controller/events.js +108 -102
  384. package/dist/controller/events.js.map +1 -1
  385. package/dist/controller/greenPower.d.ts +12 -12
  386. package/dist/controller/greenPower.js +221 -220
  387. package/dist/controller/greenPower.js.map +1 -1
  388. package/dist/controller/helpers/index.d.ts +2 -2
  389. package/dist/controller/helpers/index.js +28 -28
  390. package/dist/controller/helpers/request.d.ts +21 -22
  391. package/dist/controller/helpers/request.d.ts.map +1 -1
  392. package/dist/controller/helpers/request.js +77 -71
  393. package/dist/controller/helpers/request.js.map +1 -1
  394. package/dist/controller/helpers/requestQueue.d.ts +13 -0
  395. package/dist/controller/helpers/requestQueue.d.ts.map +1 -0
  396. package/dist/controller/helpers/requestQueue.js +116 -0
  397. package/dist/controller/helpers/requestQueue.js.map +1 -0
  398. package/dist/controller/helpers/zclFrameConverter.d.ts +7 -7
  399. package/dist/controller/helpers/zclFrameConverter.d.ts.map +1 -1
  400. package/dist/controller/helpers/zclFrameConverter.js +50 -31
  401. package/dist/controller/helpers/zclFrameConverter.js.map +1 -1
  402. package/dist/controller/helpers/zclTransactionSequenceNumber.d.ts +5 -5
  403. package/dist/controller/helpers/zclTransactionSequenceNumber.js +13 -13
  404. package/dist/controller/helpers/zclTransactionSequenceNumber.js.map +1 -1
  405. package/dist/controller/index.d.ts +5 -5
  406. package/dist/controller/index.js +8 -8
  407. package/dist/controller/logger-stub.d.ts +6 -6
  408. package/dist/controller/logger-stub.js +2 -2
  409. package/dist/controller/model/device.d.ts +132 -133
  410. package/dist/controller/model/device.d.ts.map +1 -1
  411. package/dist/controller/model/device.js +724 -717
  412. package/dist/controller/model/device.js.map +1 -1
  413. package/dist/controller/model/endpoint.d.ts +128 -131
  414. package/dist/controller/model/endpoint.d.ts.map +1 -1
  415. package/dist/controller/model/endpoint.js +755 -821
  416. package/dist/controller/model/endpoint.js.map +1 -1
  417. package/dist/controller/model/entity.d.ts +14 -14
  418. package/dist/controller/model/entity.js +26 -26
  419. package/dist/controller/model/entity.js.map +1 -1
  420. package/dist/controller/model/group.d.ts +38 -38
  421. package/dist/controller/model/group.d.ts.map +1 -1
  422. package/dist/controller/model/group.js +225 -221
  423. package/dist/controller/model/group.js.map +1 -1
  424. package/dist/controller/model/index.d.ts +5 -5
  425. package/dist/controller/model/index.js +14 -14
  426. package/dist/controller/touchlink.d.ts +19 -19
  427. package/dist/controller/touchlink.js +159 -157
  428. package/dist/controller/touchlink.js.map +1 -1
  429. package/dist/controller/tstype.d.ts +20 -21
  430. package/dist/controller/tstype.d.ts.map +1 -1
  431. package/dist/controller/tstype.js +8 -9
  432. package/dist/controller/tstype.js.map +1 -1
  433. package/dist/index.d.ts +3 -3
  434. package/dist/index.js +33 -33
  435. package/dist/models/backup-storage-legacy.d.ts +26 -26
  436. package/dist/models/backup-storage-legacy.js +2 -2
  437. package/dist/models/backup-storage-unified.d.ts +49 -49
  438. package/dist/models/backup-storage-unified.js +2 -2
  439. package/dist/models/backup.d.ts +37 -37
  440. package/dist/models/backup.js +2 -2
  441. package/dist/models/index.d.ts +4 -4
  442. package/dist/models/index.js +20 -20
  443. package/dist/models/network-options.d.ts +12 -12
  444. package/dist/models/network-options.js +2 -2
  445. package/dist/utils/assertString.d.ts +2 -2
  446. package/dist/utils/assertString.js +8 -8
  447. package/dist/utils/assertString.js.map +1 -1
  448. package/dist/utils/backup.d.ts +20 -20
  449. package/dist/utils/backup.d.ts.map +1 -1
  450. package/dist/utils/backup.js +189 -187
  451. package/dist/utils/backup.js.map +1 -1
  452. package/dist/utils/equalsPartial.d.ts +2 -2
  453. package/dist/utils/equalsPartial.js +11 -11
  454. package/dist/utils/index.d.ts +9 -9
  455. package/dist/utils/index.js +45 -45
  456. package/dist/utils/isNumberArray.d.ts +2 -2
  457. package/dist/utils/isNumberArray.js +6 -6
  458. package/dist/utils/queue.d.ts +11 -11
  459. package/dist/utils/queue.d.ts.map +1 -1
  460. package/dist/utils/queue.js +61 -50
  461. package/dist/utils/queue.js.map +1 -1
  462. package/dist/utils/realpathSync.d.ts +2 -2
  463. package/dist/utils/realpathSync.js +12 -12
  464. package/dist/utils/wait.d.ts +2 -2
  465. package/dist/utils/wait.js +8 -8
  466. package/dist/utils/waitress.d.ts +21 -21
  467. package/dist/utils/waitress.d.ts.map +1 -1
  468. package/dist/utils/waitress.js +68 -61
  469. package/dist/utils/waitress.js.map +1 -1
  470. package/dist/zcl/buffaloZcl.d.ts +41 -41
  471. package/dist/zcl/buffaloZcl.d.ts.map +1 -1
  472. package/dist/zcl/buffaloZcl.js +594 -591
  473. package/dist/zcl/buffaloZcl.js.map +1 -1
  474. package/dist/zcl/definition/buffaloZclDataType.d.ts +17 -17
  475. package/dist/zcl/definition/buffaloZclDataType.js +20 -20
  476. package/dist/zcl/definition/cluster.d.ts +29 -29
  477. package/dist/zcl/definition/cluster.d.ts.map +1 -1
  478. package/dist/zcl/definition/cluster.js +5520 -5335
  479. package/dist/zcl/definition/cluster.js.map +1 -1
  480. package/dist/zcl/definition/dataType.d.ts +59 -59
  481. package/dist/zcl/definition/dataType.js +64 -64
  482. package/dist/zcl/definition/direction.d.ts +5 -5
  483. package/dist/zcl/definition/direction.js +8 -8
  484. package/dist/zcl/definition/endpointDeviceType.d.ts +4 -4
  485. package/dist/zcl/definition/endpointDeviceType.js +15 -15
  486. package/dist/zcl/definition/foundation.d.ts +11 -11
  487. package/dist/zcl/definition/foundation.js +167 -167
  488. package/dist/zcl/definition/frameControl.d.ts +10 -10
  489. package/dist/zcl/definition/frameControl.js +2 -2
  490. package/dist/zcl/definition/frameType.d.ts +5 -5
  491. package/dist/zcl/definition/frameType.js +8 -8
  492. package/dist/zcl/definition/index.d.ts +13 -13
  493. package/dist/zcl/definition/index.js +51 -51
  494. package/dist/zcl/definition/manufacturerCode.d.ts +1077 -1074
  495. package/dist/zcl/definition/manufacturerCode.d.ts.map +1 -1
  496. package/dist/zcl/definition/manufacturerCode.js +1082 -1079
  497. package/dist/zcl/definition/manufacturerCode.js.map +1 -1
  498. package/dist/zcl/definition/powerSource.d.ts +4 -4
  499. package/dist/zcl/definition/powerSource.js +12 -12
  500. package/dist/zcl/definition/status.d.ts +38 -38
  501. package/dist/zcl/definition/status.js +41 -41
  502. package/dist/zcl/definition/tstype.d.ts +16 -16
  503. package/dist/zcl/definition/tstype.js +2 -2
  504. package/dist/zcl/index.d.ts +16 -16
  505. package/dist/zcl/index.js +55 -55
  506. package/dist/zcl/tstype.d.ts +56 -56
  507. package/dist/zcl/tstype.js +9 -10
  508. package/dist/zcl/tstype.js.map +1 -1
  509. package/dist/zcl/utils.d.ts +6 -6
  510. package/dist/zcl/utils.js +164 -165
  511. package/dist/zcl/utils.js.map +1 -1
  512. package/dist/zcl/zclFrame.d.ts +40 -40
  513. package/dist/zcl/zclFrame.js +351 -347
  514. package/dist/zcl/zclFrame.js.map +1 -1
  515. package/dist/zcl/zclHeader.d.ts +8 -8
  516. package/dist/zcl/zclHeader.js +2 -2
  517. package/dist/zcl/zclStatusError.d.ts +5 -5
  518. package/dist/zcl/zclStatusError.js +14 -13
  519. package/dist/zcl/zclStatusError.js.map +1 -1
  520. package/package.json +11 -11
  521. package/release-please-config.json +1 -5
  522. package/tsconfig.json +4 -2
@@ -1,2360 +1,2389 @@
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, // 82
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, // 83
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, //85
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, //86
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, //87
77
+ request: {
78
+ newPan: types_1.EmberPanId,
79
+ },
80
+ response: {
81
+ status: types_1.Bool
82
+ }
83
+ },
84
+ getValue: {
85
+ ID: 0x00AA, // 170
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, // 171
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, // 129
123
+ request: {
124
+ data: types_1.LVBytes
125
+ },
126
+ response: {
127
+ echo: types_1.LVBytes
128
+ }
129
+ },
130
+ invalidCommand: {
131
+ ID: 0x0058, // 88
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, // 10
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, // 11
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, // 12
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, // 13
189
+ request: null,
190
+ response: {
191
+ tokenAddress: types_1.uint16_t
192
+ }
193
+ },
194
+ getRandomNumber: {
195
+ ID: 0x0049, // 73
196
+ request: null,
197
+ response: {
198
+ status: types_1.EmberStatus,
199
+ value: types_1.uint16_t
200
+ }
201
+ },
202
+ setTimer: {
203
+ ID: 0x000E, // 14
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, // 78
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, // 15
227
+ request: null,
228
+ response: {
229
+ timerId: types_1.uint8_t
230
+ },
231
+ },
232
+ debugWrite: {
233
+ ID: 0x0012, // 18
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, // 101
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, // 241
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, // 242
258
+ request: null,
259
+ response: {
260
+ type: types_1.EmberCounterType
261
+ },
262
+ },
263
+ delayTest: {
264
+ ID: 0x009D, // 157
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, // 19
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, // 71
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, // 84
300
+ request: null,
301
+ response: {
302
+ payload: types_1.LVBytes
303
+ },
304
+ },
305
+ getEui64: {
306
+ ID: 0x0026, // 38
307
+ request: null,
308
+ response: {
309
+ eui64: types_1.EmberEUI64
310
+ },
311
+ },
312
+ getNodeId: {
313
+ ID: 0x0027, // 39
314
+ request: null,
315
+ response: {
316
+ nodeId: types_1.EmberNodeId
317
+ },
318
+ },
319
+ // Networking Frames
320
+ setManufacturerCode: {
321
+ ID: 0x0015, // 21
322
+ request: {
323
+ code: types_1.uint16_t
324
+ },
325
+ response: null,
326
+ },
327
+ setPowerDescriptor: {
328
+ ID: 0x0016, // 22
329
+ request: {
330
+ descriptor: types_1.uint16_t
331
+ },
332
+ response: null,
333
+ },
334
+ networkInit: {
335
+ ID: 0x0017, // 23
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, // 24
352
+ request: null,
353
+ response: {
354
+ status: types_1.EmberNetworkStatus
355
+ },
356
+ },
357
+ stackStatusHandler: {
358
+ ID: 0x0019, // 25
359
+ request: null,
360
+ response: {
361
+ status: types_1.EmberStatus
362
+ },
363
+ },
364
+ startScan: {
365
+ ID: 0x001A, // 26
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, // 72
377
+ request: null,
378
+ response: {
379
+ channel: types_1.uint8_t,
380
+ maxRssiValue: types_1.int8s
381
+ },
382
+ },
383
+ networkFoundHandler: {
384
+ ID: 0x001B, // 27
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, // 28
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, // 29
420
+ request: null,
421
+ response: {
422
+ status: types_1.EmberStatus
423
+ },
424
+ },
425
+ formNetwork: {
426
+ ID: 0x001E, // 30
427
+ request: {
428
+ parameters: types_1.EmberNetworkParameters
429
+ },
430
+ response: {
431
+ status: types_1.EmberStatus
432
+ },
433
+ },
434
+ joinNetwork: {
435
+ ID: 0x001F, // 31
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, // 32
458
+ request: null,
459
+ response: {
460
+ status: types_1.EmberStatus
461
+ },
462
+ },
463
+ findAndRejoinNetwork: {
464
+ ID: 0x0021, // 33
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, // 34
475
+ request: {
476
+ duration: types_1.uint8_t
477
+ },
478
+ response: {
479
+ status: types_1.EmberStatus
480
+ },
481
+ },
482
+ childJoinHandler: {
483
+ ID: 0x0023, // 35
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, // 156
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, // 40
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, // 41
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, // 74
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, // 121
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, // 122
558
+ request: null,
559
+ response: {
560
+ value: types_1.uint8_t
561
+ },
562
+ },
563
+ getRouteTableEntry: {
564
+ ID: 0x007B, // 123
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, // 153
575
+ request: {
576
+ power: types_1.int8s
577
+ },
578
+ response: {
579
+ status: types_1.EmberStatus
580
+ },
581
+ },
582
+ setRadioChannel: {
583
+ ID: 0x009A, // 154
584
+ request: {
585
+ channel: types_1.uint8_t
586
+ },
587
+ response: {
588
+ status: types_1.EmberStatus
589
+ },
590
+ },
591
+ setConcentrator: {
592
+ ID: 0x0010, // 16
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, // 42
609
+ request: null,
610
+ response: {
611
+ status: types_1.EmberStatus
612
+ },
613
+ },
614
+ setBinding: {
615
+ ID: 0x002B, // 43
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, // 44
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, // 45
636
+ request: {
637
+ index: types_1.uint8_t
638
+ },
639
+ response: {
640
+ status: types_1.EmberStatus
641
+ },
642
+ },
643
+ bindingIsActive: {
644
+ ID: 0x002E, // 46
645
+ request: {
646
+ index: types_1.uint8_t
647
+ },
648
+ response: {
649
+ active: types_1.Bool
650
+ },
651
+ },
652
+ getBindingRemoteNodeId: {
653
+ ID: 0x002F, // 47
654
+ request: {
655
+ index: types_1.uint8_t
656
+ },
657
+ response: {
658
+ nodeId: types_1.EmberNodeId
659
+ },
660
+ },
661
+ setBindingRemoteNodeId: {
662
+ ID: 0x0030, // 48
663
+ request: {
664
+ index: types_1.uint8_t,
665
+ nodeId: types_1.EmberNodeId
666
+ },
667
+ response: null,
668
+ },
669
+ remoteSetBindingHandler: {
670
+ ID: 0x0031, // 49
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, // 50
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, // 51
689
+ request: null,
690
+ response: {
691
+ apsLength: types_1.uint8_t
692
+ },
693
+ },
694
+ sendUnicast: {
695
+ ID: 0x0034, // 52
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, // 54
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, // 55
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, // 56
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, // 57
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, // 63
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, // 65
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, // 66
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, // 67
814
+ request: null,
815
+ response: {
816
+ status: types_1.EmberStatus
817
+ },
818
+ },
819
+ pollHandler: {
820
+ ID: 0x0044, // 68
821
+ request: null,
822
+ response: {
823
+ childId: types_1.EmberNodeId
824
+ },
825
+ },
826
+ incomingSenderEui64Handler: {
827
+ ID: 0x0062, // 98
828
+ request: null,
829
+ response: {
830
+ senderEui64: types_1.EmberEUI64
831
+ },
832
+ },
833
+ incomingMessageHandler: {
834
+ ID: 0x0045, // 69
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, // 89
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, // 125
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, // 128
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, // 91
888
+ request: {
889
+ addressTableIndex: types_1.uint8_t
890
+ },
891
+ response: {
892
+ active: types_1.Bool
893
+ },
894
+ },
895
+ setAddressTableRemoteEui64: {
896
+ ID: 0x005C, // 92
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, // 93
907
+ request: {
908
+ addressTableIndex: types_1.uint8_t,
909
+ id: types_1.EmberNodeId
910
+ },
911
+ response: null,
912
+ },
913
+ getAddressTableRemoteEui64: {
914
+ ID: 0x005E, // 94
915
+ request: {
916
+ addressTableIndex: types_1.uint8_t
917
+ },
918
+ response: {
919
+ eui64: types_1.EmberEUI64
920
+ },
921
+ },
922
+ getAddressTableRemoteNodeId: {
923
+ ID: 0x005F, // 95
924
+ request: {
925
+ addressTableIndex: types_1.uint8_t
926
+ },
927
+ response: {
928
+ nodeId: types_1.EmberNodeId
929
+ },
930
+ },
931
+ setExtendedTimeout: {
932
+ ID: 0x007E, // 126
933
+ request: {
934
+ remoteEui64: types_1.EmberEUI64,
935
+ extendedTimeout: types_1.Bool
936
+ },
937
+ response: null,
938
+ },
939
+ getExtendedTimeout: {
940
+ ID: 0x007F, // 127,
941
+ request: {
942
+ remoteEui64: types_1.EmberEUI64
943
+ },
944
+ response: {
945
+ extendedTimeout: types_1.Bool
946
+ },
947
+ },
948
+ replaceAddressTableEntry: {
949
+ ID: 0x0082, // 130
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, // 96
965
+ request: {
966
+ eui64: types_1.EmberEUI64
967
+ },
968
+ response: {
969
+ nodeId: types_1.EmberNodeId
970
+ },
971
+ },
972
+ lookupEui64ByNodeId: {
973
+ ID: 0x0061, // 97
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, // 99
984
+ request: {
985
+ index: types_1.uint8_t
986
+ },
987
+ response: {
988
+ value: types_1.EmberMulticastTableEntry
989
+ },
990
+ },
991
+ setMulticastTableEntry: {
992
+ ID: 0x0064, // 100
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, // 124
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, // 150
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, // 151
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, // 70
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, // 152
1060
+ request: null,
1061
+ response: {
1062
+ status: types_1.EmberStatus
1063
+ },
1064
+ },
1065
+ // Security Frames
1066
+ setInitialSecurityState: {
1067
+ ID: 0x0068, // 104
1068
+ request: {
1069
+ state: types_1.EmberInitialSecurityState
1070
+ },
1071
+ response: {
1072
+ success: types_1.EmberStatus
1073
+ },
1074
+ },
1075
+ getCurrentSecurityState: {
1076
+ ID: 0x0069, // 105
1077
+ request: null,
1078
+ response: {
1079
+ status: types_1.EmberStatus,
1080
+ state: types_1.EmberCurrentSecurityState
1081
+ },
1082
+ },
1083
+ getKey: {
1084
+ ID: 0x006a, // 106
1085
+ request: {
1086
+ keyType: types_1.EmberKeyType
1087
+ },
1088
+ response: {
1089
+ status: types_1.EmberStatus,
1090
+ keyStruct: types_1.EmberKeyStruct
1091
+ },
1092
+ },
1093
+ exportKey: {
1094
+ ID: 0x0114,
1095
+ request: {
1096
+ context: types_1.EmberSecurityManagerContext
1097
+ },
1098
+ response: {
1099
+ keyData: types_1.EmberKeyData,
1100
+ status: types_1.SLStatus,
1101
+ },
1102
+ },
1103
+ getNetworkKeyInfo: {
1104
+ ID: 0x0116,
1105
+ request: null,
1106
+ response: {
1107
+ status: types_1.SLStatus,
1108
+ networkKeyInfo: types_1.EmberSecurityManagerNetworkKeyInfo,
1109
+ },
1110
+ },
1111
+ switchNetworkKeyHandler: {
1112
+ ID: 0x006e, // 110
1113
+ request: null,
1114
+ response: {
1115
+ sequenceNumber: types_1.uint8_t
1116
+ },
1117
+ },
1118
+ getKeyTableEntry: {
1119
+ ID: 0x0071, // 113
1120
+ request: {
1121
+ index: types_1.uint8_t
1122
+ },
1123
+ response: {
1124
+ status: types_1.EmberStatus,
1125
+ keyStruct: types_1.EmberKeyStruct
1126
+ },
1127
+ },
1128
+ setKeyTableEntry: {
1129
+ ID: 0x0072, // 114
1130
+ request: {
1131
+ index: types_1.uint8_t,
1132
+ address: types_1.EmberEUI64,
1133
+ linkKey: types_1.Bool,
1134
+ keyData: types_1.EmberKeyData
1135
+ },
1136
+ response: {
1137
+ status: types_1.EmberStatus
1138
+ },
1139
+ },
1140
+ findKeyTableEntry: {
1141
+ ID: 0x0075, // 117
1142
+ request: {
1143
+ address: types_1.EmberEUI64,
1144
+ linkKey: types_1.Bool
1145
+ },
1146
+ response: {
1147
+ index: types_1.uint8_t
1148
+ },
1149
+ },
1150
+ addOrUpdateKeyTableEntry: {
1151
+ ID: 0x0066, // 102
1152
+ request: {
1153
+ address: types_1.EmberEUI64,
1154
+ linkKey: types_1.Bool,
1155
+ keyData: types_1.EmberKeyData
1156
+ },
1157
+ response: {
1158
+ status: types_1.EmberStatus
1159
+ },
1160
+ },
1161
+ sendTrustCenterLinkKey: {
1162
+ ID: 0x0067,
1163
+ request: {
1164
+ destinationNodeId: types_1.EmberNodeId,
1165
+ destinationEui64: types_1.EmberEUI64
1166
+ },
1167
+ response: {
1168
+ status: types_1.EmberStatus
1169
+ },
1170
+ },
1171
+ eraseKeyTableEntry: {
1172
+ ID: 0x0076, // 118
1173
+ request: {
1174
+ index: types_1.uint8_t
1175
+ },
1176
+ response: {
1177
+ status: types_1.EmberStatus
1178
+ },
1179
+ },
1180
+ clearKeyTable: {
1181
+ ID: 0x00B1, // 177
1182
+ request: null,
1183
+ response: {
1184
+ status: types_1.EmberStatus
1185
+ },
1186
+ },
1187
+ requestLinkKey: {
1188
+ ID: 0x0014, // 20
1189
+ request: {
1190
+ partner: types_1.EmberEUI64
1191
+ },
1192
+ response: {
1193
+ status: types_1.EmberStatus
1194
+ },
1195
+ },
1196
+ updateTcLinkKey: {
1197
+ ID: 0x006C,
1198
+ request: {
1199
+ maxAttempts: types_1.uint8_t
1200
+ },
1201
+ response: {
1202
+ status: types_1.EmberStatus
1203
+ },
1204
+ },
1205
+ zigbeeKeyEstablishmentHandler: {
1206
+ ID: 0x009B, // 155
1207
+ request: null,
1208
+ response: {
1209
+ partner: types_1.EmberEUI64,
1210
+ status: types_1.EmberKeyStatus
1211
+ },
1212
+ },
1213
+ addTransientLinkKey: {
1214
+ ID: 0x00AF, // 175
1215
+ request: {
1216
+ partner: types_1.EmberEUI64,
1217
+ transientKey: types_1.EmberKeyData
1218
+ },
1219
+ response: {
1220
+ status: types_1.EmberStatus
1221
+ },
1222
+ },
1223
+ importTransientKey: {
1224
+ ID: 0x0111,
1225
+ request: {
1226
+ partner: types_1.EmberEUI64,
1227
+ transientKey: types_1.EmberKeyData,
1228
+ flags: types_1.uint8_t
1229
+ },
1230
+ response: {
1231
+ status: types_1.EmberStatus
1232
+ },
1233
+ },
1234
+ clearTransientLinkKeys: {
1235
+ ID: 0x006B, // 107
1236
+ request: null,
1237
+ response: null,
1238
+ },
1239
+ // getTransientLinkKey: {
1240
+ // ID: 0x00CE,
1241
+ // request: {
1242
+ // eui: EmberEUI64
1243
+ // },
1244
+ // response: {
1245
+ // status: EmberStatus,
1246
+ // transientKeyData: EmberTransientKeyData
1247
+ // },
1248
+ // },
1249
+ // Secure EZSP Frames
1250
+ setSecurityKey: {
1251
+ ID: 0x00CA, // 202
1252
+ request: {
1253
+ key: types_1.EmberKeyData,
1254
+ securityType: types_1.SecureEzspSecurityType
1255
+ },
1256
+ response: {
1257
+ status: types_1.EzspStatus
1258
+ },
1259
+ },
1260
+ setSecurityParameters: {
1261
+ ID: 0x00CB, // 203
1262
+ request: {
1263
+ securityLevel: types_1.SecureEzspSecurityLevel,
1264
+ hostRandomNumber: types_1.SecureEzspRandomNumber
1265
+ },
1266
+ response: {
1267
+ status: types_1.EzspStatus,
1268
+ returnNcpRandomNumber: types_1.SecureEzspRandomNumber
1269
+ },
1270
+ },
1271
+ resetToFactoryDefaults: {
1272
+ ID: 0x00CC, // 204
1273
+ request: null,
1274
+ response: {
1275
+ status: types_1.EzspStatus
1276
+ },
1277
+ },
1278
+ getSecurityKeyStatus: {
1279
+ ID: 0x00CD, // 205
1280
+ request: null,
1281
+ response: {
1282
+ status: types_1.EzspStatus,
1283
+ returnSecurityType: types_1.SecureEzspSecurityType
1284
+ },
1285
+ },
1286
+ // Trust Center Frames
1287
+ trustCenterJoinHandler: {
1288
+ ID: 0x0024, // 36
1289
+ request: null,
1290
+ response: {
1291
+ newNodeId: types_1.EmberNodeId,
1292
+ newNodeEui64: types_1.EmberEUI64,
1293
+ status: types_1.EmberDeviceUpdate,
1294
+ policyDecision: types_1.EmberJoinDecision,
1295
+ parentOfNewNodeId: types_1.EmberNodeId
1296
+ },
1297
+ },
1298
+ broadcastNextNetworkKey: {
1299
+ ID: 0x0073, // 115
1300
+ request: {
1301
+ key: types_1.EmberKeyData
1302
+ },
1303
+ response: {
1304
+ status: types_1.EmberStatus
1305
+ },
1306
+ },
1307
+ broadcastNetworkKeySwitch: {
1308
+ ID: 0x0074, // 116
1309
+ request: null,
1310
+ response: {
1311
+ status: types_1.EmberStatus
1312
+ },
1313
+ },
1314
+ becomeTrustCenter: {
1315
+ ID: 0x0077, // 119
1316
+ request: {
1317
+ newNetworkKey: types_1.EmberKeyData
1318
+ },
1319
+ response: {
1320
+ status: types_1.EmberStatus
1321
+ },
1322
+ },
1323
+ aesMmoHash: {
1324
+ ID: 0x006F, // 111
1325
+ request: {
1326
+ context: types_1.EmberAesMmoHashContext,
1327
+ finalize: types_1.Bool,
1328
+ data: types_1.LVBytes
1329
+ },
1330
+ response: {
1331
+ status: types_1.EmberStatus,
1332
+ returnContext: types_1.EmberAesMmoHashContext
1333
+ },
1334
+ },
1335
+ removeDevice: {
1336
+ ID: 0x00A8, // 168
1337
+ request: {
1338
+ destShort: types_1.EmberNodeId,
1339
+ destLong: types_1.EmberEUI64,
1340
+ targetLong: types_1.EmberEUI64
1341
+ },
1342
+ response: {
1343
+ status: types_1.EmberStatus
1344
+ },
1345
+ },
1346
+ unicastNwkKeyUpdate: {
1347
+ ID: 0x00A9, // 169
1348
+ request: {
1349
+ destShort: types_1.EmberNodeId,
1350
+ destLong: types_1.EmberEUI64,
1351
+ key: types_1.EmberKeyData
1352
+ },
1353
+ response: {
1354
+ status: types_1.EmberStatus
1355
+ },
1356
+ },
1357
+ // Certificate Based Key Exchange (CBKE) Frames
1358
+ generateCbkeKeys: {
1359
+ ID: 0x00A4, // 164
1360
+ request: null,
1361
+ response: {
1362
+ status: types_1.EmberStatus
1363
+ },
1364
+ },
1365
+ generateCbkeKeysHandler: {
1366
+ ID: 0x009E, // 158
1367
+ request: null,
1368
+ response: {
1369
+ status: types_1.EmberStatus,
1370
+ ephemeralPublicKey: types_1.EmberPublicKeyData
1371
+ },
1372
+ },
1373
+ calculateSmacs: {
1374
+ ID: 0x009F, // 159
1375
+ request: {
1376
+ amInitiator: types_1.Bool,
1377
+ partnerCertificate: types_1.EmberCertificateData,
1378
+ partnerEphemeralPublicKey: types_1.EmberPublicKeyData
1379
+ },
1380
+ response: {
1381
+ status: types_1.EmberStatus
1382
+ },
1383
+ },
1384
+ calculateSmacsHandler: {
1385
+ ID: 0x00A0, // 160
1386
+ request: null,
1387
+ response: {
1388
+ status: types_1.EmberStatus,
1389
+ initiatorSmac: types_1.EmberSmacData,
1390
+ responderSmac: types_1.EmberSmacData
1391
+ },
1392
+ },
1393
+ generateCbkeKeys283k1: {
1394
+ ID: 0x00E8, // 232
1395
+ request: null,
1396
+ response: {
1397
+ status: types_1.EmberStatus
1398
+ },
1399
+ },
1400
+ generateCbkeKeysHandler283k1: {
1401
+ ID: 0x00E9, // 233
1402
+ request: null,
1403
+ response: {
1404
+ status: types_1.EmberStatus,
1405
+ ephemeralPublicKey: types_1.EmberPublicKey283k1Data
1406
+ },
1407
+ },
1408
+ calculateSmacs283k1: {
1409
+ ID: 0x00EA, // 234
1410
+ request: {
1411
+ amInitiator: types_1.Bool,
1412
+ partnerCertificate: types_1.EmberCertificate283k1Data,
1413
+ partnerEphemeralPublicKey: types_1.EmberPublicKey283k1Data
1414
+ },
1415
+ response: {
1416
+ status: types_1.EmberStatus
1417
+ },
1418
+ },
1419
+ calculateSmacsHandler283k1: {
1420
+ ID: 0x00EB, // 235
1421
+ request: null,
1422
+ response: {
1423
+ status: types_1.EmberStatus,
1424
+ initiatorSmac: types_1.EmberSmacData,
1425
+ responderSmac: types_1.EmberSmacData
1426
+ },
1427
+ },
1428
+ clearTemporaryDataMaybeStoreLinkKey: {
1429
+ ID: 0x00A1, // 161
1430
+ request: {
1431
+ storeLinkKey: types_1.Bool
1432
+ },
1433
+ response: {
1434
+ status: types_1.EmberStatus
1435
+ },
1436
+ },
1437
+ clearTemporaryDataMaybeStoreLinkKey283k1: {
1438
+ ID: 0x00EE, // 238
1439
+ request: {
1440
+ storeLinkKey: types_1.Bool
1441
+ },
1442
+ response: {
1443
+ status: types_1.EmberStatus
1444
+ },
1445
+ },
1446
+ getCertificate: {
1447
+ ID: 0x00A5, // 165
1448
+ request: null,
1449
+ response: {
1450
+ status: types_1.EmberStatus,
1451
+ localCert: types_1.EmberCertificateData
1452
+ },
1453
+ },
1454
+ getCertificate283k1: {
1455
+ ID: 0x00EC, // 236
1456
+ request: null,
1457
+ response: {
1458
+ status: types_1.EmberStatus,
1459
+ localCert: types_1.EmberCertificate283k1Data
1460
+ },
1461
+ },
1462
+ dsaSign: {
1463
+ ID: 0x00A6, // 166
1464
+ request: {
1465
+ message: types_1.LVBytes
1466
+ },
1467
+ response: {
1468
+ status: types_1.EmberStatus
1469
+ },
1470
+ },
1471
+ dsaSignHandler: {
1472
+ ID: 0x00A7, // 167
1473
+ request: null,
1474
+ response: {
1475
+ status: types_1.EmberStatus,
1476
+ message: types_1.LVBytes
1477
+ },
1478
+ },
1479
+ dsaVerify: {
1480
+ ID: 0x00A3, // 163
1481
+ request: {
1482
+ digest: types_1.EmberMessageDigest,
1483
+ signerCertificate: types_1.EmberCertificateData,
1484
+ receivedSig: types_1.EmberSignatureData
1485
+ },
1486
+ response: {
1487
+ status: types_1.EmberStatus
1488
+ },
1489
+ },
1490
+ dsaVerifyHandler: {
1491
+ ID: 0x0078, // 120
1492
+ request: null,
1493
+ response: {
1494
+ status: types_1.EmberStatus
1495
+ },
1496
+ },
1497
+ dsaVerify283k1: {
1498
+ ID: 0x00B0, // 176
1499
+ request: {
1500
+ digest: types_1.EmberMessageDigest,
1501
+ signerCertificate: types_1.EmberCertificate283k1Data,
1502
+ receivedSig: types_1.EmberSignature283k1Data
1503
+ },
1504
+ response: {
1505
+ status: types_1.EmberStatus
1506
+ },
1507
+ },
1508
+ setPreinstalledCbkeData: {
1509
+ ID: 0x00A2, // 162
1510
+ request: {
1511
+ caPublic: types_1.EmberPublicKeyData,
1512
+ myCert: types_1.EmberCertificateData,
1513
+ myKey: types_1.EmberPrivateKeyData
1514
+ },
1515
+ response: {
1516
+ status: types_1.EmberStatus
1517
+ },
1518
+ },
1519
+ // setPreinstalledCbkeData283k1: {
1520
+ // ID: 237,
1521
+ // request: {
1522
+ // attr: EmberPublicKey283k1Data,
1523
+ // attr: EmberCertificate283k1Data,
1524
+ // attr: EmberPrivateKey283k1Data
1525
+ // },
1526
+ // response: {
1527
+ // attr: EmberStatus
1528
+ // },
1529
+ // },
1530
+ // Mfglib Frames
1531
+ mfglibStart: {
1532
+ ID: 0x0083, // 131
1533
+ request: {
1534
+ rxCallback: types_1.Bool
1535
+ },
1536
+ response: {
1537
+ status: types_1.EmberStatus
1538
+ },
1539
+ },
1540
+ mfglibEnd: {
1541
+ ID: 0x0084, // 132
1542
+ request: null,
1543
+ response: {
1544
+ status: types_1.EmberStatus
1545
+ },
1546
+ },
1547
+ mfglibStartTone: {
1548
+ ID: 0x0085, // 133
1549
+ request: null,
1550
+ response: {
1551
+ status: types_1.EmberStatus
1552
+ },
1553
+ },
1554
+ mfglibStopTone: {
1555
+ ID: 0x0086, // 134
1556
+ request: null,
1557
+ response: {
1558
+ status: types_1.EmberStatus
1559
+ },
1560
+ },
1561
+ mfglibStartStream: {
1562
+ ID: 0x0087, // 135
1563
+ request: null,
1564
+ response: {
1565
+ status: types_1.EmberStatus
1566
+ },
1567
+ },
1568
+ mfglibStopStream: {
1569
+ ID: 0x0088, // 136
1570
+ request: null,
1571
+ response: {
1572
+ status: types_1.EmberStatus
1573
+ },
1574
+ },
1575
+ mfglibSendPacket: {
1576
+ ID: 0x0089, // 137
1577
+ request: {
1578
+ packet: types_1.LVBytes
1579
+ },
1580
+ response: {
1581
+ status: types_1.EmberStatus
1582
+ },
1583
+ },
1584
+ mfglibSetChannel: {
1585
+ ID: 0x008A, // 138
1586
+ request: {
1587
+ channel: types_1.uint8_t
1588
+ },
1589
+ response: {
1590
+ status: types_1.EmberStatus
1591
+ },
1592
+ },
1593
+ mfglibGetChannel: {
1594
+ ID: 0x008B, // 139
1595
+ request: null,
1596
+ response: {
1597
+ channel: types_1.uint8_t
1598
+ },
1599
+ },
1600
+ mfglibSetPower: {
1601
+ ID: 0x008C, // 140
1602
+ request: {
1603
+ txPowerMode: types_1.uint16_t,
1604
+ power: types_1.int8s
1605
+ },
1606
+ response: {
1607
+ status: types_1.EmberStatus
1608
+ },
1609
+ },
1610
+ mfglibGetPower: {
1611
+ ID: 0x008D, // 141
1612
+ request: null,
1613
+ response: {
1614
+ power: types_1.int8s
1615
+ },
1616
+ },
1617
+ mfglibRxHandler: {
1618
+ ID: 0x008E, // 142
1619
+ request: null,
1620
+ response: {
1621
+ linkQuality: types_1.uint8_t,
1622
+ rssi: types_1.int8s,
1623
+ packet: types_1.LVBytes
1624
+ },
1625
+ },
1626
+ // Bootloader Frames
1627
+ launchStandaloneBootloader: {
1628
+ ID: 0x008F, // 143
1629
+ request: {
1630
+ mode: types_1.uint8_t
1631
+ },
1632
+ response: {
1633
+ status: types_1.EmberStatus
1634
+ },
1635
+ },
1636
+ sendBootloadMessage: {
1637
+ ID: 0x0090, // 144
1638
+ request: {
1639
+ broadcast: types_1.Bool,
1640
+ destEui64: types_1.EmberEUI64,
1641
+ message: types_1.LVBytes
1642
+ },
1643
+ response: {
1644
+ status: types_1.EmberStatus
1645
+ },
1646
+ },
1647
+ getStandaloneBootloaderVersionPlatMicroPhy: {
1648
+ ID: 0x0091, // 145
1649
+ request: null,
1650
+ response: {
1651
+ bootloader_version: types_1.uint16_t,
1652
+ nodePlat: types_1.uint8_t,
1653
+ nodeMicro: types_1.uint8_t,
1654
+ nodePhy: types_1.uint8_t
1655
+ },
1656
+ },
1657
+ incomingBootloadMessageHandler: {
1658
+ ID: 0x0092, // 146
1659
+ request: null,
1660
+ response: {
1661
+ longId: types_1.EmberEUI64,
1662
+ lastHopLqi: types_1.uint8_t,
1663
+ lastHopRssi: types_1.int8s,
1664
+ message: types_1.LVBytes
1665
+ },
1666
+ },
1667
+ bootloadTransmitCompleteHandler: {
1668
+ ID: 0x0093, // 147
1669
+ request: null,
1670
+ response: {
1671
+ status: types_1.EmberStatus,
1672
+ message: types_1.LVBytes
1673
+ },
1674
+ },
1675
+ aesEncrypt: {
1676
+ ID: 0x0094, // 148
1677
+ request: {
1678
+ plaintext: (0, types_1.fixed_list)(16, types_1.uint8_t),
1679
+ key: (0, types_1.fixed_list)(16, types_1.uint8_t)
1680
+ },
1681
+ response: {
1682
+ ciphertext: (0, types_1.fixed_list)(16, types_1.uint8_t)
1683
+ },
1684
+ },
1685
+ overrideCurrentChannel: {
1686
+ ID: 0x0095, // 149
1687
+ request: {
1688
+ channel: types_1.uint8_t
1689
+ },
1690
+ response: {
1691
+ status: types_1.EmberStatus
1692
+ },
1693
+ },
1694
+ // ZLL Frames
1695
+ zllNetworkOps: {
1696
+ ID: 0x00B2, // 178
1697
+ request: {
1698
+ networkInfo: types_1.EmberZllNetwork,
1699
+ op: types_1.EzspZllNetworkOperation,
1700
+ radioTxPower: types_1.int8s
1701
+ },
1702
+ response: {
1703
+ status: types_1.EmberStatus
1704
+ },
1705
+ },
1706
+ zllSetInitialSecurityState: {
1707
+ ID: 0x00B3, // 179
1708
+ request: {
1709
+ networkKey: types_1.EmberKeyData,
1710
+ securityState: types_1.EmberZllInitialSecurityState
1711
+ },
1712
+ response: {
1713
+ status: types_1.EmberStatus
1714
+ },
1715
+ },
1716
+ zllStartScan: {
1717
+ ID: 0x00B4, // 180
1718
+ request: {
1719
+ channelMask: types_1.uint32_t,
1720
+ radioPowerForScan: types_1.int8s,
1721
+ nodeType: types_1.EmberNodeType
1722
+ },
1723
+ response: {
1724
+ status: types_1.EmberStatus
1725
+ },
1726
+ },
1727
+ zllSetRxOnWhenIdle: {
1728
+ ID: 0x00B5, // 181
1729
+ request: {
1730
+ durationMs: types_1.uint16_t
1731
+ },
1732
+ response: {
1733
+ status: types_1.EmberStatus
1734
+ },
1735
+ },
1736
+ zllNetworkFoundHandler: {
1737
+ ID: 0x00B6, // 182
1738
+ request: null,
1739
+ response: {
1740
+ networkInfo: types_1.EmberZllNetwork,
1741
+ isDeviceInfoNull: types_1.Bool,
1742
+ deviceInfo: types_1.EmberZllDeviceInfoRecord,
1743
+ lastHopLqi: types_1.uint8_t,
1744
+ lastHopRssi: types_1.int8s
1745
+ },
1746
+ },
1747
+ zllScanCompleteHandler: {
1748
+ ID: 0x00B7, // 183
1749
+ request: null,
1750
+ response: {
1751
+ status: types_1.EmberStatus
1752
+ },
1753
+ },
1754
+ zllAddressAssignmentHandler: {
1755
+ ID: 0x00B8, // 184
1756
+ request: null,
1757
+ response: {
1758
+ addressInfo: types_1.EmberZllAddressAssignment,
1759
+ lastHopLqi: types_1.uint8_t,
1760
+ lastHopRssi: types_1.int8s
1761
+ },
1762
+ },
1763
+ setLogicalAndRadioChannel: {
1764
+ ID: 0x00B9, // 185
1765
+ request: {
1766
+ radioChannel: types_1.uint8_t
1767
+ },
1768
+ response: {
1769
+ status: types_1.EmberStatus
1770
+ },
1771
+ },
1772
+ getLogicalChannel: {
1773
+ ID: 0x00BA, // 186
1774
+ request: null,
1775
+ response: {
1776
+ logicalChannel: types_1.uint8_t
1777
+ },
1778
+ },
1779
+ zllTouchLinkTargetHandler: {
1780
+ ID: 0x00BB, // 187
1781
+ request: null,
1782
+ response: {
1783
+ networkInfo: types_1.EmberZllNetwork
1784
+ },
1785
+ },
1786
+ zllGetTokens: {
1787
+ ID: 0x00BC, // 188
1788
+ request: null,
1789
+ response: {
1790
+ data: types_1.EmberTokTypeStackZllData,
1791
+ security: types_1.EmberTokTypeStackZllSecurity
1792
+ },
1793
+ },
1794
+ zllSetDataToken: {
1795
+ ID: 0x00BD, // 189
1796
+ request: {
1797
+ data: types_1.EmberTokTypeStackZllData
1798
+ },
1799
+ response: null,
1800
+ },
1801
+ zllSetNonZllNetwork: {
1802
+ ID: 0x00BF, // 191
1803
+ request: null,
1804
+ response: null,
1805
+ },
1806
+ isZllNetwork: {
1807
+ ID: 0x00BE, // 190
1808
+ request: null,
1809
+ response: {
1810
+ isZllNetwork: types_1.Bool
1811
+ },
1812
+ },
1813
+ // rf4ceSetPairingTableEntry: {
1814
+ // ID: 208,
1815
+ // request: {
1816
+ // attr: uint8_t,
1817
+ // attr: EmberRf4cePairingTableEntry
1818
+ // },
1819
+ // response: {
1820
+ // attr: EmberStatus
1821
+ // },
1822
+ // },
1823
+ // rf4ceGetPairingTableEntry: {
1824
+ // ID: 209,
1825
+ // request: {
1826
+ // attr: uint8_t
1827
+ // },
1828
+ // response: {
1829
+ // attr: EmberStatus,
1830
+ // attr: EmberRf4cePairingTableEntry
1831
+ // },
1832
+ // },
1833
+ // rf4ceDeletePairingTableEntry: {
1834
+ // ID: 210,
1835
+ // request: {
1836
+ // attr: uint8_t
1837
+ // },
1838
+ // response: {
1839
+ // attr: EmberStatus
1840
+ // },
1841
+ // },
1842
+ // rf4ceKeyUpdate: {
1843
+ // ID: 211,
1844
+ // request: {
1845
+ // attr: uint8_t,
1846
+ // attr: EmberKeyData
1847
+ // },
1848
+ // response: {
1849
+ // attr: EmberStatus
1850
+ // },
1851
+ // },
1852
+ // rf4ceSend: {
1853
+ // ID: 212,
1854
+ // request: {
1855
+ // attr: uint8_t,
1856
+ // attr: uint8_t,
1857
+ // attr: uint16_t,
1858
+ // attr: EmberRf4ceTxOption,
1859
+ // attr: uint8_t,
1860
+ // attr: LVBytes
1861
+ // },
1862
+ // response: {
1863
+ // attr: EmberStatus
1864
+ // },
1865
+ // },
1866
+ // rf4ceIncomingMessageHandler: {
1867
+ // ID: 213,
1868
+ // request: null,
1869
+ // response: {
1870
+ // attr: uint8_t,
1871
+ // attr: uint8_t,
1872
+ // attr: uint16_t,
1873
+ // attr: EmberRf4ceTxOption,
1874
+ // attr: LVBytes
1875
+ // },
1876
+ // },
1877
+ // rf4ceMessageSentHandler: {
1878
+ // ID: 214,
1879
+ // request: null,
1880
+ // response: {
1881
+ // attr: EmberStatus,
1882
+ // attr: uint8_t,
1883
+ // attr: EmberRf4ceTxOption,
1884
+ // attr: uint8_t,
1885
+ // attr: uint16_t,
1886
+ // attr: uint8_t,
1887
+ // attr: LVBytes
1888
+ // },
1889
+ // },
1890
+ // rf4ceStart: {
1891
+ // ID: 215,
1892
+ // request: {
1893
+ // attr: EmberRf4ceNodeCapabilities,
1894
+ // attr: EmberRf4ceVendorInfo,
1895
+ // attr: int8s
1896
+ // },
1897
+ // response: {
1898
+ // attr: EmberStatus
1899
+ // },
1900
+ // },
1901
+ // rf4ceStop: {
1902
+ // ID: 216,
1903
+ // request: null,
1904
+ // response: {
1905
+ // attr: EmberStatus
1906
+ // },
1907
+ // },
1908
+ // rf4ceDiscovery: {
1909
+ // ID: 217,
1910
+ // request: {
1911
+ // attr: EmberPanId,
1912
+ // attr: EmberNodeId,
1913
+ // attr: uint8_t,
1914
+ // attr: uint16_t,
1915
+ // attr: LVBytes
1916
+ // },
1917
+ // response: {
1918
+ // attr: EmberStatus
1919
+ // },
1920
+ // },
1921
+ // rf4ceDiscoveryCompleteHandler: {
1922
+ // ID: 218,
1923
+ // request: null,
1924
+ // response: {
1925
+ // attr: EmberStatus
1926
+ // },
1927
+ // },
1928
+ // rf4ceDiscoveryRequestHandler: {
1929
+ // ID: 219,
1930
+ // request: null,
1931
+ // response: {
1932
+ // attr: EmberEUI64,
1933
+ // attr: uint8_t,
1934
+ // attr: EmberRf4ceVendorInfo,
1935
+ // attr: EmberRf4ceApplicationInfo,
1936
+ // attr: uint8_t,
1937
+ // attr: uint8_t
1938
+ // },
1939
+ // },
1940
+ // rf4ceDiscoveryResponseHandler: {
1941
+ // ID: 220,
1942
+ // request: null,
1943
+ // response: {
1944
+ // attr: Bool,
1945
+ // attr: uint8_t,
1946
+ // attr: EmberPanId,
1947
+ // attr: EmberEUI64,
1948
+ // attr: uint8_t,
1949
+ // attr: EmberRf4ceVendorInfo,
1950
+ // attr: EmberRf4ceApplicationInfo,
1951
+ // attr: uint8_t,
1952
+ // attr: uint8_t
1953
+ // },
1954
+ // },
1955
+ // rf4ceEnableAutoDiscoveryResponse: {
1956
+ // ID: 221,
1957
+ // request: {
1958
+ // attr: uint16_t
1959
+ // },
1960
+ // response: {
1961
+ // attr: EmberStatus
1962
+ // },
1963
+ // },
1964
+ // rf4ceAutoDiscoveryResponseCompleteHandler: {
1965
+ // ID: 222,
1966
+ // request: null,
1967
+ // response: {
1968
+ // attr: EmberStatus,
1969
+ // attr: EmberEUI64,
1970
+ // attr: uint8_t,
1971
+ // attr: EmberRf4ceVendorInfo,
1972
+ // attr: EmberRf4ceApplicationInfo,
1973
+ // attr: uint8_t
1974
+ // },
1975
+ // },
1976
+ // rf4cePair: {
1977
+ // ID: 223,
1978
+ // request: {
1979
+ // attr: uint8_t,
1980
+ // attr: EmberPanId,
1981
+ // attr: EmberEUI64,
1982
+ // attr: uint8_t
1983
+ // },
1984
+ // response: {
1985
+ // attr: EmberStatus
1986
+ // },
1987
+ // },
1988
+ // rf4cePairCompleteHandler: {
1989
+ // ID: 224,
1990
+ // request: null,
1991
+ // response: {
1992
+ // attr: EmberStatus,
1993
+ // attr: uint8_t,
1994
+ // attr: EmberRf4ceVendorInfo,
1995
+ // attr: EmberRf4ceApplicationInfo
1996
+ // },
1997
+ // },
1998
+ // rf4cePairRequestHandler: {
1999
+ // ID: 225,
2000
+ // request: null,
2001
+ // response: {
2002
+ // attr: EmberStatus,
2003
+ // attr: uint8_t,
2004
+ // attr: EmberEUI64,
2005
+ // attr: uint8_t,
2006
+ // attr: EmberRf4ceVendorInfo,
2007
+ // attr: EmberRf4ceApplicationInfo,
2008
+ // attr: uint8_t
2009
+ // },
2010
+ // },
2011
+ // rf4ceUnpair: {
2012
+ // ID: 226,
2013
+ // request: {
2014
+ // attr: uint8_t
2015
+ // },
2016
+ // response: {
2017
+ // attr: EmberStatus
2018
+ // },
2019
+ // },
2020
+ // rf4ceUnpairHandler: {
2021
+ // ID: 227,
2022
+ // request: null,
2023
+ // response: {
2024
+ // attr: uint8_t
2025
+ // },
2026
+ // },
2027
+ // rf4ceUnpairCompleteHandler: {
2028
+ // ID: 228,
2029
+ // request: null,
2030
+ // response: {
2031
+ // attr: uint8_t
2032
+ // },
2033
+ // },
2034
+ // rf4ceSetPowerSavingParameters: {
2035
+ // ID: 229,
2036
+ // request: {
2037
+ // attr: uint32_t,
2038
+ // attr: uint32_t
2039
+ // },
2040
+ // response: {
2041
+ // attr: EmberStatus
2042
+ // },
2043
+ // },
2044
+ // rf4ceSetFrequencyAgilityParameters: {
2045
+ // ID: 230,
2046
+ // request: {
2047
+ // attr: uint8_t,
2048
+ // attr: uint8_t,
2049
+ // attr: int8s,
2050
+ // attr: uint16_t,
2051
+ // attr: uint8_t
2052
+ // },
2053
+ // response: {
2054
+ // attr: EmberStatus
2055
+ // },
2056
+ // },
2057
+ // rf4ceSetApplicationInfo: {
2058
+ // ID: 231,
2059
+ // request: {
2060
+ // attr: EmberRf4ceApplicationInfo
2061
+ // },
2062
+ // response: {
2063
+ // attr: EmberStatus
2064
+ // },
2065
+ // },
2066
+ // rf4ceGetApplicationInfo: {
2067
+ // ID: 239,
2068
+ // request: null,
2069
+ // response: {
2070
+ // attr: EmberStatus,
2071
+ // attr: EmberRf4ceApplicationInfo
2072
+ // },
2073
+ // },
2074
+ // rf4ceGetMaxPayload: {
2075
+ // ID: 243,
2076
+ // request: {
2077
+ // attr: uint8_t,
2078
+ // attr: EmberRf4ceTxOption
2079
+ // },
2080
+ // response: {
2081
+ // attr: uint8_t
2082
+ // },
2083
+ // },
2084
+ // rf4ceGetNetworkParameters: {
2085
+ // ID: 244,
2086
+ // request: null,
2087
+ // response: {
2088
+ // attr: EmberStatus,
2089
+ // attr: EmberNodeType,
2090
+ // attr: EmberNetworkParameters
2091
+ // },
2092
+ // },
2093
+ // Green Power Frames
2094
+ gpProxyTableProcessGpPairing: {
2095
+ ID: 0x00C9, // 201
2096
+ request: {
2097
+ options: types_1.uint32_t,
2098
+ addr: types_1.EmberGpAddress,
2099
+ commMode: types_1.uint8_t,
2100
+ sinkNetworkAddress: types_1.uint16_t,
2101
+ sinkGroupId: types_1.uint16_t,
2102
+ assignedAlias: types_1.uint16_t,
2103
+ sinkIeeeAddress: (0, types_1.fixed_list)(8, types_1.uint8_t),
2104
+ gpdKey: types_1.EmberKeyData,
2105
+ gpdSecurityFrameCounter: types_1.uint32_t,
2106
+ forwardingRadius: types_1.uint8_t
2107
+ },
2108
+ response: {
2109
+ gpPairingAdded: types_1.Bool
2110
+ },
2111
+ },
2112
+ dGpSend: {
2113
+ ID: 0x00C6, // 198
2114
+ request: {
2115
+ action: types_1.Bool,
2116
+ useCca: types_1.Bool,
2117
+ addr: types_1.EmberGpAddress,
2118
+ gpdCommandId: types_1.uint8_t,
2119
+ gpdAsdu: types_1.LVBytes,
2120
+ gpepHandle: types_1.uint8_t,
2121
+ gpTxQueueEntryLifetimeMs: types_1.uint16_t
2122
+ },
2123
+ response: {
2124
+ status: types_1.EmberStatus
2125
+ },
2126
+ },
2127
+ dGpSentHandler: {
2128
+ ID: 0x00C7, // 199
2129
+ request: null,
2130
+ response: {
2131
+ status: types_1.EmberStatus,
2132
+ gpepHandle: types_1.uint8_t
2133
+ },
2134
+ },
2135
+ gpepIncomingMessageHandler: {
2136
+ ID: 0x00C5, // 197
2137
+ request: null,
2138
+ response: {
2139
+ status: types_1.EmberStatus,
2140
+ gpdLink: types_1.uint8_t,
2141
+ sequenceNumber: types_1.uint8_t,
2142
+ addrType: types_1.uint8_t,
2143
+ addr: types_1.uint32_t,
2144
+ srcId: types_1.uint32_t,
2145
+ addrE: types_1.uint8_t,
2146
+ gpdfSecurityLevel: types_1.EmberGpSecurityLevel,
2147
+ gpdfSecurityKeyType: types_1.EmberGpKeyType,
2148
+ autoCommissioning: types_1.Bool,
2149
+ bidirectionalInfo: types_1.uint8_t,
2150
+ gpdSecurityFrameCounter: types_1.uint32_t,
2151
+ gpdCommandId: types_1.uint8_t,
2152
+ payload: types_1.Bytes,
2153
+ // mic: uint32_t,
2154
+ //attr: EmberGpSinkListEntry,
2155
+ // proxyTableIndex: uint8_t,
2156
+ // gpdCommandPayload: LVBytes
2157
+ },
2158
+ },
2159
+ changeSourceRouteHandler: {
2160
+ ID: 0x00C4,
2161
+ request: null,
2162
+ response: {
2163
+ newChildId: types_1.EmberNodeId,
2164
+ newParentId: types_1.EmberNodeId
2165
+ },
2166
+ maxV: 8
2167
+ },
2168
+ incomingNetworkStatusHandler: {
2169
+ ID: 0x00C4,
2170
+ request: null,
2171
+ response: {
2172
+ errorCode: types_1.EmberStackError,
2173
+ target: types_1.EmberNodeId
2174
+ },
2175
+ minV: 9
2176
+ },
2177
+ setSourceRouteDiscoveryMode: {
2178
+ ID: 0x005a,
2179
+ request: {
2180
+ mode: types_1.uint8_t
2181
+ },
2182
+ response: {
2183
+ remainingTime: types_1.uint32_t
2184
+ },
2185
+ },
2186
+ };
2187
+ exports.FRAME_NAMES_BY_ID = {};
2188
+ for (const key of Object.getOwnPropertyNames(exports.FRAMES)) {
2189
+ const frameDesc = exports.FRAMES[key];
2190
+ if (exports.FRAME_NAMES_BY_ID[frameDesc.ID]) {
2191
+ exports.FRAME_NAMES_BY_ID[frameDesc.ID].push(key);
2192
+ }
2193
+ else {
2194
+ exports.FRAME_NAMES_BY_ID[frameDesc.ID] = [key];
2195
+ }
2196
+ }
2197
+ exports.ZDOREQUESTS = {
2198
+ // ZDO Device and Discovery Attributes
2199
+ nodeDescReq: {
2200
+ ID: 0x0002,
2201
+ request: {
2202
+ transId: types_1.uint8_t,
2203
+ dstaddr: types_1.EmberNodeId
2204
+ },
2205
+ response: {
2206
+ status: types_1.EmberStatus
2207
+ },
2208
+ },
2209
+ simpleDescReq: {
2210
+ ID: 0x0004,
2211
+ request: {
2212
+ transId: types_1.uint8_t,
2213
+ dstaddr: types_1.EmberNodeId,
2214
+ targetEp: types_1.uint8_t
2215
+ },
2216
+ response: {
2217
+ status: types_1.EmberStatus
2218
+ },
2219
+ },
2220
+ activeEpReq: {
2221
+ ID: 0x0005,
2222
+ request: {
2223
+ transId: types_1.uint8_t,
2224
+ dstaddr: types_1.EmberNodeId
2225
+ },
2226
+ response: {
2227
+ status: types_1.EmberStatus
2228
+ },
2229
+ },
2230
+ // ZDO Bind Manager Attributes
2231
+ bindReq: {
2232
+ ID: 0x0021,
2233
+ request: {
2234
+ transId: types_1.uint8_t,
2235
+ sourceEui: types_1.EmberEUI64,
2236
+ sourceEp: types_1.uint8_t,
2237
+ clusterId: types_1.uint16_t,
2238
+ destAddr: types_1.EmberMultiAddress
2239
+ },
2240
+ response: {
2241
+ status: types_1.EmberStatus
2242
+ },
2243
+ },
2244
+ unBindReq: {
2245
+ ID: 0x0022,
2246
+ request: {
2247
+ transId: types_1.uint8_t,
2248
+ sourceEui: types_1.EmberEUI64,
2249
+ sourceEp: types_1.uint8_t,
2250
+ clusterId: types_1.uint16_t,
2251
+ destAddr: types_1.EmberMultiAddress
2252
+ },
2253
+ response: {
2254
+ status: types_1.EmberStatus
2255
+ },
2256
+ },
2257
+ // ZDO network manager attributes commands
2258
+ mgmtLqiReq: {
2259
+ ID: 0x0031,
2260
+ request: {
2261
+ transId: types_1.uint8_t,
2262
+ startindex: types_1.uint8_t
2263
+ },
2264
+ response: {
2265
+ status: types_1.EmberStatus
2266
+ },
2267
+ },
2268
+ mgmtRtgReq: {
2269
+ ID: 0x0032,
2270
+ request: {
2271
+ transId: types_1.uint8_t,
2272
+ startindex: types_1.uint8_t
2273
+ },
2274
+ response: {
2275
+ status: types_1.EmberStatus
2276
+ },
2277
+ },
2278
+ mgmtLeaveReq: {
2279
+ ID: 0x0034,
2280
+ request: {
2281
+ transId: types_1.uint8_t,
2282
+ destAddr: types_1.EmberEUI64,
2283
+ removechildrenRejoin: types_1.uint8_t
2284
+ },
2285
+ response: {
2286
+ status: types_1.EmberStatus
2287
+ },
2288
+ },
2289
+ mgmtPermitJoinReq: {
2290
+ ID: 0x0036,
2291
+ request: {
2292
+ transId: types_1.uint8_t,
2293
+ duration: types_1.uint8_t,
2294
+ tcSignificant: types_1.Bool
2295
+ },
2296
+ response: {
2297
+ status: types_1.EmberStatus
2298
+ },
2299
+ },
2300
+ };
2301
+ exports.ZDORESPONSES = {
2302
+ // ZDO Device and Discovery Attributes
2303
+ nodeDescRsp: {
2304
+ ID: 0x8002,
2305
+ params: {
2306
+ transId: types_1.uint8_t,
2307
+ status: types_1.EmberStatus,
2308
+ nwkaddr: types_1.EmberNodeId,
2309
+ descriptor: types_1.EmberNodeDescriptor
2310
+ },
2311
+ },
2312
+ simpleDescRsp: {
2313
+ ID: 0x8004,
2314
+ params: {
2315
+ transId: types_1.uint8_t,
2316
+ status: types_1.EmberStatus,
2317
+ nwkaddr: types_1.EmberNodeId,
2318
+ len: types_1.uint8_t,
2319
+ descriptor: types_1.EmberSimpleDescriptor
2320
+ },
2321
+ },
2322
+ activeEpRsp: {
2323
+ ID: 0x8005,
2324
+ params: {
2325
+ transId: types_1.uint8_t,
2326
+ status: types_1.EmberStatus,
2327
+ nwkaddr: types_1.EmberNodeId,
2328
+ activeeplist: types_1.LVBytes
2329
+ }
2330
+ },
2331
+ // ZDO Bind Manager Attributes
2332
+ bindRsp: {
2333
+ ID: 0x8021,
2334
+ params: {
2335
+ transId: types_1.uint8_t,
2336
+ status: types_1.EmberStatus
2337
+ }
2338
+ },
2339
+ unBindRsp: {
2340
+ ID: 0x8022,
2341
+ params: {
2342
+ transId: types_1.uint8_t,
2343
+ status: types_1.EmberStatus
2344
+ }
2345
+ },
2346
+ // ZDO network manager attributes commands
2347
+ mgmtLqiRsp: {
2348
+ ID: 0x8031,
2349
+ params: {
2350
+ transId: types_1.uint8_t,
2351
+ status: types_1.EmberStatus,
2352
+ neighborlqilist: types_1.EmberNeighbors
2353
+ }
2354
+ },
2355
+ mgmtRtgRsp: {
2356
+ ID: 0x8032,
2357
+ params: {
2358
+ transId: types_1.uint8_t,
2359
+ status: types_1.EmberStatus,
2360
+ routingtablelist: types_1.EmberRoutingTable
2361
+ }
2362
+ },
2363
+ mgmtLeaveRsp: {
2364
+ ID: 0x8034,
2365
+ params: {
2366
+ transId: types_1.uint8_t,
2367
+ status: types_1.EmberStatus
2368
+ }
2369
+ },
2370
+ mgmtPermitJoinRsp: {
2371
+ ID: 0x8036,
2372
+ params: {
2373
+ transId: types_1.uint8_t,
2374
+ status: types_1.EmberStatus
2375
+ }
2376
+ },
2377
+ };
2378
+ exports.ZGP = {};
2379
+ exports.ZDOREQUEST_NAME_BY_ID = {};
2380
+ for (const key of Object.getOwnPropertyNames(exports.ZDOREQUESTS)) {
2381
+ const frameDesc = exports.ZDOREQUESTS[key];
2382
+ exports.ZDOREQUEST_NAME_BY_ID[frameDesc.ID] = key;
2383
+ }
2384
+ exports.ZDORESPONSE_NAME_BY_ID = {};
2385
+ for (const key of Object.getOwnPropertyNames(exports.ZDORESPONSES)) {
2386
+ const frameDesc = exports.ZDORESPONSES[key];
2387
+ exports.ZDORESPONSE_NAME_BY_ID[frameDesc.ID] = key;
2388
+ }
2360
2389
  //# sourceMappingURL=commands.js.map