jooby-codec 3.2.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/dist/analog/Command.js.map +1 -1
  2. package/dist/analog/CommandBinaryBuffer.d.ts +4 -5
  3. package/dist/analog/CommandBinaryBuffer.js +59 -18
  4. package/dist/analog/CommandBinaryBuffer.js.map +1 -1
  5. package/dist/analog/commands/downlink/CorrectTime2000.js +1 -1
  6. package/dist/analog/commands/downlink/CorrectTime2000.js.map +1 -1
  7. package/dist/analog/commands/downlink/GetArchiveDays.js +1 -1
  8. package/dist/analog/commands/downlink/GetArchiveDays.js.map +1 -1
  9. package/dist/analog/commands/downlink/GetArchiveDaysMC.js +1 -1
  10. package/dist/analog/commands/downlink/GetArchiveDaysMC.js.map +1 -1
  11. package/dist/analog/commands/downlink/GetArchiveEvents.js +1 -1
  12. package/dist/analog/commands/downlink/GetArchiveEvents.js.map +1 -1
  13. package/dist/analog/commands/downlink/GetArchiveHours.js +1 -1
  14. package/dist/analog/commands/downlink/GetArchiveHours.js.map +1 -1
  15. package/dist/analog/commands/downlink/GetArchiveHoursMC.js +1 -1
  16. package/dist/analog/commands/downlink/GetArchiveHoursMC.js.map +1 -1
  17. package/dist/analog/commands/downlink/GetBatteryStatus.d.ts +11 -0
  18. package/dist/analog/commands/downlink/GetBatteryStatus.js +26 -0
  19. package/dist/analog/commands/downlink/GetBatteryStatus.js.map +1 -0
  20. package/dist/analog/commands/downlink/GetCurrent.js +1 -1
  21. package/dist/analog/commands/downlink/GetCurrent.js.map +1 -1
  22. package/dist/analog/commands/downlink/GetCurrentMC.js +1 -1
  23. package/dist/analog/commands/downlink/GetCurrentMC.js.map +1 -1
  24. package/dist/analog/commands/downlink/GetExAbsArchiveDaysMC.js +1 -1
  25. package/dist/analog/commands/downlink/GetExAbsArchiveDaysMC.js.map +1 -1
  26. package/dist/analog/commands/downlink/GetExAbsArchiveHoursMC.js +1 -1
  27. package/dist/analog/commands/downlink/GetExAbsArchiveHoursMC.js.map +1 -1
  28. package/dist/analog/commands/downlink/GetExAbsCurrentMC.js +1 -1
  29. package/dist/analog/commands/downlink/GetExAbsCurrentMC.js.map +1 -1
  30. package/dist/analog/commands/downlink/GetLmicInfo.js +1 -1
  31. package/dist/analog/commands/downlink/GetLmicInfo.js.map +1 -1
  32. package/dist/analog/commands/downlink/GetParameter.js +1 -1
  33. package/dist/analog/commands/downlink/GetParameter.js.map +1 -1
  34. package/dist/analog/commands/downlink/GetStatus.js +1 -1
  35. package/dist/analog/commands/downlink/GetStatus.js.map +1 -1
  36. package/dist/analog/commands/downlink/GetTime2000.d.ts +11 -0
  37. package/dist/analog/commands/downlink/GetTime2000.js +26 -0
  38. package/dist/analog/commands/downlink/GetTime2000.js.map +1 -0
  39. package/dist/analog/commands/downlink/SetParameter.js +1 -1
  40. package/dist/analog/commands/downlink/SetParameter.js.map +1 -1
  41. package/dist/analog/commands/downlink/SetTime2000.js +1 -1
  42. package/dist/analog/commands/downlink/SetTime2000.js.map +1 -1
  43. package/dist/analog/commands/downlink/SoftRestart.js +1 -1
  44. package/dist/analog/commands/downlink/SoftRestart.js.map +1 -1
  45. package/dist/analog/commands/downlink/UpdateRun.d.ts +10 -0
  46. package/dist/analog/commands/downlink/UpdateRun.js +23 -0
  47. package/dist/analog/commands/downlink/UpdateRun.js.map +1 -0
  48. package/dist/analog/commands/downlink/VerifyImage.d.ts +10 -0
  49. package/dist/analog/commands/downlink/VerifyImage.js +23 -0
  50. package/dist/analog/commands/downlink/VerifyImage.js.map +1 -0
  51. package/dist/analog/commands/downlink/WriteImage.d.ts +16 -0
  52. package/dist/analog/commands/downlink/WriteImage.js +45 -0
  53. package/dist/analog/commands/downlink/WriteImage.js.map +1 -0
  54. package/dist/analog/commands/downlink/index.d.ts +8 -3
  55. package/dist/analog/commands/downlink/index.js +8 -3
  56. package/dist/analog/commands/downlink/index.js.map +1 -1
  57. package/dist/analog/commands/uplink/CorrectTime2000Response.js +1 -1
  58. package/dist/analog/commands/uplink/CorrectTime2000Response.js.map +1 -1
  59. package/dist/analog/commands/uplink/Current.js +1 -1
  60. package/dist/analog/commands/uplink/Current.js.map +1 -1
  61. package/dist/analog/commands/uplink/CurrentMC.js +1 -1
  62. package/dist/analog/commands/uplink/CurrentMC.js.map +1 -1
  63. package/dist/analog/commands/uplink/Day.js +1 -1
  64. package/dist/analog/commands/uplink/Day.js.map +1 -1
  65. package/dist/analog/commands/uplink/DayMC.js +1 -1
  66. package/dist/analog/commands/uplink/DayMC.js.map +1 -1
  67. package/dist/analog/commands/uplink/ExAbsCurrentMC.js +1 -1
  68. package/dist/analog/commands/uplink/ExAbsCurrentMC.js.map +1 -1
  69. package/dist/analog/commands/uplink/ExAbsDayMC.js +1 -1
  70. package/dist/analog/commands/uplink/ExAbsDayMC.js.map +1 -1
  71. package/dist/analog/commands/uplink/ExAbsHourMC.js +4 -24
  72. package/dist/analog/commands/uplink/ExAbsHourMC.js.map +1 -1
  73. package/dist/analog/commands/uplink/GetArchiveDaysMCResponse.js +15 -1
  74. package/dist/analog/commands/uplink/GetArchiveDaysMCResponse.js.map +1 -1
  75. package/dist/analog/commands/uplink/GetArchiveDaysResponse.js +1 -1
  76. package/dist/analog/commands/uplink/GetArchiveDaysResponse.js.map +1 -1
  77. package/dist/analog/commands/uplink/GetArchiveEventsResponse.js +1 -1
  78. package/dist/analog/commands/uplink/GetArchiveEventsResponse.js.map +1 -1
  79. package/dist/analog/commands/uplink/GetArchiveHoursMCResponse.js +10 -1
  80. package/dist/analog/commands/uplink/GetArchiveHoursMCResponse.js.map +1 -1
  81. package/dist/analog/commands/uplink/GetArchiveHoursResponse.js +1 -1
  82. package/dist/analog/commands/uplink/GetArchiveHoursResponse.js.map +1 -1
  83. package/dist/analog/commands/uplink/GetBatteryStatusResponse.d.ts +21 -0
  84. package/dist/analog/commands/uplink/GetBatteryStatusResponse.js +57 -0
  85. package/dist/analog/commands/uplink/GetBatteryStatusResponse.js.map +1 -0
  86. package/dist/analog/commands/uplink/GetExAbsArchiveDaysMCResponse.d.ts +2 -2
  87. package/dist/analog/commands/uplink/GetExAbsArchiveDaysMCResponse.js +7 -3
  88. package/dist/analog/commands/uplink/GetExAbsArchiveDaysMCResponse.js.map +1 -1
  89. package/dist/analog/commands/uplink/GetExAbsArchiveHoursMCResponse.d.ts +2 -2
  90. package/dist/analog/commands/uplink/GetExAbsArchiveHoursMCResponse.js +12 -24
  91. package/dist/analog/commands/uplink/GetExAbsArchiveHoursMCResponse.js.map +1 -1
  92. package/dist/analog/commands/uplink/GetLmicInfoResponse.js +1 -1
  93. package/dist/analog/commands/uplink/GetLmicInfoResponse.js.map +1 -1
  94. package/dist/analog/commands/uplink/GetParameterResponse.js +1 -1
  95. package/dist/analog/commands/uplink/GetParameterResponse.js.map +1 -1
  96. package/dist/analog/commands/uplink/Hour.js +1 -1
  97. package/dist/analog/commands/uplink/Hour.js.map +1 -1
  98. package/dist/analog/commands/uplink/HourMC.js +1 -1
  99. package/dist/analog/commands/uplink/HourMC.js.map +1 -1
  100. package/dist/analog/commands/uplink/LastEvent.js +1 -1
  101. package/dist/analog/commands/uplink/LastEvent.js.map +1 -1
  102. package/dist/analog/commands/uplink/NewEvent.js +1 -1
  103. package/dist/analog/commands/uplink/NewEvent.js.map +1 -1
  104. package/dist/analog/commands/uplink/SetParameterResponse.js +1 -1
  105. package/dist/analog/commands/uplink/SetParameterResponse.js.map +1 -1
  106. package/dist/analog/commands/uplink/SetTime2000Response.js +1 -1
  107. package/dist/analog/commands/uplink/SetTime2000Response.js.map +1 -1
  108. package/dist/analog/commands/uplink/SoftRestartResponse.js +1 -1
  109. package/dist/analog/commands/uplink/SoftRestartResponse.js.map +1 -1
  110. package/dist/analog/commands/uplink/Status.js +2 -2
  111. package/dist/analog/commands/uplink/Status.js.map +1 -1
  112. package/dist/analog/commands/uplink/Time2000.js +1 -1
  113. package/dist/analog/commands/uplink/Time2000.js.map +1 -1
  114. package/dist/analog/commands/uplink/UpdateRunResponse.d.ts +10 -0
  115. package/dist/analog/commands/uplink/UpdateRunResponse.js +23 -0
  116. package/dist/analog/commands/uplink/UpdateRunResponse.js.map +1 -0
  117. package/dist/analog/commands/uplink/VerifyImageResponse.d.ts +15 -0
  118. package/dist/analog/commands/uplink/VerifyImageResponse.js +29 -0
  119. package/dist/analog/commands/uplink/VerifyImageResponse.js.map +1 -0
  120. package/dist/analog/commands/uplink/WriteImageResponse.d.ts +16 -0
  121. package/dist/analog/commands/uplink/WriteImageResponse.js +41 -0
  122. package/dist/analog/commands/uplink/WriteImageResponse.js.map +1 -0
  123. package/dist/analog/commands/uplink/index.d.ts +5 -1
  124. package/dist/analog/commands/uplink/index.js +5 -1
  125. package/dist/analog/commands/uplink/index.js.map +1 -1
  126. package/dist/analog/constants/commandRelations.d.ts +6 -0
  127. package/dist/analog/constants/commandRelations.js +31 -0
  128. package/dist/analog/constants/commandRelations.js.map +1 -0
  129. package/dist/analog/constants/index.d.ts +0 -1
  130. package/dist/analog/constants/index.js +0 -1
  131. package/dist/analog/constants/index.js.map +1 -1
  132. package/dist/analog/header.js.map +1 -1
  133. package/dist/analog/message.d.ts +0 -9
  134. package/dist/analog/message.js +6 -15
  135. package/dist/analog/message.js.map +1 -1
  136. package/dist/constants/directions.js.map +1 -0
  137. package/dist/constants/frameAttributes.js.map +1 -0
  138. package/dist/constants/index.d.ts +2 -0
  139. package/dist/constants/index.js +3 -0
  140. package/dist/constants/index.js.map +1 -0
  141. package/dist/mtx/CommandBinaryBuffer.d.ts +5 -3
  142. package/dist/mtx/CommandBinaryBuffer.js +17 -18
  143. package/dist/mtx/CommandBinaryBuffer.js.map +1 -1
  144. package/dist/mtx/commands/downlink/ActivateRatePlan.js +1 -1
  145. package/dist/mtx/commands/downlink/ActivateRatePlan.js.map +1 -1
  146. package/dist/mtx/commands/downlink/GetDateTime.js +1 -1
  147. package/dist/mtx/commands/downlink/GetDateTime.js.map +1 -1
  148. package/dist/mtx/commands/downlink/GetDayProfile.d.ts +19 -0
  149. package/dist/mtx/commands/downlink/GetDayProfile.js +48 -0
  150. package/dist/mtx/commands/downlink/GetDayProfile.js.map +1 -0
  151. package/dist/mtx/commands/downlink/GetDeviceId.js +1 -1
  152. package/dist/mtx/commands/downlink/GetDeviceId.js.map +1 -1
  153. package/dist/mtx/commands/downlink/GetDeviceType.d.ts +13 -0
  154. package/dist/mtx/commands/downlink/GetDeviceType.js +31 -0
  155. package/dist/mtx/commands/downlink/GetDeviceType.js.map +1 -0
  156. package/dist/mtx/commands/downlink/GetDisplayParam.js +1 -1
  157. package/dist/mtx/commands/downlink/GetDisplayParam.js.map +1 -1
  158. package/dist/mtx/commands/downlink/GetOpParams.js +1 -1
  159. package/dist/mtx/commands/downlink/GetOpParams.js.map +1 -1
  160. package/dist/mtx/commands/downlink/GetRatePlanInfo.js +1 -1
  161. package/dist/mtx/commands/downlink/GetRatePlanInfo.js.map +1 -1
  162. package/dist/mtx/commands/downlink/GetSeasonProfile.d.ts +19 -0
  163. package/dist/mtx/commands/downlink/GetSeasonProfile.js +48 -0
  164. package/dist/mtx/commands/downlink/GetSeasonProfile.js.map +1 -0
  165. package/dist/mtx/commands/downlink/GetSpecialDay.d.ts +19 -0
  166. package/dist/mtx/commands/downlink/GetSpecialDay.js +48 -0
  167. package/dist/mtx/commands/downlink/GetSpecialDay.js.map +1 -0
  168. package/dist/mtx/commands/downlink/PrepareRatePlan.js +1 -1
  169. package/dist/mtx/commands/downlink/PrepareRatePlan.js.map +1 -1
  170. package/dist/mtx/commands/downlink/RunTariffPlan.js +1 -1
  171. package/dist/mtx/commands/downlink/RunTariffPlan.js.map +1 -1
  172. package/dist/mtx/commands/downlink/SetAccessKey.d.ts +18 -0
  173. package/dist/mtx/commands/downlink/SetAccessKey.js +51 -0
  174. package/dist/mtx/commands/downlink/SetAccessKey.js.map +1 -0
  175. package/dist/mtx/commands/downlink/SetCorrectDateTime.d.ts +17 -0
  176. package/dist/mtx/commands/downlink/SetCorrectDateTime.js +51 -0
  177. package/dist/mtx/commands/downlink/SetCorrectDateTime.js.map +1 -0
  178. package/dist/mtx/commands/downlink/SetDateTime.d.ts +15 -0
  179. package/dist/mtx/commands/downlink/SetDateTime.js +48 -0
  180. package/dist/mtx/commands/downlink/SetDateTime.js.map +1 -0
  181. package/dist/mtx/commands/downlink/SetDayProfile.js +1 -1
  182. package/dist/mtx/commands/downlink/SetDayProfile.js.map +1 -1
  183. package/dist/mtx/commands/downlink/SetDisplayParam.js +1 -1
  184. package/dist/mtx/commands/downlink/SetDisplayParam.js.map +1 -1
  185. package/dist/mtx/commands/downlink/SetOpParams.js +1 -1
  186. package/dist/mtx/commands/downlink/SetOpParams.js.map +1 -1
  187. package/dist/mtx/commands/downlink/SetSeasonProfile.js +1 -1
  188. package/dist/mtx/commands/downlink/SetSeasonProfile.js.map +1 -1
  189. package/dist/mtx/commands/downlink/SetSpecialDay.js +2 -2
  190. package/dist/mtx/commands/downlink/SetSpecialDay.js.map +1 -1
  191. package/dist/mtx/commands/downlink/TurnRelayOff.js +1 -1
  192. package/dist/mtx/commands/downlink/TurnRelayOff.js.map +1 -1
  193. package/dist/mtx/commands/downlink/TurnRelayOn.js +1 -1
  194. package/dist/mtx/commands/downlink/TurnRelayOn.js.map +1 -1
  195. package/dist/mtx/commands/downlink/index.d.ts +7 -0
  196. package/dist/mtx/commands/downlink/index.js +7 -0
  197. package/dist/mtx/commands/downlink/index.js.map +1 -1
  198. package/dist/mtx/commands/uplink/ActivateRatePlanResponse.js +1 -1
  199. package/dist/mtx/commands/uplink/ActivateRatePlanResponse.js.map +1 -1
  200. package/dist/mtx/commands/uplink/ErrorResponse.js +1 -1
  201. package/dist/mtx/commands/uplink/ErrorResponse.js.map +1 -1
  202. package/dist/mtx/commands/uplink/GetDateTimeResponse.js +3 -3
  203. package/dist/mtx/commands/uplink/GetDateTimeResponse.js.map +1 -1
  204. package/dist/mtx/commands/uplink/GetDayProfileResponse.d.ts +18 -0
  205. package/dist/mtx/commands/uplink/GetDayProfileResponse.js +74 -0
  206. package/dist/mtx/commands/uplink/GetDayProfileResponse.js.map +1 -0
  207. package/dist/mtx/commands/uplink/GetDeviceIdResponse.js +1 -1
  208. package/dist/mtx/commands/uplink/GetDeviceIdResponse.js.map +1 -1
  209. package/dist/mtx/commands/uplink/GetDeviceTypeResponse.d.ts +15 -0
  210. package/dist/mtx/commands/uplink/GetDeviceTypeResponse.js +54 -0
  211. package/dist/mtx/commands/uplink/GetDeviceTypeResponse.js.map +1 -0
  212. package/dist/mtx/commands/uplink/GetDisplayParamResponse.js +1 -1
  213. package/dist/mtx/commands/uplink/GetDisplayParamResponse.js.map +1 -1
  214. package/dist/mtx/commands/uplink/GetOpParamsResponse.js +1 -1
  215. package/dist/mtx/commands/uplink/GetOpParamsResponse.js.map +1 -1
  216. package/dist/mtx/commands/uplink/GetRatePlanInfoResponse.js +1 -1
  217. package/dist/mtx/commands/uplink/GetRatePlanInfoResponse.js.map +1 -1
  218. package/dist/mtx/commands/uplink/GetSeasonProfileResponse.d.ts +15 -0
  219. package/dist/mtx/commands/uplink/GetSeasonProfileResponse.js +44 -0
  220. package/dist/mtx/commands/uplink/GetSeasonProfileResponse.js.map +1 -0
  221. package/dist/mtx/commands/uplink/GetSpecialDayResponse.d.ts +15 -0
  222. package/dist/mtx/commands/uplink/GetSpecialDayResponse.js +45 -0
  223. package/dist/mtx/commands/uplink/GetSpecialDayResponse.js.map +1 -0
  224. package/dist/mtx/commands/uplink/PrepareRatePlanResponse.js +1 -1
  225. package/dist/mtx/commands/uplink/PrepareRatePlanResponse.js.map +1 -1
  226. package/dist/mtx/commands/uplink/RunTariffPlanResponse.js +1 -1
  227. package/dist/mtx/commands/uplink/RunTariffPlanResponse.js.map +1 -1
  228. package/dist/mtx/commands/uplink/SetAccessKeyResponse.d.ts +13 -0
  229. package/dist/mtx/commands/uplink/SetAccessKeyResponse.js +31 -0
  230. package/dist/mtx/commands/uplink/SetAccessKeyResponse.js.map +1 -0
  231. package/dist/mtx/commands/uplink/SetCorrectDateTimeResponse.d.ts +13 -0
  232. package/dist/mtx/commands/uplink/SetCorrectDateTimeResponse.js +31 -0
  233. package/dist/mtx/commands/uplink/SetCorrectDateTimeResponse.js.map +1 -0
  234. package/dist/mtx/commands/uplink/SetDateTimeResponse.d.ts +13 -0
  235. package/dist/mtx/commands/uplink/SetDateTimeResponse.js +31 -0
  236. package/dist/mtx/commands/uplink/SetDateTimeResponse.js.map +1 -0
  237. package/dist/mtx/commands/uplink/SetDayProfileResponse.js +1 -1
  238. package/dist/mtx/commands/uplink/SetDayProfileResponse.js.map +1 -1
  239. package/dist/mtx/commands/uplink/SetDisplayParamResponse.js +1 -1
  240. package/dist/mtx/commands/uplink/SetDisplayParamResponse.js.map +1 -1
  241. package/dist/mtx/commands/uplink/SetOpParamsResponse.js +1 -1
  242. package/dist/mtx/commands/uplink/SetOpParamsResponse.js.map +1 -1
  243. package/dist/mtx/commands/uplink/SetSeasonProfileResponse.js +1 -1
  244. package/dist/mtx/commands/uplink/SetSeasonProfileResponse.js.map +1 -1
  245. package/dist/mtx/commands/uplink/SetSpecialDayResponse.js +1 -1
  246. package/dist/mtx/commands/uplink/SetSpecialDayResponse.js.map +1 -1
  247. package/dist/mtx/commands/uplink/TurnRelayOffResponse.js +1 -1
  248. package/dist/mtx/commands/uplink/TurnRelayOffResponse.js.map +1 -1
  249. package/dist/mtx/commands/uplink/TurnRelayOnResponse.js +1 -1
  250. package/dist/mtx/commands/uplink/TurnRelayOnResponse.js.map +1 -1
  251. package/dist/mtx/commands/uplink/index.d.ts +7 -0
  252. package/dist/mtx/commands/uplink/index.js +7 -0
  253. package/dist/mtx/commands/uplink/index.js.map +1 -1
  254. package/dist/mtx/constants/commandRelations.d.ts +4 -2
  255. package/dist/mtx/constants/commandRelations.js +9 -4
  256. package/dist/mtx/constants/commandRelations.js.map +1 -1
  257. package/dist/mtx/constants/index.d.ts +1 -2
  258. package/dist/mtx/constants/index.js +1 -2
  259. package/dist/mtx/constants/index.js.map +1 -1
  260. package/dist/mtx/constants/meterTypes.d.ts +3 -0
  261. package/dist/mtx/constants/meterTypes.js +4 -0
  262. package/dist/mtx/constants/meterTypes.js.map +1 -0
  263. package/dist/mtx/constants/resultCodes.js +5 -5
  264. package/dist/mtx/constants/resultCodes.js.map +1 -1
  265. package/dist/mtx/message.d.ts +0 -8
  266. package/dist/mtx/message.js +8 -10
  267. package/dist/mtx/message.js.map +1 -1
  268. package/dist/mtx/utils/crypto.d.ts +0 -2
  269. package/dist/mtx/utils/crypto.js +2 -17
  270. package/dist/mtx/utils/crypto.js.map +1 -1
  271. package/dist/mtx/utils/deviceType.d.ts +7 -0
  272. package/dist/mtx/utils/deviceType.js +226 -0
  273. package/dist/mtx/utils/deviceType.js.map +1 -0
  274. package/dist/obis-observer/Command.js.map +1 -1
  275. package/dist/obis-observer/CommandBinaryBuffer.js.map +1 -1
  276. package/dist/obis-observer/commands/downlink/GetArchiveState.js +1 -1
  277. package/dist/obis-observer/commands/downlink/GetArchiveState.js.map +1 -1
  278. package/dist/obis-observer/commands/downlink/GetLorawanInfo.js +1 -1
  279. package/dist/obis-observer/commands/downlink/GetLorawanInfo.js.map +1 -1
  280. package/dist/obis-observer/commands/downlink/GetLorawanState.js +1 -1
  281. package/dist/obis-observer/commands/downlink/GetLorawanState.js.map +1 -1
  282. package/dist/obis-observer/commands/downlink/GetMeterDate.js +1 -1
  283. package/dist/obis-observer/commands/downlink/GetMeterDate.js.map +1 -1
  284. package/dist/obis-observer/commands/downlink/GetMeterId.js +1 -1
  285. package/dist/obis-observer/commands/downlink/GetMeterId.js.map +1 -1
  286. package/dist/obis-observer/commands/downlink/GetMeterIdList.js +1 -1
  287. package/dist/obis-observer/commands/downlink/GetMeterIdList.js.map +1 -1
  288. package/dist/obis-observer/commands/downlink/GetMeterInfo.js +1 -1
  289. package/dist/obis-observer/commands/downlink/GetMeterInfo.js.map +1 -1
  290. package/dist/obis-observer/commands/downlink/GetMeterProfile.js +1 -1
  291. package/dist/obis-observer/commands/downlink/GetMeterProfile.js.map +1 -1
  292. package/dist/obis-observer/commands/downlink/GetMeterProfileIdList.js +1 -1
  293. package/dist/obis-observer/commands/downlink/GetMeterProfileIdList.js.map +1 -1
  294. package/dist/obis-observer/commands/downlink/GetMeterReadoutState.js +1 -1
  295. package/dist/obis-observer/commands/downlink/GetMeterReadoutState.js.map +1 -1
  296. package/dist/obis-observer/commands/downlink/GetObisContent.js +1 -1
  297. package/dist/obis-observer/commands/downlink/GetObisContent.js.map +1 -1
  298. package/dist/obis-observer/commands/downlink/GetObisContentById.js +1 -1
  299. package/dist/obis-observer/commands/downlink/GetObisContentById.js.map +1 -1
  300. package/dist/obis-observer/commands/downlink/GetObisIdList.js +1 -1
  301. package/dist/obis-observer/commands/downlink/GetObisIdList.js.map +1 -1
  302. package/dist/obis-observer/commands/downlink/GetObisInfo.js +1 -1
  303. package/dist/obis-observer/commands/downlink/GetObisInfo.js.map +1 -1
  304. package/dist/obis-observer/commands/downlink/GetObserverCapabilities.js +1 -1
  305. package/dist/obis-observer/commands/downlink/GetObserverCapabilities.js.map +1 -1
  306. package/dist/obis-observer/commands/downlink/GetObserverInfo.js +1 -1
  307. package/dist/obis-observer/commands/downlink/GetObserverInfo.js.map +1 -1
  308. package/dist/obis-observer/commands/downlink/GetObserverSingleMode.js +1 -1
  309. package/dist/obis-observer/commands/downlink/GetObserverSingleMode.js.map +1 -1
  310. package/dist/obis-observer/commands/downlink/GetObserverUptime.js +1 -1
  311. package/dist/obis-observer/commands/downlink/GetObserverUptime.js.map +1 -1
  312. package/dist/obis-observer/commands/downlink/ReadArchive.js +1 -1
  313. package/dist/obis-observer/commands/downlink/ReadArchive.js.map +1 -1
  314. package/dist/obis-observer/commands/downlink/ReadMeterArchive.js +1 -1
  315. package/dist/obis-observer/commands/downlink/ReadMeterArchive.js.map +1 -1
  316. package/dist/obis-observer/commands/downlink/ReadMeterArchiveWithDate.js +1 -1
  317. package/dist/obis-observer/commands/downlink/ReadMeterArchiveWithDate.js.map +1 -1
  318. package/dist/obis-observer/commands/downlink/Reboot.js +1 -1
  319. package/dist/obis-observer/commands/downlink/Reboot.js.map +1 -1
  320. package/dist/obis-observer/commands/downlink/RemoveMeter.js +1 -1
  321. package/dist/obis-observer/commands/downlink/RemoveMeter.js.map +1 -1
  322. package/dist/obis-observer/commands/downlink/RemoveMeterProfile.js +1 -1
  323. package/dist/obis-observer/commands/downlink/RemoveMeterProfile.js.map +1 -1
  324. package/dist/obis-observer/commands/downlink/RemoveObis.js +1 -1
  325. package/dist/obis-observer/commands/downlink/RemoveObis.js.map +1 -1
  326. package/dist/obis-observer/commands/downlink/SetLorawanActivationMethod.js +1 -1
  327. package/dist/obis-observer/commands/downlink/SetLorawanActivationMethod.js.map +1 -1
  328. package/dist/obis-observer/commands/downlink/SetObserverSingleMode.js +1 -1
  329. package/dist/obis-observer/commands/downlink/SetObserverSingleMode.js.map +1 -1
  330. package/dist/obis-observer/commands/downlink/SetSerialPort.js +1 -1
  331. package/dist/obis-observer/commands/downlink/SetSerialPort.js.map +1 -1
  332. package/dist/obis-observer/commands/downlink/SetupMeter.js +1 -1
  333. package/dist/obis-observer/commands/downlink/SetupMeter.js.map +1 -1
  334. package/dist/obis-observer/commands/downlink/SetupMeterProfile.js +1 -1
  335. package/dist/obis-observer/commands/downlink/SetupMeterProfile.js.map +1 -1
  336. package/dist/obis-observer/commands/downlink/SetupObis.js +1 -1
  337. package/dist/obis-observer/commands/downlink/SetupObis.js.map +1 -1
  338. package/dist/obis-observer/commands/downlink/UpdateImageVerify.js +1 -1
  339. package/dist/obis-observer/commands/downlink/UpdateImageVerify.js.map +1 -1
  340. package/dist/obis-observer/commands/downlink/UpdateImageWrite.js +1 -1
  341. package/dist/obis-observer/commands/downlink/UpdateImageWrite.js.map +1 -1
  342. package/dist/obis-observer/commands/downlink/UpdateRun.js +1 -1
  343. package/dist/obis-observer/commands/downlink/UpdateRun.js.map +1 -1
  344. package/dist/obis-observer/commands/uplink/ErrorResponse.js +1 -1
  345. package/dist/obis-observer/commands/uplink/ErrorResponse.js.map +1 -1
  346. package/dist/obis-observer/commands/uplink/GetArchiveStateResponse.js +1 -1
  347. package/dist/obis-observer/commands/uplink/GetArchiveStateResponse.js.map +1 -1
  348. package/dist/obis-observer/commands/uplink/GetLorawanInfoResponse.js +1 -1
  349. package/dist/obis-observer/commands/uplink/GetLorawanInfoResponse.js.map +1 -1
  350. package/dist/obis-observer/commands/uplink/GetLorawanStateResponse.js +1 -1
  351. package/dist/obis-observer/commands/uplink/GetLorawanStateResponse.js.map +1 -1
  352. package/dist/obis-observer/commands/uplink/GetMeterDateResponse.js +1 -1
  353. package/dist/obis-observer/commands/uplink/GetMeterDateResponse.js.map +1 -1
  354. package/dist/obis-observer/commands/uplink/GetMeterIdListResponse.js +1 -1
  355. package/dist/obis-observer/commands/uplink/GetMeterIdListResponse.js.map +1 -1
  356. package/dist/obis-observer/commands/uplink/GetMeterIdResponse.js +1 -1
  357. package/dist/obis-observer/commands/uplink/GetMeterIdResponse.js.map +1 -1
  358. package/dist/obis-observer/commands/uplink/GetMeterInfoResponse.js +1 -1
  359. package/dist/obis-observer/commands/uplink/GetMeterInfoResponse.js.map +1 -1
  360. package/dist/obis-observer/commands/uplink/GetMeterProfileIdListResponse.js +1 -1
  361. package/dist/obis-observer/commands/uplink/GetMeterProfileIdListResponse.js.map +1 -1
  362. package/dist/obis-observer/commands/uplink/GetMeterProfileResponse.js +1 -1
  363. package/dist/obis-observer/commands/uplink/GetMeterProfileResponse.js.map +1 -1
  364. package/dist/obis-observer/commands/uplink/GetMeterReadoutStateResponse.js +1 -1
  365. package/dist/obis-observer/commands/uplink/GetMeterReadoutStateResponse.js.map +1 -1
  366. package/dist/obis-observer/commands/uplink/GetObisContentByIdResponse.js +1 -1
  367. package/dist/obis-observer/commands/uplink/GetObisContentByIdResponse.js.map +1 -1
  368. package/dist/obis-observer/commands/uplink/GetObisContentByIdStringResponse.js +1 -1
  369. package/dist/obis-observer/commands/uplink/GetObisContentByIdStringResponse.js.map +1 -1
  370. package/dist/obis-observer/commands/uplink/GetObisContentResponse.js +1 -1
  371. package/dist/obis-observer/commands/uplink/GetObisContentResponse.js.map +1 -1
  372. package/dist/obis-observer/commands/uplink/GetObisIdListResponse.js +1 -1
  373. package/dist/obis-observer/commands/uplink/GetObisIdListResponse.js.map +1 -1
  374. package/dist/obis-observer/commands/uplink/GetObisInfoResponse.js +1 -1
  375. package/dist/obis-observer/commands/uplink/GetObisInfoResponse.js.map +1 -1
  376. package/dist/obis-observer/commands/uplink/GetObserverCapabilitiesResponse.js +1 -1
  377. package/dist/obis-observer/commands/uplink/GetObserverCapabilitiesResponse.js.map +1 -1
  378. package/dist/obis-observer/commands/uplink/GetObserverInfoResponse.js +1 -1
  379. package/dist/obis-observer/commands/uplink/GetObserverInfoResponse.js.map +1 -1
  380. package/dist/obis-observer/commands/uplink/GetObserverSingleModeResponse.js +1 -1
  381. package/dist/obis-observer/commands/uplink/GetObserverSingleModeResponse.js.map +1 -1
  382. package/dist/obis-observer/commands/uplink/GetObserverUptimeResponse.js +1 -1
  383. package/dist/obis-observer/commands/uplink/GetObserverUptimeResponse.js.map +1 -1
  384. package/dist/obis-observer/commands/uplink/ObservationReport.js +1 -1
  385. package/dist/obis-observer/commands/uplink/ObservationReport.js.map +1 -1
  386. package/dist/obis-observer/commands/uplink/ObservationReportString.js +1 -1
  387. package/dist/obis-observer/commands/uplink/ObservationReportString.js.map +1 -1
  388. package/dist/obis-observer/commands/uplink/ReadArchiveResponse.js +1 -1
  389. package/dist/obis-observer/commands/uplink/ReadArchiveResponse.js.map +1 -1
  390. package/dist/obis-observer/commands/uplink/ReadMeterArchiveResponse.js +1 -1
  391. package/dist/obis-observer/commands/uplink/ReadMeterArchiveResponse.js.map +1 -1
  392. package/dist/obis-observer/commands/uplink/ReadMeterArchiveWithDateResponse.js +1 -1
  393. package/dist/obis-observer/commands/uplink/ReadMeterArchiveWithDateResponse.js.map +1 -1
  394. package/dist/obis-observer/commands/uplink/RebootResponse.js +1 -1
  395. package/dist/obis-observer/commands/uplink/RebootResponse.js.map +1 -1
  396. package/dist/obis-observer/commands/uplink/RemoveMeterProfileResponse.js +1 -1
  397. package/dist/obis-observer/commands/uplink/RemoveMeterProfileResponse.js.map +1 -1
  398. package/dist/obis-observer/commands/uplink/RemoveMeterResponse.js +1 -1
  399. package/dist/obis-observer/commands/uplink/RemoveMeterResponse.js.map +1 -1
  400. package/dist/obis-observer/commands/uplink/RemoveObisResponse.js +1 -1
  401. package/dist/obis-observer/commands/uplink/RemoveObisResponse.js.map +1 -1
  402. package/dist/obis-observer/commands/uplink/SetLorawanActivationMethodResponse.js +1 -1
  403. package/dist/obis-observer/commands/uplink/SetLorawanActivationMethodResponse.js.map +1 -1
  404. package/dist/obis-observer/commands/uplink/SetObserverSingleModeResponse.js +1 -1
  405. package/dist/obis-observer/commands/uplink/SetObserverSingleModeResponse.js.map +1 -1
  406. package/dist/obis-observer/commands/uplink/SetSerialPortResponse.js +1 -1
  407. package/dist/obis-observer/commands/uplink/SetSerialPortResponse.js.map +1 -1
  408. package/dist/obis-observer/commands/uplink/SetupMeterProfileResponse.js +1 -1
  409. package/dist/obis-observer/commands/uplink/SetupMeterProfileResponse.js.map +1 -1
  410. package/dist/obis-observer/commands/uplink/SetupMeterResponse.js +1 -1
  411. package/dist/obis-observer/commands/uplink/SetupMeterResponse.js.map +1 -1
  412. package/dist/obis-observer/commands/uplink/SetupObisResponse.js +1 -1
  413. package/dist/obis-observer/commands/uplink/SetupObisResponse.js.map +1 -1
  414. package/dist/obis-observer/commands/uplink/UpdateImageVerifyResponse.js +1 -1
  415. package/dist/obis-observer/commands/uplink/UpdateImageVerifyResponse.js.map +1 -1
  416. package/dist/obis-observer/commands/uplink/UpdateImageWriteResponse.js +1 -1
  417. package/dist/obis-observer/commands/uplink/UpdateImageWriteResponse.js.map +1 -1
  418. package/dist/obis-observer/commands/uplink/UpdateRunResponse.js +1 -1
  419. package/dist/obis-observer/commands/uplink/UpdateRunResponse.js.map +1 -1
  420. package/dist/obis-observer/constants/commandRelations.d.ts +4 -2
  421. package/dist/obis-observer/constants/commandRelations.js +2 -4
  422. package/dist/obis-observer/constants/commandRelations.js.map +1 -1
  423. package/dist/obis-observer/constants/index.d.ts +0 -1
  424. package/dist/obis-observer/constants/index.js +0 -1
  425. package/dist/obis-observer/constants/index.js.map +1 -1
  426. package/dist/obis-observer/message.d.ts +0 -8
  427. package/dist/obis-observer/message.js +2 -5
  428. package/dist/obis-observer/message.js.map +1 -1
  429. package/dist/obis-observer/utils/obis.js.map +1 -1
  430. package/dist/utils/BinaryBuffer.d.ts +3 -0
  431. package/dist/utils/BinaryBuffer.js +15 -1
  432. package/dist/utils/BinaryBuffer.js.map +1 -1
  433. package/dist/utils/bitSet.js.map +1 -1
  434. package/dist/utils/calculateCrc16.d.ts +6 -0
  435. package/dist/utils/calculateCrc16.js +22 -0
  436. package/dist/utils/calculateCrc16.js.map +1 -0
  437. package/dist/utils/calculateCrc32.d.ts +5 -0
  438. package/dist/utils/calculateCrc32.js +28 -0
  439. package/dist/utils/calculateCrc32.js.map +1 -0
  440. package/dist/utils/calculateLrc.d.ts +2 -0
  441. package/dist/utils/calculateLrc.js +8 -0
  442. package/dist/utils/calculateLrc.js.map +1 -0
  443. package/dist/utils/frame.d.ts +14 -0
  444. package/dist/utils/frame.js +85 -0
  445. package/dist/utils/frame.js.map +1 -0
  446. package/dist/utils/frameCollector.d.ts +12 -0
  447. package/dist/utils/frameCollector.js +43 -0
  448. package/dist/utils/frameCollector.js.map +1 -0
  449. package/dist/utils/getBytesFromHex.js.map +1 -1
  450. package/dist/utils/getHexFromNumber.js.map +1 -1
  451. package/dist/utils/index.d.ts +1 -0
  452. package/dist/utils/index.js +1 -0
  453. package/dist/utils/index.js.map +1 -1
  454. package/dist/utils/mergeUint8Arrays.js.map +1 -1
  455. package/package.json +1 -1
  456. package/dist/analog/constants/directions.js.map +0 -1
  457. package/dist/mtx/constants/directions.d.ts +0 -3
  458. package/dist/mtx/constants/directions.js +0 -4
  459. package/dist/mtx/constants/directions.js.map +0 -1
  460. package/dist/mtx/constants/frameAttributes.js.map +0 -1
  461. package/dist/obis-observer/constants/directions.d.ts +0 -2
  462. package/dist/obis-observer/constants/directions.js +0 -3
  463. package/dist/obis-observer/constants/directions.js.map +0 -1
  464. /package/dist/{analog/constants → constants}/directions.d.ts +0 -0
  465. /package/dist/{analog/constants → constants}/directions.js +0 -0
  466. /package/dist/{mtx/constants → constants}/frameAttributes.d.ts +0 -0
  467. /package/dist/{mtx/constants → constants}/frameAttributes.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"GetRatePlanInfoResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/GetRatePlanInfoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAsB,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AACnF,OAAO,mBAAmB,EAAE,EAAc,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAChG,OAAO,EAAC,SAAS,EAAC,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AAUrD,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,gBAAgB,CAAC;AAE9C,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,yBAAyB;QAC/B,UAAU,EAAE;YACR,WAAW,EAAE,CAAC;YACd,UAAU,EAAE;gBACR,EAAE,EAAE,CAAC;gBACL,SAAS,EAAE,CAAC;gBACZ,YAAY,EAAE,CAAC;gBACf,aAAa,EAAE,CAAC;gBAChB,WAAW,EAAE,CAAC;gBACd,wBAAwB,EAAE,CAAC;gBAC3B,uBAAuB,EAAE,CAAC;gBAC1B,oBAAoB,EAAE,CAAC;aAC1B;YACD,WAAW,EAAE;gBACT,EAAE,EAAE,EAAE;gBACN,SAAS,EAAE,EAAE;gBACb,YAAY,EAAE,E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C"}
@@ -0,0 +1,15 @@
1
+ import Command, { TCommandExampleList } from '../../Command.js';
2
+ import { ISeasonProfile } from '../../CommandBinaryBuffer.js';
3
+ declare class GetSeasonProfileResponse extends Command {
4
+ parameters: ISeasonProfile;
5
+ constructor(parameters: ISeasonProfile);
6
+ static id: number;
7
+ static readonly directionType = 2;
8
+ static readonly examples: TCommandExampleList;
9
+ static readonly hasParameters = false;
10
+ static readonly accessLevel = 3;
11
+ static readonly maxSize = 9;
12
+ static fromBytes(data: Uint8Array): GetSeasonProfileResponse;
13
+ toBytes(): Uint8Array;
14
+ }
15
+ export default GetSeasonProfileResponse;
@@ -0,0 +1,44 @@
1
+ import Command, { COMMAND_HEADER_SIZE } from '../../Command.js';
2
+ import CommandBinaryBuffer from '../../CommandBinaryBuffer.js';
3
+ import { UPLINK } from '../../../constants/directions.js';
4
+ import { READ_ONLY } from '../../constants/accessLevels.js';
5
+ const COMMAND_ID = 0x3c;
6
+ const COMMAND_SIZE = 9;
7
+ const examples = [
8
+ {
9
+ name: 'simple response',
10
+ parameters: {
11
+ month: 1,
12
+ date: 2,
13
+ dayIndexes: [0, 1, 0, 1, 0, 1, 0]
14
+ },
15
+ hex: { header: '3c 09', body: '01 02 00 01 00 01 00 01 00' }
16
+ }
17
+ ];
18
+ class GetSeasonProfileResponse extends Command {
19
+ constructor(parameters) {
20
+ super();
21
+ this.parameters = parameters;
22
+ this.size = COMMAND_SIZE;
23
+ }
24
+ static fromBytes(data) {
25
+ const buffer = new CommandBinaryBuffer(data);
26
+ return new GetSeasonProfileResponse(buffer.getSeasonProfile());
27
+ }
28
+ toBytes() {
29
+ const { size, parameters } = this;
30
+ const buffer = new CommandBinaryBuffer(COMMAND_HEADER_SIZE + size);
31
+ buffer.setUint8(COMMAND_ID);
32
+ buffer.setUint8(size);
33
+ buffer.setSeasonProfile(parameters);
34
+ return buffer.toUint8Array();
35
+ }
36
+ }
37
+ GetSeasonProfileResponse.id = COMMAND_ID;
38
+ GetSeasonProfileResponse.directionType = UPLINK;
39
+ GetSeasonProfileResponse.examples = examples;
40
+ GetSeasonProfileResponse.hasParameters = false;
41
+ GetSeasonProfileResponse.accessLevel = READ_ONLY;
42
+ GetSeasonProfileResponse.maxSize = COMMAND_SIZE;
43
+ export default GetSeasonProfileResponse;
44
+ //# sourceMappingURL=GetSeasonProfileResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetSeasonProfileResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/GetSeasonProfileResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAsB,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AACnF,OAAO,mBAAqC,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,SAAS,EAAC,MAAM,iCAAiC,CAAC;AAG1D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE;YACR,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,CAAC;YACP,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;SACpC;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,4BAA4B,EAAC;KAC7D;CACJ,CAAC;AAwBF,MAAM,wBAAyB,SAAQ,OAAO;IAC1C,YAAqB,UAA0B;QAC3C,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAgB;QAG3C,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS,CAAG,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,wBAAwB,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACnE,CAAC;IAGD,OAAO;QACH,MAAM,EAAC,IAAI,EAAE,UAAU,EAAC,GAAG,IAAI,CAAC;QAChC,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;QAGnE,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QAC5B,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAGtB,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;QAEpC,OAAO,MAAM,CAAC,YAAY,EAAE,CAAC;IACjC,CAAC;;AAjCM,2BAAE,GAAG,UAAU,CAAC;AAEP,sCAAa,GAAG,MAAM,CAAC;AAEvB,iCAAQ,GAAG,QAAQ,CAAC;AAEpB,sCAAa,GAAG,KAAK,CAAC;AAEtB,oCAAW,GAAG,SAAS,CAAC;AAExB,gCAAO,GAAG,YAAY,CAAC;AA2B3C,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import Command, { TCommandExampleList } from '../../Command.js';
2
+ import { ISpecialDay } from '../../CommandBinaryBuffer.js';
3
+ declare class GetSpecialDayResponse extends Command {
4
+ parameters: ISpecialDay;
5
+ constructor(parameters: ISpecialDay);
6
+ static readonly id = 61;
7
+ static readonly directionType = 2;
8
+ static readonly examples: TCommandExampleList;
9
+ static readonly hasParameters = true;
10
+ static readonly accessLevel = 3;
11
+ static readonly maxSize = 4;
12
+ static fromBytes(data: Uint8Array): GetSpecialDayResponse;
13
+ toBytes(): Uint8Array;
14
+ }
15
+ export default GetSpecialDayResponse;
@@ -0,0 +1,45 @@
1
+ import Command, { COMMAND_HEADER_SIZE } from '../../Command.js';
2
+ import CommandBinaryBuffer from '../../CommandBinaryBuffer.js';
3
+ import { READ_ONLY } from '../../constants/accessLevels.js';
4
+ import { UPLINK } from '../../../constants/directions.js';
5
+ const COMMAND_ID = 0x3d;
6
+ const COMMAND_SIZE = 4;
7
+ const examples = [
8
+ {
9
+ name: 'special day response',
10
+ parameters: {
11
+ month: 1,
12
+ date: 9,
13
+ dayIndex: 3,
14
+ isPeriodic: true
15
+ },
16
+ hex: { header: '3d 04', body: '01 09 03 00' }
17
+ }
18
+ ];
19
+ class GetSpecialDayResponse extends Command {
20
+ constructor(parameters) {
21
+ super();
22
+ this.parameters = parameters;
23
+ this.size = COMMAND_SIZE;
24
+ }
25
+ static fromBytes(data) {
26
+ const buffer = new CommandBinaryBuffer(data);
27
+ return new GetSpecialDayResponse(buffer.getSpecialDay());
28
+ }
29
+ toBytes() {
30
+ const { size, parameters } = this;
31
+ const buffer = new CommandBinaryBuffer(COMMAND_HEADER_SIZE + size);
32
+ buffer.setUint8(COMMAND_ID);
33
+ buffer.setUint8(size);
34
+ buffer.setSpecialDay(parameters);
35
+ return buffer.toUint8Array();
36
+ }
37
+ }
38
+ GetSpecialDayResponse.id = COMMAND_ID;
39
+ GetSpecialDayResponse.directionType = UPLINK;
40
+ GetSpecialDayResponse.examples = examples;
41
+ GetSpecialDayResponse.hasParameters = true;
42
+ GetSpecialDayResponse.accessLevel = READ_ONLY;
43
+ GetSpecialDayResponse.maxSize = COMMAND_SIZE;
44
+ export default GetSpecialDayResponse;
45
+ //# sourceMappingURL=GetSpecialDayResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetSpecialDayResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/GetSpecialDayResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAsB,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AACnF,OAAO,mBAAkC,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAC,SAAS,EAAC,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AAGxD,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC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../Command.js';
2
- import { UPLINK } from '../../constants/directions.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
3
  import { READ_WRITE } from '../../constants/accessLevels.js';
4
4
  const COMMAND_ID = 0x14;
5
5
  const COMMAND_SIZE = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"PrepareRatePlanResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/PrepareRatePlanResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,uBAAwB,SAAQ,OAAO;IACzC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,uBAAuB,EAAE,CAAC;IACzC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,0BAAE,GAAG,UAAU,CAAC;AAEP,qCAAa,GAAG,MAAM,CAAC;AAEvB,gCAAQ,GAAG,QAAQ,CAAC;AAEpB,qCAAa,GAAG,KAAK,CAAC;AAEtB,mCAAW,GAAG,UAAU,CAAC;AAEzB,+BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"PrepareRatePlanResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/PrepareRatePlanResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,uBAAwB,SAAQ,OAAO;IACzC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,uBAAuB,EAAE,CAAC;IACzC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,0BAAE,GAAG,UAAU,CAAC;AAEP,qCAAa,GAAG,MAAM,CAAC;AAEvB,gCAAQ,GAAG,QAAQ,CAAC;AAEpB,qCAAa,GAAG,KAAK,CAAC;AAEtB,mCAAW,GAAG,UAAU,CAAC;AAEzB,+BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,uBAAuB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import Command from '../../Command.js';
2
- import { UPLINK } from '../../constants/directions.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
3
  import { READ_WRITE } from '../../constants/accessLevels.js';
4
4
  const COMMAND_ID = 0x06;
5
5
  const COMMAND_SIZE = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"RunTariffPlanResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/RunTariffPlanResponse.ts"],"names":[],"mappings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GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,qBAAsB,SAAQ,OAAO;IACvC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,qBAAqB,EAAE,CAAC;IACvC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,wBAAE,GAAG,UAAU,CAAC;AAEP,mCAAa,GAAG,MAAM,CAAC;AAEvB,8BAAQ,GAAG,QAAQ,CAAC;AAEpB,mCAAa,GAAG,KAAK,CAAC;AAEtB,iCAAW,GAAG,UAAU,CAAC;AAEzB,6BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import Command, { TCommandExampleList } from '../../Command.js';
2
+ declare class SetAccessKeyResponse extends Command {
3
+ constructor();
4
+ static id: number;
5
+ static readonly directionType = 2;
6
+ static readonly examples: TCommandExampleList;
7
+ static readonly hasParameters = false;
8
+ static readonly accessLevel = 2;
9
+ static readonly maxSize = 0;
10
+ static fromBytes(): SetAccessKeyResponse;
11
+ toBytes(): Uint8Array;
12
+ }
13
+ export default SetAccessKeyResponse;
@@ -0,0 +1,31 @@
1
+ import Command from '../../Command.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
+ import { READ_WRITE } from '../../constants/accessLevels.js';
4
+ const COMMAND_ID = 0x09;
5
+ const COMMAND_SIZE = 0;
6
+ const examples = [
7
+ {
8
+ name: 'simple response',
9
+ hex: { header: '09 00', body: '' }
10
+ }
11
+ ];
12
+ class SetAccessKeyResponse extends Command {
13
+ constructor() {
14
+ super();
15
+ this.size = COMMAND_SIZE;
16
+ }
17
+ static fromBytes() {
18
+ return new SetAccessKeyResponse();
19
+ }
20
+ toBytes() {
21
+ return new Uint8Array([COMMAND_ID, this.size]);
22
+ }
23
+ }
24
+ SetAccessKeyResponse.id = COMMAND_ID;
25
+ SetAccessKeyResponse.directionType = UPLINK;
26
+ SetAccessKeyResponse.examples = examples;
27
+ SetAccessKeyResponse.hasParameters = false;
28
+ SetAccessKeyResponse.accessLevel = READ_WRITE;
29
+ SetAccessKeyResponse.maxSize = COMMAND_SIZE;
30
+ export default SetAccessKeyResponse;
31
+ //# sourceMappingURL=SetAccessKeyResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetAccessKeyResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetAccessKeyResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,oBAAqB,SAAQ,OAAO;IACtC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,uBAAE,GAAG,UAAU,CAAC;AAEP,kCAAa,GAAG,MAAM,CAAC;AAEvB,6BAAQ,GAAG,QAAQ,CAAC;AAEpB,kCAAa,GAAG,KAAK,CAAC;AAEtB,gCAAW,GAAG,UAAU,CAAC;AAEzB,4BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import Command, { TCommandExampleList } from '../../Command.js';
2
+ declare class SetCorrectDateTimeResponse extends Command {
3
+ constructor();
4
+ static id: number;
5
+ static readonly directionType = 2;
6
+ static readonly examples: TCommandExampleList;
7
+ static readonly hasParameters = false;
8
+ static readonly accessLevel = 2;
9
+ static readonly maxSize = 0;
10
+ static fromBytes(): SetCorrectDateTimeResponse;
11
+ toBytes(): Uint8Array;
12
+ }
13
+ export default SetCorrectDateTimeResponse;
@@ -0,0 +1,31 @@
1
+ import Command from '../../Command.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
+ import { READ_WRITE } from '../../constants/accessLevels.js';
4
+ const COMMAND_ID = 0x5c;
5
+ const COMMAND_SIZE = 0;
6
+ const examples = [
7
+ {
8
+ name: 'simple response',
9
+ hex: { header: '5c 00', body: '' }
10
+ }
11
+ ];
12
+ class SetCorrectDateTimeResponse extends Command {
13
+ constructor() {
14
+ super();
15
+ this.size = COMMAND_SIZE;
16
+ }
17
+ static fromBytes() {
18
+ return new SetCorrectDateTimeResponse();
19
+ }
20
+ toBytes() {
21
+ return new Uint8Array([COMMAND_ID, this.size]);
22
+ }
23
+ }
24
+ SetCorrectDateTimeResponse.id = COMMAND_ID;
25
+ SetCorrectDateTimeResponse.directionType = UPLINK;
26
+ SetCorrectDateTimeResponse.examples = examples;
27
+ SetCorrectDateTimeResponse.hasParameters = false;
28
+ SetCorrectDateTimeResponse.accessLevel = READ_WRITE;
29
+ SetCorrectDateTimeResponse.maxSize = COMMAND_SIZE;
30
+ export default SetCorrectDateTimeResponse;
31
+ //# sourceMappingURL=SetCorrectDateTimeResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetCorrectDateTimeResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetCorrectDateTimeResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,0BAA2B,SAAQ,OAAO;IAC5C;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,0BAA0B,EAAE,CAAC;IAC5C,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,6BAAE,GAAG,UAAU,CAAC;AAEP,wCAAa,GAAG,MAAM,CAAC;AAEvB,mCAAQ,GAAG,QAAQ,CAAC;AAEpB,wCAAa,GAAG,KAAK,CAAC;AAEtB,sCAAW,GAAG,UAAU,CAAC;AAEzB,kCAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,0BAA0B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import Command, { TCommandExampleList } from '../../Command.js';
2
+ declare class SetDateTimeResponse extends Command {
3
+ constructor();
4
+ static id: number;
5
+ static readonly directionType = 2;
6
+ static readonly examples: TCommandExampleList;
7
+ static readonly hasParameters = false;
8
+ static readonly accessLevel = 2;
9
+ static readonly maxSize = 0;
10
+ static fromBytes(): SetDateTimeResponse;
11
+ toBytes(): Uint8Array;
12
+ }
13
+ export default SetDateTimeResponse;
@@ -0,0 +1,31 @@
1
+ import Command from '../../Command.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
+ import { READ_WRITE } from '../../constants/accessLevels.js';
4
+ const COMMAND_ID = 0x08;
5
+ const COMMAND_SIZE = 0;
6
+ const examples = [
7
+ {
8
+ name: 'simple response',
9
+ hex: { header: '08 00', body: '' }
10
+ }
11
+ ];
12
+ class SetDateTimeResponse extends Command {
13
+ constructor() {
14
+ super();
15
+ this.size = COMMAND_SIZE;
16
+ }
17
+ static fromBytes() {
18
+ return new SetDateTimeResponse();
19
+ }
20
+ toBytes() {
21
+ return new Uint8Array([COMMAND_ID, this.size]);
22
+ }
23
+ }
24
+ SetDateTimeResponse.id = COMMAND_ID;
25
+ SetDateTimeResponse.directionType = UPLINK;
26
+ SetDateTimeResponse.examples = examples;
27
+ SetDateTimeResponse.hasParameters = false;
28
+ SetDateTimeResponse.accessLevel = READ_WRITE;
29
+ SetDateTimeResponse.maxSize = COMMAND_SIZE;
30
+ export default SetDateTimeResponse;
31
+ //# sourceMappingURL=SetDateTimeResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetDateTimeResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetDateTimeResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,mBAAoB,SAAQ,OAAO;IACrC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,mBAAmB,EAAE,CAAC;IACrC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,sBAAE,GAAG,UAAU,CAAC;AAEP,iCAAa,GAAG,MAAM,CAAC;AAEvB,4BAAQ,GAAG,QAAQ,CAAC;AAEpB,iCAAa,GAAG,KAAK,CAAC;AAEtB,+BAAW,GAAG,UAAU,CAAC;AAEzB,2BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,mBAAmB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import Command from '../../Command.js';
2
- import { UPLINK } from '../../constants/directions.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
3
  import { READ_WRITE } from '../../constants/accessLevels.js';
4
4
  const COMMAND_ID = 0x10;
5
5
  const COMMAND_SIZE = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"SetDayProfileResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetDayProfileResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,qBAAsB,SAAQ,OAAO;IACvC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAA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U,CAAC;AAEP,mCAAa,GAAG,MAAM,CAAC;AAEvB,8BAAQ,GAAG,QAAQ,CAAC;AAEpB,mCAAa,GAAG,KAAK,CAAC;AAEtB,iCAAW,GAAG,UAAU,CAAC;AAEzB,6BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,qBAAqB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import Command from '../../Command.js';
2
- import { UPLINK } from '../../constants/directions.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
3
  import { READ_WRITE } from '../../constants/accessLevels.js';
4
4
  const COMMAND_ID = 0x5d;
5
5
  const COMMAND_SIZE = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"SetDisplayParamResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetDisplayParamResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,uBAAwB,SAAQ,OAAO;IACzC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,uBAAuB,EAAE,CAAC;IACzC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,0BAAE,GAAG,UAAU,CAAC;AAEP,qCAAa,GAAG,MAAM,CAAC;AAEvB,gCAAQ,GAAG,QAAQ,CAAC;AAEpB,qCAAa,GAAG,KAAK,CAAC;AAEtB,mCAAW,GAAG,UAAU,CAAC;AAEzB,+BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"SetDisplayParamResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetDisplayParamResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,uBAAwB,SAAQ,OAAO;IACzC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,uBAAuB,EAAE,CAAC;IACzC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,0BAAE,GAAG,UAAU,CAAC;AAEP,qCAAa,GAAG,MAAM,CAAC;AAEvB,gCAAQ,GAAG,QAAQ,CAAC;AAEpB,qCAAa,GAAG,KAAK,CAAC;AAEtB,mCAAW,GAAG,UAAU,CAAC;AAEzB,+BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,uBAAuB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import Command from '../../Command.js';
2
- import { UPLINK } from '../../constants/directions.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
3
  import { READ_WRITE } from '../../constants/accessLevels.js';
4
4
  const COMMAND_ID = 0x1f;
5
5
  const COMMAND_SIZE = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"SetOpParamsResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetOpParamsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,mBAAoB,SAAQ,OAAO;IACrC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,mBAAmB,EAAE,CAAC;IACrC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,sBAAE,GAAG,UAAU,CAAC;AAEP,iCAAa,GAAG,MAAM,CAAC;AAEvB,4BAAQ,GAAG,QAAQ,CAAC;AAEpB,iCAAa,GAAG,KAAK,CAAC;AAEtB,+BAAW,GAAG,UAAU,CAAC;AAEzB,2BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"SetOpParamsResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetOpParamsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,mBAAoB,SAAQ,OAAO;IACrC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,mBAAmB,EAAE,CAAC;IACrC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,sBAAE,GAAG,UAAU,CAAC;AAEP,iCAAa,GAAG,MAAM,CAAC;AAEvB,4BAAQ,GAAG,QAAQ,CAAC;AAEpB,iCAAa,GAAG,KAAK,CAAC;AAEtB,+BAAW,GAAG,UAAU,CAAC;AAEzB,2BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,mBAAmB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import Command from '../../Command.js';
2
- import { UPLINK } from '../../constants/directions.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
3
  import { READ_WRITE } from '../../constants/accessLevels.js';
4
4
  const COMMAND_ID = 0x11;
5
5
  const COMMAND_SIZE = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"SetSeasonProfileResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetSeasonProfileResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AA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ACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,wBAAyB,SAAQ,OAAO;IAC1C;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,wBAAwB,EAAE,CAAC;IAC1C,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,2BAAE,GAAG,UAAU,CAAC;AAEP,sCAAa,GAAG,MAAM,CAAC;AAEvB,iCAAQ,GAAG,QAAQ,CAAC;AAEpB,sCAAa,GAAG,KAAK,CAAC;AAEtB,oCAAW,GAAG,UAAU,CAAC;AAEzB,gCAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,wBAAwB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import Command from '../../Command.js';
2
- import { UPLINK } from '../../constants/directions.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
3
  import { READ_WRITE } from '../../constants/accessLevels.js';
4
4
  const COMMAND_ID = 0x12;
5
5
  const COMMAND_SIZE = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"SetSpecialDayResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetSpecialDayResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE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ACvC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,wBAAE,GAAG,UAAU,CAAC;AAEP,mCAAa,GAAG,MAAM,CAAC;AAEvB,8BAAQ,GAAG,QAAQ,CAAC;AAEpB,mCAAa,GAAG,KAAK,CAAC;AAEtB,iCAAW,GAAG,UAAU,CAAC;AAEzB,6BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,qBAAqB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import Command from '../../Command.js';
2
- import { UPLINK } from '../../constants/directions.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
3
  import { READ_WRITE } from '../../constants/accessLevels.js';
4
4
  const COMMAND_ID = 0x19;
5
5
  const COMMAND_SIZE = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"TurnRelayOffResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/TurnRelayOffResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,oBAAqB,SAAQ,OAAO;IACtC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAGD,OAAO;QACH,OAAO,IA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,CAAC;AAEzB,4BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,oBAAoB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import Command from '../../Command.js';
2
- import { UPLINK } from '../../constants/directions.js';
2
+ import { UPLINK } from '../../../constants/directions.js';
3
3
  import { READ_WRITE } from '../../constants/accessLevels.js';
4
4
  const COMMAND_ID = 0x18;
5
5
  const COMMAND_SIZE = 0;
@@ -1 +1 @@
1
- {"version":3,"file":"TurnRelayOnResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/TurnRelayOnResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,mBAAoB,SAAQ,OAAO;IACrC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,mBAAmB,EAAE,CAAC;IACrC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,sBAAE,GAAG,UAAU,CAAC;AAEP,iCAAa,GAAG,MAAM,CAAC;AAEvB,4BAAQ,GAAG,QAAQ,CAAC;AAEpB,iCAAa,GAAG,KAAK,CAAC;AAEtB,+BAAW,GAAG,UAAU,CAAC;AAEzB,2BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"TurnRelayOnResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/TurnRelayOnResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,mBAAoB,SAAQ,OAAO;IACrC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,mBAAmB,EAAE,CAAC;IACrC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,sBAAE,GAAG,UAAU,CAAC;AAEP,iCAAa,GAAG,MAAM,CAAC;AAEvB,4BAAQ,GAAG,QAAQ,CAAC;AAEpB,iCAAa,GAAG,KAAK,CAAC;AAEtB,+BAAW,GAAG,UAAU,CAAC;AAEzB,2BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,mBAAmB,CAAC"}
@@ -1,12 +1,19 @@
1
1
  export { default as ActivateRatePlanResponse } from './ActivateRatePlanResponse.js';
2
2
  export { default as ErrorResponse } from './ErrorResponse.js';
3
3
  export { default as GetDateTimeResponse } from './GetDateTimeResponse.js';
4
+ export { default as GetDayProfileResponse } from './GetDayProfileResponse.js';
4
5
  export { default as GetDeviceIdResponse } from './GetDeviceIdResponse.js';
6
+ export { default as GetDeviceTypeResponse } from './GetDeviceTypeResponse.js';
5
7
  export { default as GetDisplayParamResponse } from './GetDisplayParamResponse.js';
6
8
  export { default as GetOpParamsResponse } from './GetOpParamsResponse.js';
7
9
  export { default as GetRatePlanInfoResponse } from './GetRatePlanInfoResponse.js';
10
+ export { default as GetSeasonProfileResponse } from './GetSeasonProfileResponse.js';
11
+ export { default as GetSpecialDayResponse } from './GetSpecialDayResponse.js';
8
12
  export { default as PrepareRatePlanResponse } from './PrepareRatePlanResponse.js';
9
13
  export { default as RunTariffPlanResponse } from './RunTariffPlanResponse.js';
14
+ export { default as SetAccessKeyResponse } from './SetAccessKeyResponse.js';
15
+ export { default as SetCorrectDateTimeResponse } from './SetCorrectDateTimeResponse.js';
16
+ export { default as SetDateTimeResponse } from './SetDateTimeResponse.js';
10
17
  export { default as SetDayProfileResponse } from './SetDayProfileResponse.js';
11
18
  export { default as SetDisplayParamResponse } from './SetDisplayParamResponse.js';
12
19
  export { default as SetOpParamsResponse } from './SetOpParamsResponse.js';
@@ -1,12 +1,19 @@
1
1
  export { default as ActivateRatePlanResponse } from './ActivateRatePlanResponse.js';
2
2
  export { default as ErrorResponse } from './ErrorResponse.js';
3
3
  export { default as GetDateTimeResponse } from './GetDateTimeResponse.js';
4
+ export { default as GetDayProfileResponse } from './GetDayProfileResponse.js';
4
5
  export { default as GetDeviceIdResponse } from './GetDeviceIdResponse.js';
6
+ export { default as GetDeviceTypeResponse } from './GetDeviceTypeResponse.js';
5
7
  export { default as GetDisplayParamResponse } from './GetDisplayParamResponse.js';
6
8
  export { default as GetOpParamsResponse } from './GetOpParamsResponse.js';
7
9
  export { default as GetRatePlanInfoResponse } from './GetRatePlanInfoResponse.js';
10
+ export { default as GetSeasonProfileResponse } from './GetSeasonProfileResponse.js';
11
+ export { default as GetSpecialDayResponse } from './GetSpecialDayResponse.js';
8
12
  export { default as PrepareRatePlanResponse } from './PrepareRatePlanResponse.js';
9
13
  export { default as RunTariffPlanResponse } from './RunTariffPlanResponse.js';
14
+ export { default as SetAccessKeyResponse } from './SetAccessKeyResponse.js';
15
+ export { default as SetCorrectDateTimeResponse } from './SetCorrectDateTimeResponse.js';
16
+ export { default as SetDateTimeResponse } from './SetDateTimeResponse.js';
10
17
  export { default as SetDayProfileResponse } from './SetDayProfileResponse.js';
11
18
  export { default as SetDisplayParamResponse } from './SetDisplayParamResponse.js';
12
19
  export { default as SetOpParamsResponse } from './SetOpParamsResponse.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAC,OAAO,IAAI,wBAAwB,EAAC,MAAM,+BAA+B,CAAC;AAClF,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,wBAAwB,EAA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,OAAO,IAAI,0BAA0B,EAAC,MAAM,iCAAiC,CAAC;AACtF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,wBAAwB,EAAC,MAAM,+BAA+B,CAAC;AAClF,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC"}
@@ -1,4 +1,6 @@
1
+ import * as downlinkCommands from '../commands/downlink/index.js';
2
+ import * as uplinkCommands from '../commands/uplink/index.js';
1
3
  export declare const requestByResponse: Map<any, any>;
2
4
  export declare const responseByRequest: Map<any, any>;
3
- export declare const requestById: Map<any, any>;
4
- export declare const responseById: Map<any, any>;
5
+ export declare const requestById: Map<number, typeof downlinkCommands.ActivateRatePlan | typeof downlinkCommands.GetDateTime | typeof downlinkCommands.GetDayProfile | typeof downlinkCommands.GetDeviceId | typeof downlinkCommands.GetDeviceType | typeof downlinkCommands.GetDisplayParam | typeof downlinkCommands.GetOpParams | typeof downlinkCommands.GetRatePlanInfo | typeof downlinkCommands.GetSeasonProfile | typeof downlinkCommands.GetSpecialDay | typeof downlinkCommands.PrepareRatePlan | typeof downlinkCommands.RunTariffPlan | typeof downlinkCommands.SetAccessKey | typeof downlinkCommands.SetCorrectDateTime | typeof downlinkCommands.SetDateTime | typeof downlinkCommands.SetDayProfile | typeof downlinkCommands.SetDisplayParam | typeof downlinkCommands.SetOpParams | typeof downlinkCommands.SetSeasonProfile | typeof downlinkCommands.SetSpecialDay | typeof downlinkCommands.TurnRelayOff | typeof downlinkCommands.TurnRelayOn>;
6
+ export declare const responseById: Map<number, typeof uplinkCommands.ActivateRatePlanResponse | typeof uplinkCommands.ErrorResponse | typeof uplinkCommands.GetDateTimeResponse | typeof uplinkCommands.GetDayProfileResponse | typeof uplinkCommands.GetDeviceIdResponse | typeof uplinkCommands.GetDeviceTypeResponse | typeof uplinkCommands.GetDisplayParamResponse | typeof uplinkCommands.GetOpParamsResponse | typeof uplinkCommands.GetRatePlanInfoResponse | typeof uplinkCommands.GetSeasonProfileResponse | typeof uplinkCommands.GetSpecialDayResponse | typeof uplinkCommands.PrepareRatePlanResponse | typeof uplinkCommands.RunTariffPlanResponse | typeof uplinkCommands.SetAccessKeyResponse | typeof uplinkCommands.SetCorrectDateTimeResponse | typeof uplinkCommands.SetDateTimeResponse | typeof uplinkCommands.SetDayProfileResponse | typeof uplinkCommands.SetDisplayParamResponse | typeof uplinkCommands.SetOpParamsResponse | typeof uplinkCommands.SetSeasonProfileResponse | typeof uplinkCommands.SetSpecialDayResponse | typeof uplinkCommands.TurnRelayOffResponse | typeof uplinkCommands.TurnRelayOnResponse>;
@@ -2,16 +2,23 @@ import * as downlinkCommands from '../commands/downlink/index.js';
2
2
  import * as uplinkCommands from '../commands/uplink/index.js';
3
3
  export const requestByResponse = new Map();
4
4
  export const responseByRequest = new Map();
5
- export const requestById = new Map();
6
- export const responseById = new Map();
5
+ export const requestById = new Map(Object.values(downlinkCommands).map(command => [command.id, command]));
6
+ export const responseById = new Map(Object.values(uplinkCommands).map(command => [command.id, command]));
7
7
  requestByResponse.set(uplinkCommands.ActivateRatePlanResponse, downlinkCommands.ActivateRatePlan);
8
8
  requestByResponse.set(uplinkCommands.GetDateTimeResponse, downlinkCommands.GetDateTime);
9
+ requestByResponse.set(uplinkCommands.GetDayProfileResponse, downlinkCommands.GetDayProfile);
9
10
  requestByResponse.set(uplinkCommands.GetDeviceIdResponse, downlinkCommands.GetDeviceId);
11
+ requestByResponse.set(uplinkCommands.GetDeviceTypeResponse, downlinkCommands.GetDeviceType);
10
12
  requestByResponse.set(uplinkCommands.GetDisplayParamResponse, downlinkCommands.GetDisplayParam);
11
13
  requestByResponse.set(uplinkCommands.GetOpParamsResponse, downlinkCommands.GetOpParams);
12
14
  requestByResponse.set(uplinkCommands.GetRatePlanInfoResponse, downlinkCommands.GetRatePlanInfo);
15
+ requestByResponse.set(uplinkCommands.GetSeasonProfileResponse, downlinkCommands.GetSeasonProfile);
16
+ requestByResponse.set(uplinkCommands.GetSpecialDayResponse, downlinkCommands.GetSpecialDay);
13
17
  requestByResponse.set(uplinkCommands.PrepareRatePlanResponse, downlinkCommands.PrepareRatePlan);
14
18
  requestByResponse.set(uplinkCommands.RunTariffPlanResponse, downlinkCommands.RunTariffPlan);
19
+ requestByResponse.set(uplinkCommands.SetAccessKeyResponse, downlinkCommands.SetAccessKey);
20
+ requestByResponse.set(uplinkCommands.SetCorrectDateTimeResponse, downlinkCommands.SetCorrectDateTime);
21
+ requestByResponse.set(uplinkCommands.SetDateTimeResponse, downlinkCommands.SetDateTime);
15
22
  requestByResponse.set(uplinkCommands.SetDayProfileResponse, downlinkCommands.SetDayProfile);
16
23
  requestByResponse.set(uplinkCommands.SetDisplayParamResponse, downlinkCommands.SetDisplayParam);
17
24
  requestByResponse.set(uplinkCommands.SetOpParamsResponse, downlinkCommands.SetOpParams);
@@ -21,7 +28,5 @@ requestByResponse.set(uplinkCommands.TurnRelayOffResponse, downlinkCommands.Turn
21
28
  requestByResponse.set(uplinkCommands.TurnRelayOnResponse, downlinkCommands.TurnRelayOn);
22
29
  for (const [response, request] of requestByResponse.entries()) {
23
30
  responseByRequest.set(request, response);
24
- responseById.set(response.id, response);
25
- requestById.set(request.id, request);
26
31
  }
27
32
  //# sourceMappingURL=commandRelations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"commandRelations.js","sourceRoot":"","sources":["../../../src/mtx/constants/commandRelations.ts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AC;AAC7C,CAAC"}
@@ -1,9 +1,8 @@
1
1
  export { default as resultNames } from './resultNames.js';
2
2
  export { default as screenNames } from './screenNames.js';
3
3
  export * as accessLevels from './accessLevels.js';
4
- export * as directions from './directions.js';
5
- export * as frameAttributes from './frameAttributes.js';
6
4
  export * as frameTypes from './frameTypes.js';
7
5
  export * as resultCodes from './resultCodes.js';
8
6
  export * as screenIds from './screenIds.js';
9
7
  export * as screenSets from './screenSets.js';
8
+ export * from '../../constants/index.js';
@@ -1,10 +1,9 @@
1
1
  export { default as resultNames } from './resultNames.js';
2
2
  export { default as screenNames } from './screenNames.js';
3
3
  export * as accessLevels from './accessLevels.js';
4
- export * as directions from './directions.js';
5
- export * as frameAttributes from './frameAttributes.js';
6
4
  export * as frameTypes from './frameTypes.js';
7
5
  export * as resultCodes from './resultCodes.js';
8
6
  export * as screenIds from './screenIds.js';
9
7
  export * as screenSets from './screenSets.js';
8
+ export * from '../../constants/index.js';
10
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/mtx/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/mtx/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const A = 0;
2
+ export declare const G_FULL = 17;
3
+ export declare const G_RESTRICTED = 1;
@@ -0,0 +1,4 @@
1
+ export const A = 0b00000000;
2
+ export const G_FULL = 0b00010001;
3
+ export const G_RESTRICTED = 0b00000001;
4
+ //# sourceMappingURL=meterTypes.js.map