jooby-codec 2.11.0 → 2.13.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 (330) hide show
  1. package/dist/analog/CommandBinaryBuffer.d.ts +12 -0
  2. package/dist/analog/CommandBinaryBuffer.js +43 -0
  3. package/dist/analog/CommandBinaryBuffer.js.map +1 -1
  4. package/dist/analog/commands/downlink/GetParameter.d.ts +3 -5
  5. package/dist/analog/commands/downlink/GetParameter.js +20 -7
  6. package/dist/analog/commands/downlink/GetParameter.js.map +1 -1
  7. package/dist/analog/commands/uplink/SetParameterResponse.d.ts +16 -0
  8. package/dist/analog/commands/uplink/SetParameterResponse.js +49 -0
  9. package/dist/analog/commands/uplink/SetParameterResponse.js.map +1 -0
  10. package/dist/analog/commands/uplink/index.d.ts +1 -0
  11. package/dist/analog/commands/uplink/index.js +1 -0
  12. package/dist/analog/commands/uplink/index.js.map +1 -1
  13. package/dist/obis-observer/Command.js +8 -3
  14. package/dist/obis-observer/Command.js.map +1 -1
  15. package/dist/obis-observer/CommandBinaryBuffer.d.ts +7 -7
  16. package/dist/obis-observer/CommandBinaryBuffer.js +11 -11
  17. package/dist/obis-observer/CommandBinaryBuffer.js.map +1 -1
  18. package/dist/obis-observer/commands/downlink/AddShortNameProfile.d.ts +17 -0
  19. package/dist/obis-observer/commands/downlink/{AddObisProfile.js → AddShortNameProfile.js} +17 -20
  20. package/dist/obis-observer/commands/downlink/AddShortNameProfile.js.map +1 -0
  21. package/dist/obis-observer/commands/downlink/{GetObserverSingleMode.d.ts → GetArchiveProfile.d.ts} +3 -3
  22. package/dist/obis-observer/commands/downlink/GetArchiveProfile.js +39 -0
  23. package/dist/obis-observer/commands/downlink/GetArchiveProfile.js.map +1 -0
  24. package/dist/obis-observer/commands/downlink/GetArchiveState.d.ts +16 -0
  25. package/dist/obis-observer/commands/downlink/GetArchiveState.js +42 -0
  26. package/dist/obis-observer/commands/downlink/GetArchiveState.js.map +1 -0
  27. package/dist/obis-observer/commands/downlink/{GetObisContent.d.ts → GetContentByObis.d.ts} +1 -2
  28. package/dist/obis-observer/commands/downlink/{GetObisContent.js → GetContentByObis.js} +9 -9
  29. package/dist/obis-observer/commands/downlink/GetContentByObis.js.map +1 -0
  30. package/dist/obis-observer/commands/downlink/GetContentByShortName.d.ts +17 -0
  31. package/dist/obis-observer/commands/downlink/GetContentByShortName.js +44 -0
  32. package/dist/obis-observer/commands/downlink/GetContentByShortName.js.map +1 -0
  33. package/dist/obis-observer/commands/downlink/{GetObserverInfo.d.ts → GetDate.d.ts} +4 -4
  34. package/dist/obis-observer/commands/downlink/GetDate.js +39 -0
  35. package/dist/obis-observer/commands/downlink/GetDate.js.map +1 -0
  36. package/dist/obis-observer/commands/downlink/{GetObserverUptime.d.ts → GetDeviceInfo.d.ts} +4 -4
  37. package/dist/obis-observer/commands/downlink/GetDeviceInfo.js +39 -0
  38. package/dist/obis-observer/commands/downlink/GetDeviceInfo.js.map +1 -0
  39. package/dist/obis-observer/commands/downlink/GetLorawanInfo.d.ts +2 -2
  40. package/dist/obis-observer/commands/downlink/GetLorawanInfo.js +13 -6
  41. package/dist/obis-observer/commands/downlink/GetLorawanInfo.js.map +1 -1
  42. package/dist/obis-observer/commands/downlink/GetLorawanState.d.ts +2 -2
  43. package/dist/obis-observer/commands/downlink/GetLorawanState.js +13 -6
  44. package/dist/obis-observer/commands/downlink/GetLorawanState.js.map +1 -1
  45. package/dist/obis-observer/commands/downlink/{GetObserverCapabilities.d.ts → GetReadoutState.d.ts} +4 -4
  46. package/dist/obis-observer/commands/downlink/GetReadoutState.js +39 -0
  47. package/dist/obis-observer/commands/downlink/GetReadoutState.js.map +1 -0
  48. package/dist/obis-observer/commands/downlink/GetShortNameInfo.d.ts +17 -0
  49. package/dist/obis-observer/commands/downlink/GetShortNameInfo.js +44 -0
  50. package/dist/obis-observer/commands/downlink/GetShortNameInfo.js.map +1 -0
  51. package/dist/obis-observer/commands/downlink/GetShortNameProfile.d.ts +16 -0
  52. package/dist/obis-observer/commands/downlink/GetShortNameProfile.js +45 -0
  53. package/dist/obis-observer/commands/downlink/GetShortNameProfile.js.map +1 -0
  54. package/dist/obis-observer/commands/downlink/GetShortNames.d.ts +16 -0
  55. package/dist/obis-observer/commands/downlink/{SetObisId.js → GetShortNames.js} +16 -19
  56. package/dist/obis-observer/commands/downlink/GetShortNames.js.map +1 -0
  57. package/dist/obis-observer/commands/downlink/ReadArchive.d.ts +18 -0
  58. package/dist/obis-observer/commands/downlink/ReadArchive.js +57 -0
  59. package/dist/obis-observer/commands/downlink/ReadArchive.js.map +1 -0
  60. package/dist/obis-observer/commands/downlink/Reboot.d.ts +2 -2
  61. package/dist/obis-observer/commands/downlink/Reboot.js +12 -6
  62. package/dist/obis-observer/commands/downlink/Reboot.js.map +1 -1
  63. package/dist/obis-observer/commands/downlink/RemoveShortNameProfile.d.ts +16 -0
  64. package/dist/obis-observer/commands/downlink/RemoveShortNameProfile.js +42 -0
  65. package/dist/obis-observer/commands/downlink/RemoveShortNameProfile.js.map +1 -0
  66. package/dist/obis-observer/commands/downlink/SetArchiveProfile.d.ts +17 -0
  67. package/dist/obis-observer/commands/downlink/SetArchiveProfile.js +45 -0
  68. package/dist/obis-observer/commands/downlink/SetArchiveProfile.js.map +1 -0
  69. package/dist/obis-observer/commands/downlink/SetSerialPort.d.ts +1 -1
  70. package/dist/obis-observer/commands/downlink/SetSerialPort.js +3 -3
  71. package/dist/obis-observer/commands/downlink/SetSerialPort.js.map +1 -1
  72. package/dist/obis-observer/commands/downlink/SetShortName.d.ts +17 -0
  73. package/dist/obis-observer/commands/downlink/{GetObisIdList.js → SetShortName.js} +18 -15
  74. package/dist/obis-observer/commands/downlink/SetShortName.js.map +1 -0
  75. package/dist/obis-observer/commands/downlink/UpdateImageVerify.d.ts +2 -2
  76. package/dist/obis-observer/commands/downlink/UpdateImageVerify.js +12 -6
  77. package/dist/obis-observer/commands/downlink/UpdateImageVerify.js.map +1 -1
  78. package/dist/obis-observer/commands/downlink/UpdateImageWrite.d.ts +1 -1
  79. package/dist/obis-observer/commands/downlink/UpdateImageWrite.js +9 -4
  80. package/dist/obis-observer/commands/downlink/UpdateImageWrite.js.map +1 -1
  81. package/dist/obis-observer/commands/downlink/UpdateRun.d.ts +2 -2
  82. package/dist/obis-observer/commands/downlink/UpdateRun.js +12 -6
  83. package/dist/obis-observer/commands/downlink/UpdateRun.js.map +1 -1
  84. package/dist/obis-observer/commands/downlink/index.d.ts +15 -28
  85. package/dist/obis-observer/commands/downlink/index.js +15 -28
  86. package/dist/obis-observer/commands/downlink/index.js.map +1 -1
  87. package/dist/obis-observer/commands/uplink/AddShortNameProfileResponse.d.ts +16 -0
  88. package/dist/obis-observer/commands/uplink/AddShortNameProfileResponse.js +43 -0
  89. package/dist/obis-observer/commands/uplink/AddShortNameProfileResponse.js.map +1 -0
  90. package/dist/obis-observer/commands/uplink/{GetMeterArchiveProfileResponse.d.ts → GetArchiveProfileResponse.d.ts} +5 -5
  91. package/dist/obis-observer/commands/uplink/GetArchiveProfileResponse.js +45 -0
  92. package/dist/obis-observer/commands/uplink/GetArchiveProfileResponse.js.map +1 -0
  93. package/dist/obis-observer/commands/uplink/GetArchiveStateResponse.d.ts +19 -0
  94. package/dist/obis-observer/commands/uplink/GetArchiveStateResponse.js +58 -0
  95. package/dist/obis-observer/commands/uplink/GetArchiveStateResponse.js.map +1 -0
  96. package/dist/obis-observer/commands/uplink/{GetObisContentResponse.d.ts → GetContentByObisResponse.d.ts} +1 -1
  97. package/dist/obis-observer/commands/uplink/{GetObisContentResponse.js → GetContentByObisResponse.js} +10 -5
  98. package/dist/obis-observer/commands/uplink/GetContentByObisResponse.js.map +1 -0
  99. package/dist/obis-observer/commands/uplink/GetContentByShortNameResponse.d.ts +16 -0
  100. package/dist/obis-observer/commands/uplink/GetContentByShortNameResponse.js +44 -0
  101. package/dist/obis-observer/commands/uplink/GetContentByShortNameResponse.js.map +1 -0
  102. package/dist/obis-observer/commands/uplink/GetContentByShortNameStringResponse.d.ts +16 -0
  103. package/dist/obis-observer/commands/uplink/{GetObisContentByIdStringResponse.js → GetContentByShortNameStringResponse.js} +17 -12
  104. package/dist/obis-observer/commands/uplink/GetContentByShortNameStringResponse.js.map +1 -0
  105. package/dist/obis-observer/commands/uplink/GetDateResponse.d.ts +18 -0
  106. package/dist/obis-observer/commands/uplink/GetDateResponse.js +47 -0
  107. package/dist/obis-observer/commands/uplink/GetDateResponse.js.map +1 -0
  108. package/dist/obis-observer/commands/uplink/{GetObserverInfoResponse.d.ts → GetDeviceInfoResponse.d.ts} +7 -7
  109. package/dist/obis-observer/commands/uplink/{GetObserverInfoResponse.js → GetDeviceInfoResponse.js} +18 -13
  110. package/dist/obis-observer/commands/uplink/GetDeviceInfoResponse.js.map +1 -0
  111. package/dist/obis-observer/commands/uplink/GetLorawanInfoResponse.d.ts +1 -1
  112. package/dist/obis-observer/commands/uplink/GetLorawanInfoResponse.js +6 -3
  113. package/dist/obis-observer/commands/uplink/GetLorawanInfoResponse.js.map +1 -1
  114. package/dist/obis-observer/commands/uplink/GetLorawanStateResponse.d.ts +1 -1
  115. package/dist/obis-observer/commands/uplink/GetLorawanStateResponse.js +26 -23
  116. package/dist/obis-observer/commands/uplink/GetLorawanStateResponse.js.map +1 -1
  117. package/dist/obis-observer/commands/uplink/{GetMeterReadoutStateResponse.d.ts → GetReadoutStateResponse.d.ts} +7 -7
  118. package/dist/obis-observer/commands/uplink/GetReadoutStateResponse.js +77 -0
  119. package/dist/obis-observer/commands/uplink/GetReadoutStateResponse.js.map +1 -0
  120. package/dist/obis-observer/commands/uplink/GetShortNameInfoResponse.d.ts +17 -0
  121. package/dist/obis-observer/commands/uplink/{GetObisInfoResponse.js → GetShortNameInfoResponse.js} +31 -42
  122. package/dist/obis-observer/commands/uplink/GetShortNameInfoResponse.js.map +1 -0
  123. package/dist/obis-observer/commands/uplink/GetShortNameProfileResponse.d.ts +16 -0
  124. package/dist/obis-observer/commands/uplink/{GetObisProfileResponse.js → GetShortNameProfileResponse.js} +17 -24
  125. package/dist/obis-observer/commands/uplink/GetShortNameProfileResponse.js.map +1 -0
  126. package/dist/obis-observer/commands/uplink/GetShortNamesResponse.d.ts +16 -0
  127. package/dist/obis-observer/commands/uplink/GetShortNamesResponse.js +45 -0
  128. package/dist/obis-observer/commands/uplink/GetShortNamesResponse.js.map +1 -0
  129. package/dist/obis-observer/commands/uplink/ObservationReport.d.ts +3 -3
  130. package/dist/obis-observer/commands/uplink/ObservationReport.js +19 -15
  131. package/dist/obis-observer/commands/uplink/ObservationReport.js.map +1 -1
  132. package/dist/obis-observer/commands/uplink/ObservationReportString.d.ts +3 -3
  133. package/dist/obis-observer/commands/uplink/ObservationReportString.js +20 -16
  134. package/dist/obis-observer/commands/uplink/ObservationReportString.js.map +1 -1
  135. package/dist/obis-observer/commands/uplink/ReadArchiveResponse.d.ts +18 -0
  136. package/dist/obis-observer/commands/uplink/ReadArchiveResponse.js +61 -0
  137. package/dist/obis-observer/commands/uplink/ReadArchiveResponse.js.map +1 -0
  138. package/dist/obis-observer/commands/uplink/RebootResponse.d.ts +4 -7
  139. package/dist/obis-observer/commands/uplink/RebootResponse.js +12 -11
  140. package/dist/obis-observer/commands/uplink/RebootResponse.js.map +1 -1
  141. package/dist/obis-observer/commands/uplink/RemoveShortNameProfileResponse.d.ts +16 -0
  142. package/dist/obis-observer/commands/uplink/RemoveShortNameProfileResponse.js +43 -0
  143. package/dist/obis-observer/commands/uplink/RemoveShortNameProfileResponse.js.map +1 -0
  144. package/dist/obis-observer/commands/uplink/SetArchiveProfileResponse.d.ts +16 -0
  145. package/dist/obis-observer/commands/uplink/SetArchiveProfileResponse.js +51 -0
  146. package/dist/obis-observer/commands/uplink/SetArchiveProfileResponse.js.map +1 -0
  147. package/dist/obis-observer/commands/uplink/SetSerialPortResponse.d.ts +2 -2
  148. package/dist/obis-observer/commands/uplink/SetSerialPortResponse.js +17 -9
  149. package/dist/obis-observer/commands/uplink/SetSerialPortResponse.js.map +1 -1
  150. package/dist/obis-observer/commands/uplink/SetShortNameResponse.d.ts +16 -0
  151. package/dist/obis-observer/commands/uplink/SetShortNameResponse.js +43 -0
  152. package/dist/obis-observer/commands/uplink/SetShortNameResponse.js.map +1 -0
  153. package/dist/obis-observer/commands/uplink/UpdateImageVerifyResponse.d.ts +2 -2
  154. package/dist/obis-observer/commands/uplink/UpdateImageVerifyResponse.js +16 -8
  155. package/dist/obis-observer/commands/uplink/UpdateImageVerifyResponse.js.map +1 -1
  156. package/dist/obis-observer/commands/uplink/UpdateImageWriteResponse.d.ts +2 -2
  157. package/dist/obis-observer/commands/uplink/UpdateImageWriteResponse.js +16 -8
  158. package/dist/obis-observer/commands/uplink/UpdateImageWriteResponse.js.map +1 -1
  159. package/dist/obis-observer/commands/uplink/UpdateRunResponse.d.ts +2 -2
  160. package/dist/obis-observer/commands/uplink/UpdateRunResponse.js +16 -8
  161. package/dist/obis-observer/commands/uplink/UpdateRunResponse.js.map +1 -1
  162. package/dist/obis-observer/commands/uplink/index.d.ts +16 -29
  163. package/dist/obis-observer/commands/uplink/index.js +16 -29
  164. package/dist/obis-observer/commands/uplink/index.js.map +1 -1
  165. package/dist/obis-observer/constants/commandRelations.js +12 -31
  166. package/dist/obis-observer/constants/commandRelations.js.map +1 -1
  167. package/dist/obis-observer/constants/index.d.ts +1 -1
  168. package/dist/obis-observer/constants/index.js +1 -1
  169. package/dist/obis-observer/constants/index.js.map +1 -1
  170. package/dist/obis-observer/constants/{obisIds.d.ts → shortNames.d.ts} +4 -4
  171. package/dist/obis-observer/constants/shortNames.js +228 -0
  172. package/dist/obis-observer/constants/shortNames.js.map +1 -0
  173. package/dist/obis-observer/message.js +12 -4
  174. package/dist/obis-observer/message.js.map +1 -1
  175. package/package.json +1 -1
  176. package/dist/obis-observer/commands/downlink/AddMeterProfile.d.ts +0 -16
  177. package/dist/obis-observer/commands/downlink/AddMeterProfile.js +0 -34
  178. package/dist/obis-observer/commands/downlink/AddMeterProfile.js.map +0 -1
  179. package/dist/obis-observer/commands/downlink/AddObisProfile.d.ts +0 -18
  180. package/dist/obis-observer/commands/downlink/AddObisProfile.js.map +0 -1
  181. package/dist/obis-observer/commands/downlink/GetMeterArchiveProfile.d.ts +0 -16
  182. package/dist/obis-observer/commands/downlink/GetMeterArchiveProfile.js +0 -34
  183. package/dist/obis-observer/commands/downlink/GetMeterArchiveProfile.js.map +0 -1
  184. package/dist/obis-observer/commands/downlink/GetMeterArchiveState.d.ts +0 -17
  185. package/dist/obis-observer/commands/downlink/GetMeterArchiveState.js +0 -35
  186. package/dist/obis-observer/commands/downlink/GetMeterArchiveState.js.map +0 -1
  187. package/dist/obis-observer/commands/downlink/GetMeterDate.d.ts +0 -16
  188. package/dist/obis-observer/commands/downlink/GetMeterDate.js +0 -33
  189. package/dist/obis-observer/commands/downlink/GetMeterDate.js.map +0 -1
  190. package/dist/obis-observer/commands/downlink/GetMeterId.d.ts +0 -16
  191. package/dist/obis-observer/commands/downlink/GetMeterId.js +0 -41
  192. package/dist/obis-observer/commands/downlink/GetMeterId.js.map +0 -1
  193. package/dist/obis-observer/commands/downlink/GetMeterIdList.d.ts +0 -16
  194. package/dist/obis-observer/commands/downlink/GetMeterIdList.js +0 -33
  195. package/dist/obis-observer/commands/downlink/GetMeterIdList.js.map +0 -1
  196. package/dist/obis-observer/commands/downlink/GetMeterInfo.d.ts +0 -16
  197. package/dist/obis-observer/commands/downlink/GetMeterInfo.js +0 -33
  198. package/dist/obis-observer/commands/downlink/GetMeterInfo.js.map +0 -1
  199. package/dist/obis-observer/commands/downlink/GetMeterProfileIdList.d.ts +0 -16
  200. package/dist/obis-observer/commands/downlink/GetMeterProfileIdList.js +0 -33
  201. package/dist/obis-observer/commands/downlink/GetMeterProfileIdList.js.map +0 -1
  202. package/dist/obis-observer/commands/downlink/GetMeterReadoutState.d.ts +0 -16
  203. package/dist/obis-observer/commands/downlink/GetMeterReadoutState.js +0 -33
  204. package/dist/obis-observer/commands/downlink/GetMeterReadoutState.js.map +0 -1
  205. package/dist/obis-observer/commands/downlink/GetObisContent.js.map +0 -1
  206. package/dist/obis-observer/commands/downlink/GetObisContentById.d.ts +0 -17
  207. package/dist/obis-observer/commands/downlink/GetObisContentById.js +0 -34
  208. package/dist/obis-observer/commands/downlink/GetObisContentById.js.map +0 -1
  209. package/dist/obis-observer/commands/downlink/GetObisIdList.d.ts +0 -17
  210. package/dist/obis-observer/commands/downlink/GetObisIdList.js.map +0 -1
  211. package/dist/obis-observer/commands/downlink/GetObisInfo.d.ts +0 -17
  212. package/dist/obis-observer/commands/downlink/GetObisInfo.js +0 -34
  213. package/dist/obis-observer/commands/downlink/GetObisInfo.js.map +0 -1
  214. package/dist/obis-observer/commands/downlink/GetObisProfile.d.ts +0 -17
  215. package/dist/obis-observer/commands/downlink/GetObisProfile.js +0 -35
  216. package/dist/obis-observer/commands/downlink/GetObisProfile.js.map +0 -1
  217. package/dist/obis-observer/commands/downlink/GetObserverCapabilities.js +0 -32
  218. package/dist/obis-observer/commands/downlink/GetObserverCapabilities.js.map +0 -1
  219. package/dist/obis-observer/commands/downlink/GetObserverInfo.js +0 -32
  220. package/dist/obis-observer/commands/downlink/GetObserverInfo.js.map +0 -1
  221. package/dist/obis-observer/commands/downlink/GetObserverSingleMode.js +0 -32
  222. package/dist/obis-observer/commands/downlink/GetObserverSingleMode.js.map +0 -1
  223. package/dist/obis-observer/commands/downlink/GetObserverUptime.js +0 -32
  224. package/dist/obis-observer/commands/downlink/GetObserverUptime.js.map +0 -1
  225. package/dist/obis-observer/commands/downlink/ReadMeterArchive.d.ts +0 -19
  226. package/dist/obis-observer/commands/downlink/ReadMeterArchive.js +0 -58
  227. package/dist/obis-observer/commands/downlink/ReadMeterArchive.js.map +0 -1
  228. package/dist/obis-observer/commands/downlink/RemoveMeter.d.ts +0 -16
  229. package/dist/obis-observer/commands/downlink/RemoveMeter.js +0 -34
  230. package/dist/obis-observer/commands/downlink/RemoveMeter.js.map +0 -1
  231. package/dist/obis-observer/commands/downlink/RemoveMeterProfile.d.ts +0 -16
  232. package/dist/obis-observer/commands/downlink/RemoveMeterProfile.js +0 -34
  233. package/dist/obis-observer/commands/downlink/RemoveMeterProfile.js.map +0 -1
  234. package/dist/obis-observer/commands/downlink/RemoveObisProfile.d.ts +0 -17
  235. package/dist/obis-observer/commands/downlink/RemoveObisProfile.js +0 -35
  236. package/dist/obis-observer/commands/downlink/RemoveObisProfile.js.map +0 -1
  237. package/dist/obis-observer/commands/downlink/SetLorawanActivationMethod.d.ts +0 -16
  238. package/dist/obis-observer/commands/downlink/SetLorawanActivationMethod.js +0 -34
  239. package/dist/obis-observer/commands/downlink/SetLorawanActivationMethod.js.map +0 -1
  240. package/dist/obis-observer/commands/downlink/SetMeterArchiveProfile.d.ts +0 -18
  241. package/dist/obis-observer/commands/downlink/SetMeterArchiveProfile.js +0 -48
  242. package/dist/obis-observer/commands/downlink/SetMeterArchiveProfile.js.map +0 -1
  243. package/dist/obis-observer/commands/downlink/SetObisId.d.ts +0 -18
  244. package/dist/obis-observer/commands/downlink/SetObisId.js.map +0 -1
  245. package/dist/obis-observer/commands/downlink/SetObserverSingleMode.d.ts +0 -16
  246. package/dist/obis-observer/commands/downlink/SetObserverSingleMode.js +0 -34
  247. package/dist/obis-observer/commands/downlink/SetObserverSingleMode.js.map +0 -1
  248. package/dist/obis-observer/commands/downlink/SetupMeter.d.ts +0 -18
  249. package/dist/obis-observer/commands/downlink/SetupMeter.js +0 -47
  250. package/dist/obis-observer/commands/downlink/SetupMeter.js.map +0 -1
  251. package/dist/obis-observer/commands/uplink/AddMeterProfileResponse.d.ts +0 -16
  252. package/dist/obis-observer/commands/uplink/AddMeterProfileResponse.js +0 -35
  253. package/dist/obis-observer/commands/uplink/AddMeterProfileResponse.js.map +0 -1
  254. package/dist/obis-observer/commands/uplink/AddObisProfileResponse.d.ts +0 -16
  255. package/dist/obis-observer/commands/uplink/AddObisProfileResponse.js +0 -35
  256. package/dist/obis-observer/commands/uplink/AddObisProfileResponse.js.map +0 -1
  257. package/dist/obis-observer/commands/uplink/GetMeterArchiveProfileResponse.js +0 -64
  258. package/dist/obis-observer/commands/uplink/GetMeterArchiveProfileResponse.js.map +0 -1
  259. package/dist/obis-observer/commands/uplink/GetMeterArchiveStateResponse.d.ts +0 -19
  260. package/dist/obis-observer/commands/uplink/GetMeterArchiveStateResponse.js +0 -78
  261. package/dist/obis-observer/commands/uplink/GetMeterArchiveStateResponse.js.map +0 -1
  262. package/dist/obis-observer/commands/uplink/GetMeterDateResponse.d.ts +0 -17
  263. package/dist/obis-observer/commands/uplink/GetMeterDateResponse.js +0 -50
  264. package/dist/obis-observer/commands/uplink/GetMeterDateResponse.js.map +0 -1
  265. package/dist/obis-observer/commands/uplink/GetMeterIdListResponse.d.ts +0 -16
  266. package/dist/obis-observer/commands/uplink/GetMeterIdListResponse.js +0 -40
  267. package/dist/obis-observer/commands/uplink/GetMeterIdListResponse.js.map +0 -1
  268. package/dist/obis-observer/commands/uplink/GetMeterIdResponse.d.ts +0 -16
  269. package/dist/obis-observer/commands/uplink/GetMeterIdResponse.js +0 -45
  270. package/dist/obis-observer/commands/uplink/GetMeterIdResponse.js.map +0 -1
  271. package/dist/obis-observer/commands/uplink/GetMeterInfoResponse.d.ts +0 -17
  272. package/dist/obis-observer/commands/uplink/GetMeterInfoResponse.js +0 -54
  273. package/dist/obis-observer/commands/uplink/GetMeterInfoResponse.js.map +0 -1
  274. package/dist/obis-observer/commands/uplink/GetMeterProfileIdListResponse.d.ts +0 -16
  275. package/dist/obis-observer/commands/uplink/GetMeterProfileIdListResponse.js +0 -40
  276. package/dist/obis-observer/commands/uplink/GetMeterProfileIdListResponse.js.map +0 -1
  277. package/dist/obis-observer/commands/uplink/GetMeterReadoutStateResponse.js +0 -104
  278. package/dist/obis-observer/commands/uplink/GetMeterReadoutStateResponse.js.map +0 -1
  279. package/dist/obis-observer/commands/uplink/GetObisContentByIdResponse.d.ts +0 -16
  280. package/dist/obis-observer/commands/uplink/GetObisContentByIdResponse.js +0 -51
  281. package/dist/obis-observer/commands/uplink/GetObisContentByIdResponse.js.map +0 -1
  282. package/dist/obis-observer/commands/uplink/GetObisContentByIdStringResponse.d.ts +0 -16
  283. package/dist/obis-observer/commands/uplink/GetObisContentByIdStringResponse.js.map +0 -1
  284. package/dist/obis-observer/commands/uplink/GetObisContentResponse.js.map +0 -1
  285. package/dist/obis-observer/commands/uplink/GetObisIdListResponse.d.ts +0 -16
  286. package/dist/obis-observer/commands/uplink/GetObisIdListResponse.js +0 -40
  287. package/dist/obis-observer/commands/uplink/GetObisIdListResponse.js.map +0 -1
  288. package/dist/obis-observer/commands/uplink/GetObisInfoResponse.d.ts +0 -17
  289. package/dist/obis-observer/commands/uplink/GetObisInfoResponse.js.map +0 -1
  290. package/dist/obis-observer/commands/uplink/GetObisProfileResponse.d.ts +0 -16
  291. package/dist/obis-observer/commands/uplink/GetObisProfileResponse.js.map +0 -1
  292. package/dist/obis-observer/commands/uplink/GetObserverCapabilitiesResponse.d.ts +0 -19
  293. package/dist/obis-observer/commands/uplink/GetObserverCapabilitiesResponse.js +0 -53
  294. package/dist/obis-observer/commands/uplink/GetObserverCapabilitiesResponse.js.map +0 -1
  295. package/dist/obis-observer/commands/uplink/GetObserverInfoResponse.js.map +0 -1
  296. package/dist/obis-observer/commands/uplink/GetObserverSingleModeResponse.d.ts +0 -16
  297. package/dist/obis-observer/commands/uplink/GetObserverSingleModeResponse.js +0 -33
  298. package/dist/obis-observer/commands/uplink/GetObserverSingleModeResponse.js.map +0 -1
  299. package/dist/obis-observer/commands/uplink/GetObserverUptimeResponse.d.ts +0 -16
  300. package/dist/obis-observer/commands/uplink/GetObserverUptimeResponse.js +0 -41
  301. package/dist/obis-observer/commands/uplink/GetObserverUptimeResponse.js.map +0 -1
  302. package/dist/obis-observer/commands/uplink/ReadMeterArchiveResponse.d.ts +0 -18
  303. package/dist/obis-observer/commands/uplink/ReadMeterArchiveResponse.js +0 -79
  304. package/dist/obis-observer/commands/uplink/ReadMeterArchiveResponse.js.map +0 -1
  305. package/dist/obis-observer/commands/uplink/RemoveMeterProfileResponse.d.ts +0 -16
  306. package/dist/obis-observer/commands/uplink/RemoveMeterProfileResponse.js +0 -35
  307. package/dist/obis-observer/commands/uplink/RemoveMeterProfileResponse.js.map +0 -1
  308. package/dist/obis-observer/commands/uplink/RemoveMeterResponse.d.ts +0 -16
  309. package/dist/obis-observer/commands/uplink/RemoveMeterResponse.js +0 -35
  310. package/dist/obis-observer/commands/uplink/RemoveMeterResponse.js.map +0 -1
  311. package/dist/obis-observer/commands/uplink/RemoveObisProfileResponse.d.ts +0 -16
  312. package/dist/obis-observer/commands/uplink/RemoveObisProfileResponse.js +0 -35
  313. package/dist/obis-observer/commands/uplink/RemoveObisProfileResponse.js.map +0 -1
  314. package/dist/obis-observer/commands/uplink/SetLorawanActivationMethodResponse.d.ts +0 -16
  315. package/dist/obis-observer/commands/uplink/SetLorawanActivationMethodResponse.js +0 -35
  316. package/dist/obis-observer/commands/uplink/SetLorawanActivationMethodResponse.js.map +0 -1
  317. package/dist/obis-observer/commands/uplink/SetMeterArchiveProfileResponse.d.ts +0 -16
  318. package/dist/obis-observer/commands/uplink/SetMeterArchiveProfileResponse.js +0 -43
  319. package/dist/obis-observer/commands/uplink/SetMeterArchiveProfileResponse.js.map +0 -1
  320. package/dist/obis-observer/commands/uplink/SetObisIdResponse.d.ts +0 -16
  321. package/dist/obis-observer/commands/uplink/SetObisIdResponse.js +0 -35
  322. package/dist/obis-observer/commands/uplink/SetObisIdResponse.js.map +0 -1
  323. package/dist/obis-observer/commands/uplink/SetObserverSingleModeResponse.d.ts +0 -16
  324. package/dist/obis-observer/commands/uplink/SetObserverSingleModeResponse.js +0 -35
  325. package/dist/obis-observer/commands/uplink/SetObserverSingleModeResponse.js.map +0 -1
  326. package/dist/obis-observer/commands/uplink/SetupMeterResponse.d.ts +0 -16
  327. package/dist/obis-observer/commands/uplink/SetupMeterResponse.js +0 -35
  328. package/dist/obis-observer/commands/uplink/SetupMeterResponse.js.map +0 -1
  329. package/dist/obis-observer/constants/obisIds.js +0 -228
  330. package/dist/obis-observer/constants/obisIds.js.map +0 -1
@@ -1,34 +0,0 @@
1
- import Command from '../../Command.js';
2
- import { REQUEST_ID_SIZE } from '../../CommandBinaryBuffer.js';
3
- import { DOWNLINK } from '../../constants/directions.js';
4
- const COMMAND_ID = 0x60;
5
- const COMMAND_SIZE = REQUEST_ID_SIZE + 1;
6
- const examples = [
7
- {
8
- name: 'add meter profile with Id 17',
9
- parameters: {
10
- requestId: 3,
11
- meterProfileId: 17
12
- },
13
- hex: { header: '60 02', body: '03 11' }
14
- }
15
- ];
16
- class AddMeterProfile extends Command {
17
- constructor(parameters) {
18
- super();
19
- this.parameters = parameters;
20
- this.size = COMMAND_SIZE;
21
- }
22
- static fromBytes([requestId, meterProfileId]) {
23
- return new AddMeterProfile({ requestId, meterProfileId });
24
- }
25
- toBytes() {
26
- return Command.toBytes(COMMAND_ID, new Uint8Array([this.parameters.requestId, this.parameters.meterProfileId]));
27
- }
28
- }
29
- AddMeterProfile.id = COMMAND_ID;
30
- AddMeterProfile.directionType = DOWNLINK;
31
- AddMeterProfile.examples = examples;
32
- AddMeterProfile.hasParameters = true;
33
- export default AddMeterProfile;
34
- //# sourceMappingURL=AddMeterProfile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AddMeterProfile.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/AddMeterProfile.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,eAAe,EAAqB,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAWvD,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,eAAe,GAAG,CAAC,CAAC;AAEzC,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,8BAA8B;QACpC,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,cAAc,EAAE,EAAE;SACrB;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAC;KACxC;CACJ,CAAC;AAuBF,MAAM,eAAgB,SAAQ,OAAO;IACjC,YAAqB,UAAsC;QACvD,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAA4B;QAGvD,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,CAAC,SAAS,EAAE,cAAc,CAAa;QACtD,OAAO,IAAI,eAAe,CAAC,EAAC,SAAS,EAAE,cAAc,EAAC,CAAC,CAAC;IAC5D,CAAC;IAGD,OAAO;QACH,OAAO,OAAO,CAAC,OAAO,CAClB,UAAU,EACV,IAAI,UAAU,CACV,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAC9D,CACJ,CAAC;IACN,CAAC;;AAtBe,kBAAE,GAAG,UAAU,CAAC;AAEhB,6BAAa,GAAG,QAAQ,CAAC;AAEzB,wBAAQ,GAAG,QAAQ,CAAC;AAEpB,6BAAa,GAAG,IAAI,CAAC;AAoBzC,eAAe,eAAe,CAAC"}
@@ -1,18 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters, IObisProfile } from '../../CommandBinaryBuffer.js';
3
- interface IAddObisProfileParameters extends ICommandParameters {
4
- meterProfileId: number;
5
- obisId: number;
6
- obisProfile: IObisProfile;
7
- }
8
- declare class AddObisProfile extends Command {
9
- parameters: IAddObisProfileParameters;
10
- constructor(parameters: IAddObisProfileParameters);
11
- static readonly id = 68;
12
- static readonly directionType = 1;
13
- static readonly examples: TCommandExampleList;
14
- static readonly hasParameters = true;
15
- static fromBytes(data: Uint8Array): AddObisProfile;
16
- toBytes(): Uint8Array;
17
- }
18
- export default AddObisProfile;
@@ -1 +0,0 @@
1
- {"version":3,"file":"AddObisProf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5B,cAAc,EAAE,MAAM,CAAC,QAAQ,EAAE;YACjC,MAAM,EAAE,MAAM,CAAC,QAAQ,EAAE;YACzB,WAAW,EAAE,MAAM,CAAC,cAAc,EAAE;SACvC,CAAC,CAAC;IACP,CAAC;IAGD,OAAO;QACH,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,YAAY,CAAC,CAAC;QACrD,MAAM,EAAC,SAAS,EAAE,cAAc,EAAE,MAAM,EAAE,WAAW,EAAC,GAAG,IAAI,CAAC,UAAU,CAAC;QAEzE,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAC3B,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;QAChC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACxB,MAAM,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;QAEnC,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AAhCe,iBAAE,GAAG,UAAU,CAAC;AAEhB,4BAAa,GAAG,QAAQ,CAAC;AAEzB,uBAAQ,GAAG,QAAQ,CAAC;AAEpB,4BAAa,GAAG,IAAI,CAAC;AA8BzC,eAAe,cAAc,CAAC"}
@@ -1,16 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters } from '../../CommandBinaryBuffer.js';
3
- interface IGetMeterArchiveProfileParameters extends ICommandParameters {
4
- meterProfileId: number;
5
- }
6
- declare class GetMeterArchiveProfile extends Command {
7
- parameters: IGetMeterArchiveProfileParameters;
8
- constructor(parameters: IGetMeterArchiveProfileParameters);
9
- static readonly id = 102;
10
- static readonly directionType = 1;
11
- static readonly examples: TCommandExampleList;
12
- static readonly hasParameters = true;
13
- static fromBytes([requestId, meterProfileId]: Uint8Array): GetMeterArchiveProfile;
14
- toBytes(): Uint8Array;
15
- }
16
- export default GetMeterArchiveProfile;
@@ -1,34 +0,0 @@
1
- import Command from '../../Command.js';
2
- import { REQUEST_ID_SIZE } from '../../CommandBinaryBuffer.js';
3
- import { DOWNLINK } from '../../constants/directions.js';
4
- const COMMAND_ID = 0x66;
5
- const COMMAND_SIZE = REQUEST_ID_SIZE + 1;
6
- const examples = [
7
- {
8
- name: 'get meter archive settings from meter profile 4',
9
- parameters: {
10
- requestId: 3,
11
- meterProfileId: 4
12
- },
13
- hex: { header: '66 02', body: '03 04' }
14
- }
15
- ];
16
- class GetMeterArchiveProfile extends Command {
17
- constructor(parameters) {
18
- super();
19
- this.parameters = parameters;
20
- this.size = COMMAND_SIZE;
21
- }
22
- static fromBytes([requestId, meterProfileId]) {
23
- return new GetMeterArchiveProfile({ requestId, meterProfileId });
24
- }
25
- toBytes() {
26
- return Command.toBytes(COMMAND_ID, new Uint8Array([this.parameters.requestId, this.parameters.meterProfileId]));
27
- }
28
- }
29
- GetMeterArchiveProfile.id = COMMAND_ID;
30
- GetMeterArchiveProfile.directionType = DOWNLINK;
31
- GetMeterArchiveProfile.examples = examples;
32
- GetMeterArchiveProfile.hasParameters = true;
33
- export default GetMeterArchiveProfile;
34
- //# sourceMappingURL=GetMeterArchiveProfile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetMeterArchiveProfile.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetMeterArchiveProfile.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,eAAe,EAAqB,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAWvD,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,eAAe,GAAG,CAAC,CAAC;AAEzC,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iDAAiD;QACvD,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,cAAc,EAAE,CAAC;SACpB;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAC;KACxC;CACJ,CAAC;AAuBF,MAAM,sBAAuB,SAAQ,OAAO;IACxC,YAAqB,UAA6C;QAC9D,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAmC;QAG9D,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,CAAC,SAAS,EAAE,cAAc,CAAa;QACtD,OAAO,IAAI,sBAAsB,CAAC,EAAC,SAAS,EAAE,cAAc,EAAC,CAAC,CAAC;IACnE,CAAC;IAGD,OAAO;QACH,OAAO,OAAO,CAAC,OAAO,CAClB,UAAU,EACV,IAAI,UAAU,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,CAC9E,CAAC;IACN,CAAC;;AApBe,yBAAE,GAAG,UAAU,CAAC;AAEhB,oCAAa,GAAG,QAAQ,CAAC;AAEzB,+BAAQ,GAAG,QAAQ,CAAC;AAEpB,oCAAa,GAAG,IAAI,CAAC;AAkBzC,eAAe,sBAAsB,CAAC"}
@@ -1,17 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters } from '../../CommandBinaryBuffer.js';
3
- interface IGetMeterArchiveStateParameters extends ICommandParameters {
4
- meterId: number;
5
- archiveType: number;
6
- }
7
- declare class GetMeterArchiveState extends Command {
8
- parameters: IGetMeterArchiveStateParameters;
9
- constructor(parameters: IGetMeterArchiveStateParameters);
10
- static readonly id = 124;
11
- static readonly directionType = 1;
12
- static readonly examples: TCommandExampleList;
13
- static readonly hasParameters = true;
14
- static fromBytes([requestId, meterId, archiveType]: Uint8Array): GetMeterArchiveState;
15
- toBytes(): Uint8Array;
16
- }
17
- export default GetMeterArchiveState;
@@ -1,35 +0,0 @@
1
- import Command from '../../Command.js';
2
- import { REQUEST_ID_SIZE } from '../../CommandBinaryBuffer.js';
3
- import { DOWNLINK } from '../../constants/directions.js';
4
- const COMMAND_ID = 0x7c;
5
- const COMMAND_SIZE = REQUEST_ID_SIZE + 2;
6
- const examples = [
7
- {
8
- name: 'get archive state for meter 3',
9
- parameters: {
10
- requestId: 5,
11
- meterId: 3,
12
- archiveType: 1
13
- },
14
- hex: { header: '7c 03', body: '05 03 01' }
15
- }
16
- ];
17
- class GetMeterArchiveState extends Command {
18
- constructor(parameters) {
19
- super();
20
- this.parameters = parameters;
21
- this.size = COMMAND_SIZE;
22
- }
23
- static fromBytes([requestId, meterId, archiveType]) {
24
- return new GetMeterArchiveState({ requestId, meterId, archiveType });
25
- }
26
- toBytes() {
27
- return Command.toBytes(COMMAND_ID, new Uint8Array([this.parameters.requestId, this.parameters.meterId, this.parameters.archiveType]));
28
- }
29
- }
30
- GetMeterArchiveState.id = COMMAND_ID;
31
- GetMeterArchiveState.directionType = DOWNLINK;
32
- GetMeterArchiveState.examples = examples;
33
- GetMeterArchiveState.hasParameters = true;
34
- export default GetMeterArchiveState;
35
- //# sourceMappingURL=GetMeterArchiveState.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetMeterArchiveState.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetMeterArchiveState.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,eAAe,EAAqB,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAYvD,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,eAAe,GAAG,CAAC,CAAC;AAEzC,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,+BAA+B;QACrC,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,CAAC;SACjB;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAC;KAC3C;CACJ,CAAC;AAwBF,MAAM,oBAAqB,SAAQ,OAAO;IACtC,YAAqB,UAA2C;QAC5D,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAiC;QAG5D,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,CAAC,SAAS,EAAE,OAAO,EAAE,WAAW,CAAa;QAC5D,OAAO,IAAI,oBAAoB,CAAC,EAAC,SAAS,EAAE,OAAO,EAAE,WAAW,EAAC,CAAC,CAAC;IACvE,CAAC;IAGD,OAAO;QACH,OAAO,OAAO,CAAC,OAAO,CAClB,UAAU,EACV,IAAI,UAAU,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CACpG,CAAC;IACN,CAAC;;AApBe,uBAAE,GAAG,UAAU,CAAC;AAEhB,kCAAa,GAAG,QAAQ,CAAC;AAEzB,6BAAQ,GAAG,QAAQ,CAAC;AAEpB,kCAAa,GAAG,IAAI,CAAC;AAkBzC,eAAe,oBAAoB,CAAC"}
@@ -1,16 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters } from '../../CommandBinaryBuffer.js';
3
- interface IGetMeterDateParameters extends ICommandParameters {
4
- meterId: number;
5
- }
6
- declare class GetMeterDate extends Command {
7
- parameters: IGetMeterDateParameters;
8
- constructor(parameters: IGetMeterDateParameters);
9
- static readonly id = 122;
10
- static readonly directionType = 1;
11
- static readonly examples: TCommandExampleList;
12
- static readonly hasParameters = true;
13
- static fromBytes([requestId, meterId]: Uint8Array): GetMeterDate;
14
- toBytes(): Uint8Array;
15
- }
16
- export default GetMeterDate;
@@ -1,33 +0,0 @@
1
- import Command from '../../Command.js';
2
- import { REQUEST_ID_SIZE } from '../../CommandBinaryBuffer.js';
3
- import { DOWNLINK } from '../../constants/directions.js';
4
- const COMMAND_ID = 0x7a;
5
- const examples = [
6
- {
7
- name: 'get date for meter 3',
8
- parameters: {
9
- requestId: 4,
10
- meterId: 3
11
- },
12
- hex: { header: '7a 02', body: '04 03' }
13
- }
14
- ];
15
- class GetMeterDate extends Command {
16
- constructor(parameters) {
17
- super();
18
- this.parameters = parameters;
19
- this.size = REQUEST_ID_SIZE + 1;
20
- }
21
- static fromBytes([requestId, meterId]) {
22
- return new GetMeterDate({ requestId, meterId });
23
- }
24
- toBytes() {
25
- return Command.toBytes(COMMAND_ID, new Uint8Array([this.parameters.requestId, this.parameters.meterId]));
26
- }
27
- }
28
- GetMeterDate.id = COMMAND_ID;
29
- GetMeterDate.directionType = DOWNLINK;
30
- GetMeterDate.examples = examples;
31
- GetMeterDate.hasParameters = true;
32
- export default GetMeterDate;
33
- //# sourceMappingURL=GetMeterDate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetMeterDate.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetMeterDate.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAqB,eAAe,EAAC,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAWvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,OAAO,EAAE,CAAC;SACb;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAC;KACxC;CACJ,CAAC;AAuBF,MAAM,YAAa,SAAQ,OAAO;IAC9B,YAAqB,UAAmC;QACpD,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAyB;QAGpD,IAAI,CAAC,IAAI,GAAG,eAAe,GAAG,CAAC,CAAC;IACpC,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,CAAC,SAAS,EAAE,OAAO,CAAa;QAC/C,OAAO,IAAI,YAAY,CAAC,EAAC,SAAS,EAAE,OAAO,EAAC,CAAC,CAAC;IAClD,CAAC;IAGD,OAAO;QACH,OAAO,OAAO,CAAC,OAAO,CAClB,UAAU,EACV,IAAI,UAAU,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CACvE,CAAC;IACN,CAAC;;AApBe,eAAE,GAAG,UAAU,CAAC;AAEhB,0BAAa,GAAG,QAAQ,CAAC;AAEzB,qBAAQ,GAAG,QAAQ,CAAC;AAEpB,0BAAa,GAAG,IAAI,CAAC;AAkBzC,eAAe,YAAY,CAAC"}
@@ -1,16 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters } from '../../CommandBinaryBuffer.js';
3
- interface IGetMeterIdParameters extends ICommandParameters {
4
- address: string;
5
- }
6
- declare class GetMeterId extends Command {
7
- parameters: IGetMeterIdParameters;
8
- constructor(parameters: IGetMeterIdParameters);
9
- static readonly id = 118;
10
- static readonly directionType = 1;
11
- static readonly examples: TCommandExampleList;
12
- static readonly hasParameters = true;
13
- static fromBytes(data: Uint8Array): GetMeterId;
14
- toBytes(): Uint8Array;
15
- }
16
- export default GetMeterId;
@@ -1,41 +0,0 @@
1
- import Command from '../../Command.js';
2
- import CommandBinaryBuffer, { REQUEST_ID_SIZE } from '../../CommandBinaryBuffer.js';
3
- import { DOWNLINK } from '../../constants/directions.js';
4
- const COMMAND_ID = 0x76;
5
- const examples = [
6
- {
7
- name: 'get meter id for meter with address ma3275',
8
- parameters: {
9
- requestId: 0,
10
- address: 'ma2375'
11
- },
12
- hex: { header: '76 08', body: '00 06 6d 61 32 33 37 35' }
13
- }
14
- ];
15
- class GetMeterId extends Command {
16
- constructor(parameters) {
17
- super();
18
- this.parameters = parameters;
19
- this.size = REQUEST_ID_SIZE + 1 + parameters.address.length;
20
- }
21
- static fromBytes(data) {
22
- const buffer = new CommandBinaryBuffer(data);
23
- return new GetMeterId({
24
- requestId: buffer.getUint8(),
25
- address: buffer.getString()
26
- });
27
- }
28
- toBytes() {
29
- const buffer = new CommandBinaryBuffer(this.size);
30
- const { requestId, address } = this.parameters;
31
- buffer.setUint8(requestId);
32
- buffer.setString(address);
33
- return Command.toBytes(COMMAND_ID, buffer.toUint8Array());
34
- }
35
- }
36
- GetMeterId.id = COMMAND_ID;
37
- GetMeterId.directionType = DOWNLINK;
38
- GetMeterId.examples = examples;
39
- GetMeterId.hasParameters = true;
40
- export default GetMeterId;
41
- //# sourceMappingURL=GetMeterId.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetMeterId.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetMeterId.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,mBAAmB,EAAE,EAAqB,eAAe,EAAC,MAAM,8BAA8B,CAAC;AACtG,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAWvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,4CAA4C;QAClD,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,OAAO,EAAE,QAAQ;SACpB;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,yBAAyB,EAAC;KAC1D;CACJ,CAAC;AAuBF,MAAM,UAAW,SAAQ,OAAO;IAC5B,YAAqB,UAAiC;QAClD,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAuB;QAGlD,IAAI,CAAC,IAAI,GAAG,eAAe,GAAG,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC;IAChE,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,UAAU,CAAC;YAClB,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE;YAC5B,OAAO,EAAE,MAAM,CAAC,SAAS,EAAE;SAC9B,CAAC,CAAC;IACP,CAAC;IAGD,OAAO;QACH,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAc,CAAC,CAAC;QAC5D,MAAM,EAAC,SAAS,EAAE,OAAO,EAAC,GAAG,IAAI,CAAC,UAAU,CAAC;QAE7C,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAC3B,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAE1B,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AA5Be,aAAE,GAAG,UAAU,CAAC;AAEhB,wBAAa,GAAG,QAAQ,CAAC;AAEzB,mBAAQ,GAAG,QAAQ,CAAC;AAEpB,wBAAa,GAAG,IAAI,CAAC;AA0BzC,eAAe,UAAU,CAAC"}
@@ -1,16 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters } from '../../CommandBinaryBuffer.js';
3
- interface IGetMeterIdListParameters extends ICommandParameters {
4
- startIndex: number;
5
- }
6
- declare class GetMeterIdList extends Command {
7
- parameters: IGetMeterIdListParameters;
8
- constructor(parameters: IGetMeterIdListParameters);
9
- static readonly id = 116;
10
- static readonly directionType = 1;
11
- static readonly examples: TCommandExampleList;
12
- static readonly hasParameters = true;
13
- static fromBytes([requestId, startIndex]: Uint8Array): GetMeterIdList;
14
- toBytes(): Uint8Array;
15
- }
16
- export default GetMeterIdList;
@@ -1,33 +0,0 @@
1
- import Command from '../../Command.js';
2
- import { REQUEST_ID_SIZE } from '../../CommandBinaryBuffer.js';
3
- import { DOWNLINK } from '../../constants/directions.js';
4
- const COMMAND_ID = 0x74;
5
- const examples = [
6
- {
7
- name: 'get meter id list',
8
- parameters: {
9
- requestId: 8,
10
- startIndex: 3
11
- },
12
- hex: { header: '74 02', body: '08 03' }
13
- }
14
- ];
15
- class GetMeterIdList extends Command {
16
- constructor(parameters) {
17
- super();
18
- this.parameters = parameters;
19
- this.size = REQUEST_ID_SIZE + 1;
20
- }
21
- static fromBytes([requestId, startIndex]) {
22
- return new GetMeterIdList({ requestId, startIndex });
23
- }
24
- toBytes() {
25
- return Command.toBytes(COMMAND_ID, new Uint8Array([this.parameters.requestId, this.parameters.startIndex]));
26
- }
27
- }
28
- GetMeterIdList.id = COMMAND_ID;
29
- GetMeterIdList.directionType = DOWNLINK;
30
- GetMeterIdList.examples = examples;
31
- GetMeterIdList.hasParameters = true;
32
- export default GetMeterIdList;
33
- //# sourceMappingURL=GetMeterIdList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetMeterIdList.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetMeterIdList.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAqB,eAAe,EAAC,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAWvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,mBAAmB;QACzB,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,UAAU,EAAE,CAAC;SAChB;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAC;KACxC;CACJ,CAAC;AAuBF,MAAM,cAAe,SAAQ,OAAO;IAChC,YAAqB,UAAqC;QACtD,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAA2B;QAGtD,IAAI,CAAC,IAAI,GAAG,eAAe,GAAG,CAAC,CAAC;IACpC,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,CAAC,SAAS,EAAE,UAAU,CAAa;QAClD,OAAO,IAAI,cAAc,CAAC,EAAC,SAAS,EAAE,UAAU,EAAC,CAAC,CAAC;IACvD,CAAC;IAGD,OAAO;QACH,OAAO,OAAO,CAAC,OAAO,CAClB,UAAU,EACV,IAAI,UAAU,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAC1E,CAAC;IACN,CAAC;;AApBe,iBAAE,GAAG,UAAU,CAAC;AAEhB,4BAAa,GAAG,QAAQ,CAAC;AAEzB,uBAAQ,GAAG,QAAQ,CAAC;AAEpB,4BAAa,GAAG,IAAI,CAAC;AAkBzC,eAAe,cAAc,CAAC"}
@@ -1,16 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters } from '../../CommandBinaryBuffer.js';
3
- interface IGetMeterInfoParameters extends ICommandParameters {
4
- meterId: number;
5
- }
6
- declare class GetMeterInfo extends Command {
7
- parameters: IGetMeterInfoParameters;
8
- constructor(parameters: IGetMeterInfoParameters);
9
- static readonly id = 120;
10
- static readonly directionType = 1;
11
- static readonly examples: TCommandExampleList;
12
- static readonly hasParameters = true;
13
- static fromBytes([requestId, meterId]: Uint8Array): GetMeterInfo;
14
- toBytes(): Uint8Array;
15
- }
16
- export default GetMeterInfo;
@@ -1,33 +0,0 @@
1
- import Command from '../../Command.js';
2
- import { REQUEST_ID_SIZE } from '../../CommandBinaryBuffer.js';
3
- import { DOWNLINK } from '../../constants/directions.js';
4
- const COMMAND_ID = 0x78;
5
- const examples = [
6
- {
7
- name: 'get meter info for meter 1',
8
- parameters: {
9
- requestId: 8,
10
- meterId: 1
11
- },
12
- hex: { header: '78 02', body: '08 01' }
13
- }
14
- ];
15
- class GetMeterInfo extends Command {
16
- constructor(parameters) {
17
- super();
18
- this.parameters = parameters;
19
- this.size = REQUEST_ID_SIZE + 1;
20
- }
21
- static fromBytes([requestId, meterId]) {
22
- return new GetMeterInfo({ requestId, meterId });
23
- }
24
- toBytes() {
25
- return Command.toBytes(COMMAND_ID, new Uint8Array([this.parameters.requestId, this.parameters.meterId]));
26
- }
27
- }
28
- GetMeterInfo.id = COMMAND_ID;
29
- GetMeterInfo.directionType = DOWNLINK;
30
- GetMeterInfo.examples = examples;
31
- GetMeterInfo.hasParameters = true;
32
- export default GetMeterInfo;
33
- //# sourceMappingURL=GetMeterInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetMeterInfo.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetMeterInfo.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAqB,eAAe,EAAC,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAWvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,4BAA4B;QAClC,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,OAAO,EAAE,CAAC;SACb;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAC;KACxC;CACJ,CAAC;AAuBF,MAAM,YAAa,SAAQ,OAAO;IAC9B,YAAqB,UAAmC;QACpD,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAyB;QAGpD,IAAI,CAAC,IAAI,GAAG,eAAe,GAAG,CAAC,CAAC;IACpC,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,CAAC,SAAS,EAAE,OAAO,CAAa;QAC/C,OAAO,IAAI,YAAY,CAAC,EAAC,SAAS,EAAE,OAAO,EAAC,CAAC,CAAC;IAClD,CAAC;IAGD,OAAO;QACH,OAAO,OAAO,CAAC,OAAO,CAClB,UAAU,EACV,IAAI,UAAU,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CACvE,CAAC;IACN,CAAC;;AApBe,eAAE,GAAG,UAAU,CAAC;AAEhB,0BAAa,GAAG,QAAQ,CAAC;AAEzB,qBAAQ,GAAG,QAAQ,CAAC;AAEpB,0BAAa,GAAG,IAAI,CAAC;AAkBzC,eAAe,YAAY,CAAC"}
@@ -1,16 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters } from '../../CommandBinaryBuffer.js';
3
- interface IGetMeterProfileIdListParameters extends ICommandParameters {
4
- startIndex: number;
5
- }
6
- declare class GetMeterProfileIdList extends Command {
7
- parameters: IGetMeterProfileIdListParameters;
8
- constructor(parameters: IGetMeterProfileIdListParameters);
9
- static readonly id = 100;
10
- static readonly directionType = 1;
11
- static readonly examples: TCommandExampleList;
12
- static readonly hasParameters = true;
13
- static fromBytes([requestId, startIndex]: Uint8Array): GetMeterProfileIdList;
14
- toBytes(): Uint8Array;
15
- }
16
- export default GetMeterProfileIdList;
@@ -1,33 +0,0 @@
1
- import Command from '../../Command.js';
2
- import { REQUEST_ID_SIZE } from '../../CommandBinaryBuffer.js';
3
- import { DOWNLINK } from '../../constants/directions.js';
4
- const COMMAND_ID = 0x64;
5
- const examples = [
6
- {
7
- name: 'get meter profile id list',
8
- parameters: {
9
- requestId: 8,
10
- startIndex: 3
11
- },
12
- hex: { header: '64 02', body: '08 03' }
13
- }
14
- ];
15
- class GetMeterProfileIdList extends Command {
16
- constructor(parameters) {
17
- super();
18
- this.parameters = parameters;
19
- this.size = REQUEST_ID_SIZE + 1;
20
- }
21
- static fromBytes([requestId, startIndex]) {
22
- return new GetMeterProfileIdList({ requestId, startIndex });
23
- }
24
- toBytes() {
25
- return Command.toBytes(COMMAND_ID, new Uint8Array([this.parameters.requestId, this.parameters.startIndex]));
26
- }
27
- }
28
- GetMeterProfileIdList.id = COMMAND_ID;
29
- GetMeterProfileIdList.directionType = DOWNLINK;
30
- GetMeterProfileIdList.examples = examples;
31
- GetMeterProfileIdList.hasParameters = true;
32
- export default GetMeterProfileIdList;
33
- //# sourceMappingURL=GetMeterProfileIdList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetMeterProfileIdList.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetMeterProfileIdList.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAqB,eAAe,EAAC,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAWvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,2BAA2B;QACjC,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,UAAU,EAAE,CAAC;SAChB;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAC;KACxC;CACJ,CAAC;AAuBF,MAAM,qBAAsB,SAAQ,OAAO;IACvC,YAAqB,UAA4C;QAC7D,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAkC;QAG7D,IAAI,CAAC,IAAI,GAAG,eAAe,GAAG,CAAC,CAAC;IACpC,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,CAAC,SAAS,EAAE,UAAU,CAAa;QAClD,OAAO,IAAI,qBAAqB,CAAC,EAAC,SAAS,EAAE,UAAU,EAAC,CAAC,CAAC;IAC9D,CAAC;IAGD,OAAO;QACH,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,IAAI,UAAU,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAChH,CAAC;;AAjBe,wBAAE,GAAG,UAAU,CAAC;AAEhB,mCAAa,GAAG,QAAQ,CAAC;AAEzB,8BAAQ,GAAG,QAAQ,CAAC;AAEpB,mCAAa,GAAG,IAAI,CAAC;AAezC,eAAe,qBAAqB,CAAC"}
@@ -1,16 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters } from '../../CommandBinaryBuffer.js';
3
- interface IGetMeterReadoutStateParameters extends ICommandParameters {
4
- meterId: number;
5
- }
6
- declare class GetMeterReadoutState extends Command {
7
- parameters: IGetMeterReadoutStateParameters;
8
- constructor(parameters: IGetMeterReadoutStateParameters);
9
- static readonly id = 129;
10
- static readonly directionType = 1;
11
- static readonly examples: TCommandExampleList;
12
- static readonly hasParameters = true;
13
- static fromBytes([requestId, meterId]: Uint8Array): GetMeterReadoutState;
14
- toBytes(): Uint8Array;
15
- }
16
- export default GetMeterReadoutState;
@@ -1,33 +0,0 @@
1
- import Command from '../../Command.js';
2
- import { REQUEST_ID_SIZE } from '../../CommandBinaryBuffer.js';
3
- import { DOWNLINK } from '../../constants/directions.js';
4
- const COMMAND_ID = 0x81;
5
- const examples = [
6
- {
7
- name: 'get readout state for meter 3',
8
- parameters: {
9
- requestId: 9,
10
- meterId: 3
11
- },
12
- hex: { header: '81 02', body: '09 03' }
13
- }
14
- ];
15
- class GetMeterReadoutState extends Command {
16
- constructor(parameters) {
17
- super();
18
- this.parameters = parameters;
19
- this.size = REQUEST_ID_SIZE + (parameters.meterId ? 1 : 0);
20
- }
21
- static fromBytes([requestId, meterId]) {
22
- return new GetMeterReadoutState({ requestId, meterId });
23
- }
24
- toBytes() {
25
- return Command.toBytes(COMMAND_ID, new Uint8Array([this.parameters.requestId, this.parameters.meterId]));
26
- }
27
- }
28
- GetMeterReadoutState.id = COMMAND_ID;
29
- GetMeterReadoutState.directionType = DOWNLINK;
30
- GetMeterReadoutState.examples = examples;
31
- GetMeterReadoutState.hasParameters = true;
32
- export default GetMeterReadoutState;
33
- //# sourceMappingURL=GetMeterReadoutState.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetMeterReadoutState.js","sourceRo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MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAc,CAAC,CAAC;QAE5D,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAC3B,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QACzB,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAErB,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AA9Be,mBAAE,GAAG,UAAU,CAAC;AAEhB,8BAAa,GAAG,QAAQ,CAAC;AAEzB,yBAAQ,GAAG,QAAQ,CAAC;AAEpB,8BAAa,GAAG,IAAI,CAAC;AA4BzC,eAAe,gBAAgB,CAAC"}
@@ -1,17 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters } from '../../CommandBinaryBuffer.js';
3
- interface IGetObisContentByIdParameters extends ICommandParameters {
4
- meterId: number;
5
- obisId: number;
6
- }
7
- declare class GetObisContentById extends Command {
8
- parameters: IGetObisContentByIdParameters;
9
- constructor(parameters: IGetObisContentByIdParameters);
10
- static readonly id = 78;
11
- static readonly directionType = 1;
12
- static readonly examples: TCommandExampleList;
13
- static readonly hasParameters = true;
14
- static fromBytes([requestId, meterId, obisId]: Uint8Array): GetObisContentById;
15
- toBytes(): Uint8Array;
16
- }
17
- export default GetObisContentById;
@@ -1,34 +0,0 @@
1
- import Command from '../../Command.js';
2
- import { REQUEST_ID_SIZE } from '../../CommandBinaryBuffer.js';
3
- import { DOWNLINK } from '../../constants/directions.js';
4
- const COMMAND_ID = 0x4e;
5
- const examples = [
6
- {
7
- name: 'get content for obisId 50 for meter 4',
8
- parameters: {
9
- requestId: 121,
10
- meterId: 4,
11
- obisId: 50
12
- },
13
- hex: { header: '4e 03', body: '79 04 32' }
14
- }
15
- ];
16
- class GetObisContentById extends Command {
17
- constructor(parameters) {
18
- super();
19
- this.parameters = parameters;
20
- this.size = REQUEST_ID_SIZE + 2;
21
- }
22
- static fromBytes([requestId, meterId, obisId]) {
23
- return new GetObisContentById({ requestId, meterId, obisId });
24
- }
25
- toBytes() {
26
- return Command.toBytes(COMMAND_ID, new Uint8Array([this.parameters.requestId, this.parameters.meterId, this.parameters.obisId]));
27
- }
28
- }
29
- GetObisContentById.id = COMMAND_ID;
30
- GetObisContentById.directionType = DOWNLINK;
31
- GetObisContentById.examples = examples;
32
- GetObisContentById.hasParameters = true;
33
- export default GetObisContentById;
34
- //# sourceMappingURL=GetObisContentById.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetObisContentById.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetObisContentById.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAqB,eAAe,EAAC,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAYvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,uCAAuC;QAC7C,UAAU,EAAE;YACR,SAAS,EAAE,GAAG;YACd,OAAO,EAAE,CAAC;YACV,MAAM,EAAE,EAAE;SACb;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAC;KAC3C;CACJ,CAAC;AAwBF,MAAM,kBAAmB,SAAQ,OAAO;IACpC,YAAqB,UAAyC;QAC1D,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAA+B;QAI1D,IAAI,CAAC,IAAI,GAAG,eAAe,GAAG,CAAC,CAAC;IACpC,CAAC;IAWD,MAAM,CAAC,SAAS,CAAG,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,CAAa;QACvD,OAAO,IAAI,kBAAkB,CAAC,EAAC,SAAS,EAAE,OAAO,EAAE,MAAM,EAAC,CAAC,CAAC;IAChE,CAAC;IAGD,OAAO;QACH,OAAO,OAAO,CAAC,OAAO,CAClB,UAAU,EACV,IAAI,UAAU,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAC/F,CAAC;IACN,CAAC;;AAnBe,qBAAE,GAAG,UAAU,CAAC;AAEhB,gCAAa,GAAG,QAAQ,CAAC;AAEzB,2BAAQ,GAAG,QAAQ,CAAC;AAEpB,gCAAa,GAAG,IAAI,CAAC;AAiBzC,eAAe,kBAAkB,CAAC"}
@@ -1,17 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters, IObis } from '../../CommandBinaryBuffer.js';
3
- interface IGetObisIdListParameters extends ICommandParameters {
4
- meterProfileId: number;
5
- obis: IObis;
6
- }
7
- declare class GetObisIdList extends Command {
8
- parameters: IGetObisIdListParameters;
9
- constructor(parameters: IGetObisIdListParameters);
10
- static readonly id = 64;
11
- static readonly directionType = 1;
12
- static readonly examples: TCommandExampleList;
13
- static readonly hasParameters = true;
14
- static fromBytes(data: Uint8Array): GetObisIdList;
15
- toBytes(): Uint8Array;
16
- }
17
- export default GetObisIdList;
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetObisIdList.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetObisIdList.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,mBAAmB,EAAE,EAAC,eAAe,EAA4B,MAAM,8BAA8B,CAAC;AAC7G,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAYvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,qEAAqE;QAC3E,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,cAAc,EAAE,CAAC;YACjB,IAAI,EAAE;gBACF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AG,IAAI,CAAC;AA4BzC,eAAe,aAAa,CAAC"}
@@ -1,17 +0,0 @@
1
- import Command, { TCommandExampleList } from '../../Command.js';
2
- import { ICommandParameters } from '../../CommandBinaryBuffer.js';
3
- interface IGetObisInfoParameters extends ICommandParameters {
4
- meterProfileId: number;
5
- obisId: number;
6
- }
7
- declare class GetObisInfo extends Command {
8
- parameters: IGetObisInfoParameters;
9
- constructor(parameters: IGetObisInfoParameters);
10
- static readonly id = 74;
11
- static readonly directionType = 1;
12
- static readonly examples: TCommandExampleList;
13
- static readonly hasParameters = true;
14
- static fromBytes([requestId, meterProfileId, obisId]: Uint8Array): GetObisInfo;
15
- toBytes(): Uint8Array;
16
- }
17
- export default GetObisInfo;