jooby-codec 2.8.2 → 2.10.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.
- package/dist/analog/Command.d.ts +1 -0
- package/dist/analog/Command.js +4 -0
- package/dist/analog/Command.js.map +1 -1
- package/dist/analog/message.d.ts +2 -0
- package/dist/analog/message.js +4 -0
- package/dist/analog/message.js.map +1 -1
- package/dist/obis-observer/Command.d.ts +1 -0
- package/dist/obis-observer/Command.js +7 -8
- package/dist/obis-observer/Command.js.map +1 -1
- package/dist/obis-observer/CommandBinaryBuffer.d.ts +7 -7
- package/dist/obis-observer/CommandBinaryBuffer.js +11 -11
- package/dist/obis-observer/CommandBinaryBuffer.js.map +1 -1
- package/dist/obis-observer/commands/downlink/AddMeterProfile.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/AddMeterProfile.js +34 -0
- package/dist/obis-observer/commands/downlink/AddMeterProfile.js.map +1 -0
- package/dist/obis-observer/commands/downlink/AddObisProfile.d.ts +18 -0
- package/dist/obis-observer/commands/downlink/{AddShortNameProfile.js → AddObisProfile.js} +20 -17
- package/dist/obis-observer/commands/downlink/AddObisProfile.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetLorawanInfo.d.ts +2 -2
- package/dist/obis-observer/commands/downlink/GetLorawanInfo.js +6 -13
- package/dist/obis-observer/commands/downlink/GetLorawanInfo.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetLorawanState.d.ts +2 -2
- package/dist/obis-observer/commands/downlink/GetLorawanState.js +6 -13
- package/dist/obis-observer/commands/downlink/GetLorawanState.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterArchiveProfile.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/GetMeterArchiveProfile.js +34 -0
- package/dist/obis-observer/commands/downlink/GetMeterArchiveProfile.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetMeterArchiveState.d.ts +17 -0
- package/dist/obis-observer/commands/downlink/GetMeterArchiveState.js +35 -0
- package/dist/obis-observer/commands/downlink/GetMeterArchiveState.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetMeterDate.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/GetMeterDate.js +33 -0
- package/dist/obis-observer/commands/downlink/GetMeterDate.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetMeterId.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/{GetShortNameInfo.js → GetMeterId.js} +17 -17
- package/dist/obis-observer/commands/downlink/GetMeterId.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetMeterIdList.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/GetMeterIdList.js +33 -0
- package/dist/obis-observer/commands/downlink/GetMeterIdList.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetMeterInfo.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/GetMeterInfo.js +33 -0
- package/dist/obis-observer/commands/downlink/GetMeterInfo.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetMeterProfileIdList.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/GetMeterProfileIdList.js +33 -0
- package/dist/obis-observer/commands/downlink/GetMeterProfileIdList.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetMeterReadoutState.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/GetMeterReadoutState.js +33 -0
- package/dist/obis-observer/commands/downlink/GetMeterReadoutState.js.map +1 -0
- package/dist/obis-observer/commands/downlink/{GetContentByObis.d.ts → GetObisContent.d.ts} +2 -1
- package/dist/obis-observer/commands/downlink/{GetContentByObis.js → GetObisContent.js} +9 -6
- package/dist/obis-observer/commands/downlink/GetObisContent.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetObisContentById.d.ts +17 -0
- package/dist/obis-observer/commands/downlink/GetObisContentById.js +34 -0
- package/dist/obis-observer/commands/downlink/GetObisContentById.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetObisIdList.d.ts +17 -0
- package/dist/obis-observer/commands/downlink/{SetShortName.js → GetObisIdList.js} +15 -15
- package/dist/obis-observer/commands/downlink/GetObisIdList.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetObisInfo.d.ts +17 -0
- package/dist/obis-observer/commands/downlink/GetObisInfo.js +34 -0
- package/dist/obis-observer/commands/downlink/GetObisInfo.js.map +1 -0
- package/dist/obis-observer/commands/downlink/GetObisProfile.d.ts +17 -0
- package/dist/obis-observer/commands/downlink/GetObisProfile.js +35 -0
- package/dist/obis-observer/commands/downlink/GetObisProfile.js.map +1 -0
- package/dist/obis-observer/commands/downlink/{GetReadoutState.d.ts → GetObserverCapabilities.d.ts} +4 -4
- package/dist/obis-observer/commands/downlink/GetObserverCapabilities.js +32 -0
- package/dist/obis-observer/commands/downlink/GetObserverCapabilities.js.map +1 -0
- package/dist/obis-observer/commands/downlink/{GetDeviceInfo.d.ts → GetObserverInfo.d.ts} +4 -4
- package/dist/obis-observer/commands/downlink/GetObserverInfo.js +32 -0
- package/dist/obis-observer/commands/downlink/GetObserverInfo.js.map +1 -0
- package/dist/obis-observer/commands/downlink/{GetArchiveProfile.d.ts → GetObserverSingleMode.d.ts} +3 -3
- package/dist/obis-observer/commands/downlink/GetObserverSingleMode.js +32 -0
- package/dist/obis-observer/commands/downlink/GetObserverSingleMode.js.map +1 -0
- package/dist/obis-observer/commands/downlink/{GetDate.d.ts → GetObserverUptime.d.ts} +4 -4
- package/dist/obis-observer/commands/downlink/GetObserverUptime.js +32 -0
- package/dist/obis-observer/commands/downlink/GetObserverUptime.js.map +1 -0
- package/dist/obis-observer/commands/downlink/ReadMeterArchive.d.ts +19 -0
- package/dist/obis-observer/commands/downlink/ReadMeterArchive.js +61 -0
- package/dist/obis-observer/commands/downlink/ReadMeterArchive.js.map +1 -0
- package/dist/obis-observer/commands/downlink/Reboot.d.ts +2 -2
- package/dist/obis-observer/commands/downlink/Reboot.js +6 -12
- package/dist/obis-observer/commands/downlink/Reboot.js.map +1 -1
- package/dist/obis-observer/commands/downlink/RemoveMeter.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/RemoveMeter.js +34 -0
- package/dist/obis-observer/commands/downlink/RemoveMeter.js.map +1 -0
- package/dist/obis-observer/commands/downlink/RemoveMeterProfile.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/RemoveMeterProfile.js +34 -0
- package/dist/obis-observer/commands/downlink/RemoveMeterProfile.js.map +1 -0
- package/dist/obis-observer/commands/downlink/RemoveObisProfile.d.ts +17 -0
- package/dist/obis-observer/commands/downlink/RemoveObisProfile.js +35 -0
- package/dist/obis-observer/commands/downlink/RemoveObisProfile.js.map +1 -0
- package/dist/obis-observer/commands/downlink/SetLorawanActivationMethod.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/SetLorawanActivationMethod.js +34 -0
- package/dist/obis-observer/commands/downlink/SetLorawanActivationMethod.js.map +1 -0
- package/dist/obis-observer/commands/downlink/SetMeterArchiveProfile.d.ts +18 -0
- package/dist/obis-observer/commands/downlink/SetMeterArchiveProfile.js +48 -0
- package/dist/obis-observer/commands/downlink/SetMeterArchiveProfile.js.map +1 -0
- package/dist/obis-observer/commands/downlink/SetObisId.d.ts +18 -0
- package/dist/obis-observer/commands/downlink/{GetShortNames.js → SetObisId.js} +19 -13
- package/dist/obis-observer/commands/downlink/SetObisId.js.map +1 -0
- package/dist/obis-observer/commands/downlink/SetObserverSingleMode.d.ts +16 -0
- package/dist/obis-observer/commands/downlink/SetObserverSingleMode.js +34 -0
- package/dist/obis-observer/commands/downlink/SetObserverSingleMode.js.map +1 -0
- package/dist/obis-observer/commands/downlink/SetSerialPort.d.ts +1 -1
- package/dist/obis-observer/commands/downlink/SetSerialPort.js +3 -3
- package/dist/obis-observer/commands/downlink/SetSerialPort.js.map +1 -1
- package/dist/obis-observer/commands/downlink/SetupMeter.d.ts +18 -0
- package/dist/obis-observer/commands/downlink/SetupMeter.js +50 -0
- package/dist/obis-observer/commands/downlink/SetupMeter.js.map +1 -0
- package/dist/obis-observer/commands/downlink/UpdateImageVerify.d.ts +2 -2
- package/dist/obis-observer/commands/downlink/UpdateImageVerify.js +6 -12
- package/dist/obis-observer/commands/downlink/UpdateImageVerify.js.map +1 -1
- package/dist/obis-observer/commands/downlink/UpdateImageWrite.d.ts +1 -1
- package/dist/obis-observer/commands/downlink/UpdateImageWrite.js +4 -6
- package/dist/obis-observer/commands/downlink/UpdateImageWrite.js.map +1 -1
- package/dist/obis-observer/commands/downlink/UpdateRun.d.ts +2 -2
- package/dist/obis-observer/commands/downlink/UpdateRun.js +6 -12
- package/dist/obis-observer/commands/downlink/UpdateRun.js.map +1 -1
- package/dist/obis-observer/commands/downlink/index.d.ts +28 -15
- package/dist/obis-observer/commands/downlink/index.js +28 -15
- package/dist/obis-observer/commands/downlink/index.js.map +1 -1
- package/dist/obis-observer/commands/uplink/AddMeterProfileResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/AddMeterProfileResponse.js +35 -0
- package/dist/obis-observer/commands/uplink/AddMeterProfileResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/AddObisProfileResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/AddObisProfileResponse.js +35 -0
- package/dist/obis-observer/commands/uplink/AddObisProfileResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetLorawanInfoResponse.d.ts +1 -1
- package/dist/obis-observer/commands/uplink/GetLorawanInfoResponse.js +3 -3
- package/dist/obis-observer/commands/uplink/GetLorawanInfoResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetLorawanStateResponse.d.ts +1 -1
- package/dist/obis-observer/commands/uplink/GetLorawanStateResponse.js +23 -26
- package/dist/obis-observer/commands/uplink/GetLorawanStateResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/{GetArchiveProfileResponse.d.ts → GetMeterArchiveProfileResponse.d.ts} +1 -1
- package/dist/obis-observer/commands/uplink/{GetArchiveProfileResponse.js → GetMeterArchiveProfileResponse.js} +4 -4
- package/dist/obis-observer/commands/uplink/GetMeterArchiveProfileResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetMeterArchiveStateResponse.d.ts +19 -0
- package/dist/obis-observer/commands/uplink/GetMeterArchiveStateResponse.js +78 -0
- package/dist/obis-observer/commands/uplink/GetMeterArchiveStateResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetMeterDateResponse.d.ts +18 -0
- package/dist/obis-observer/commands/uplink/{GetDateResponse.js → GetMeterDateResponse.js} +18 -18
- package/dist/obis-observer/commands/uplink/GetMeterDateResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetMeterIdListResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/GetMeterIdListResponse.js +43 -0
- package/dist/obis-observer/commands/uplink/GetMeterIdListResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetMeterIdResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/GetMeterIdResponse.js +34 -0
- package/dist/obis-observer/commands/uplink/GetMeterIdResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetMeterInfoResponse.d.ts +17 -0
- package/dist/obis-observer/commands/uplink/GetMeterInfoResponse.js +57 -0
- package/dist/obis-observer/commands/uplink/GetMeterInfoResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetMeterProfileIdListResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/GetMeterProfileIdListResponse.js +43 -0
- package/dist/obis-observer/commands/uplink/GetMeterProfileIdListResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/{GetReadoutStateResponse.d.ts → GetMeterReadoutStateResponse.d.ts} +7 -7
- package/dist/obis-observer/commands/uplink/{GetReadoutStateResponse.js → GetMeterReadoutStateResponse.js} +11 -11
- package/dist/obis-observer/commands/uplink/GetMeterReadoutStateResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetObisContentByIdResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/{GetContentByShortNameResponse.js → GetObisContentByIdResponse.js} +11 -11
- package/dist/obis-observer/commands/uplink/GetObisContentByIdResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetObisContentByIdStringResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/{GetContentByShortNameStringResponse.js → GetObisContentByIdStringResponse.js} +12 -14
- package/dist/obis-observer/commands/uplink/GetObisContentByIdStringResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/{GetContentByObisResponse.d.ts → GetObisContentResponse.d.ts} +1 -1
- package/dist/obis-observer/commands/uplink/{GetContentByObisResponse.js → GetObisContentResponse.js} +5 -7
- package/dist/obis-observer/commands/uplink/GetObisContentResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetObisIdListResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/GetObisIdListResponse.js +43 -0
- package/dist/obis-observer/commands/uplink/GetObisIdListResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetObisInfoResponse.d.ts +17 -0
- package/dist/obis-observer/commands/uplink/{GetShortNameInfoResponse.js → GetObisInfoResponse.js} +13 -14
- package/dist/obis-observer/commands/uplink/GetObisInfoResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetObisProfileResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/{GetShortNameProfileResponse.js → GetObisProfileResponse.js} +11 -11
- package/dist/obis-observer/commands/uplink/GetObisProfileResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetObserverCapabilitiesResponse.d.ts +19 -0
- package/dist/obis-observer/commands/uplink/GetObserverCapabilitiesResponse.js +53 -0
- package/dist/obis-observer/commands/uplink/GetObserverCapabilitiesResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/{GetDeviceInfoResponse.d.ts → GetObserverInfoResponse.d.ts} +7 -7
- package/dist/obis-observer/commands/uplink/{GetDeviceInfoResponse.js → GetObserverInfoResponse.js} +13 -15
- package/dist/obis-observer/commands/uplink/GetObserverInfoResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetObserverSingleModeResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/GetObserverSingleModeResponse.js +33 -0
- package/dist/obis-observer/commands/uplink/GetObserverSingleModeResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/GetObserverUptimeResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/GetObserverUptimeResponse.js +44 -0
- package/dist/obis-observer/commands/uplink/GetObserverUptimeResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/ObservationReport.d.ts +3 -3
- package/dist/obis-observer/commands/uplink/ObservationReport.js +15 -16
- package/dist/obis-observer/commands/uplink/ObservationReport.js.map +1 -1
- package/dist/obis-observer/commands/uplink/ObservationReportString.d.ts +3 -3
- package/dist/obis-observer/commands/uplink/ObservationReportString.js +16 -17
- package/dist/obis-observer/commands/uplink/ObservationReportString.js.map +1 -1
- package/dist/obis-observer/commands/uplink/ReadMeterArchiveResponse.d.ts +18 -0
- package/dist/obis-observer/commands/uplink/{ReadArchiveResponse.js → ReadMeterArchiveResponse.js} +22 -23
- package/dist/obis-observer/commands/uplink/ReadMeterArchiveResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/RebootResponse.d.ts +7 -4
- package/dist/obis-observer/commands/uplink/RebootResponse.js +11 -12
- package/dist/obis-observer/commands/uplink/RebootResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/RemoveMeterProfileResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/RemoveMeterProfileResponse.js +35 -0
- package/dist/obis-observer/commands/uplink/RemoveMeterProfileResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/RemoveMeterResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/RemoveMeterResponse.js +35 -0
- package/dist/obis-observer/commands/uplink/RemoveMeterResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/RemoveObisProfileResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/RemoveObisProfileResponse.js +35 -0
- package/dist/obis-observer/commands/uplink/RemoveObisProfileResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/SetLorawanActivationMethodResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/SetLorawanActivationMethodResponse.js +35 -0
- package/dist/obis-observer/commands/uplink/SetLorawanActivationMethodResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/SetMeterArchiveProfileResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/SetMeterArchiveProfileResponse.js +43 -0
- package/dist/obis-observer/commands/uplink/SetMeterArchiveProfileResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/SetObisIdResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/SetObisIdResponse.js +35 -0
- package/dist/obis-observer/commands/uplink/SetObisIdResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/SetObserverSingleModeResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/SetObserverSingleModeResponse.js +35 -0
- package/dist/obis-observer/commands/uplink/SetObserverSingleModeResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/SetSerialPortResponse.d.ts +2 -2
- package/dist/obis-observer/commands/uplink/SetSerialPortResponse.js +9 -17
- package/dist/obis-observer/commands/uplink/SetSerialPortResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/SetupMeterResponse.d.ts +16 -0
- package/dist/obis-observer/commands/uplink/SetupMeterResponse.js +35 -0
- package/dist/obis-observer/commands/uplink/SetupMeterResponse.js.map +1 -0
- package/dist/obis-observer/commands/uplink/UpdateImageVerifyResponse.d.ts +2 -2
- package/dist/obis-observer/commands/uplink/UpdateImageVerifyResponse.js +8 -16
- package/dist/obis-observer/commands/uplink/UpdateImageVerifyResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/UpdateImageWriteResponse.d.ts +2 -2
- package/dist/obis-observer/commands/uplink/UpdateImageWriteResponse.js +8 -16
- package/dist/obis-observer/commands/uplink/UpdateImageWriteResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/UpdateRunResponse.d.ts +2 -2
- package/dist/obis-observer/commands/uplink/UpdateRunResponse.js +8 -16
- package/dist/obis-observer/commands/uplink/UpdateRunResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/index.d.ts +29 -16
- package/dist/obis-observer/commands/uplink/index.js +29 -16
- package/dist/obis-observer/commands/uplink/index.js.map +1 -1
- package/dist/obis-observer/constants/commandRelations.js +31 -12
- package/dist/obis-observer/constants/commandRelations.js.map +1 -1
- package/dist/obis-observer/constants/index.d.ts +1 -1
- package/dist/obis-observer/constants/index.js +1 -1
- package/dist/obis-observer/constants/index.js.map +1 -1
- package/dist/obis-observer/constants/{shortNames.d.ts → obisIds.d.ts} +4 -4
- package/dist/obis-observer/constants/obisIds.js +228 -0
- package/dist/obis-observer/constants/obisIds.js.map +1 -0
- package/dist/obis-observer/message.d.ts +2 -0
- package/dist/obis-observer/message.js +8 -12
- package/dist/obis-observer/message.js.map +1 -1
- package/dist/utils/getBase64FromBytes.d.ts +2 -0
- package/dist/utils/getBase64FromBytes.js +5 -0
- package/dist/utils/getBase64FromBytes.js.map +1 -0
- package/dist/utils/getBytesFromBase64.d.ts +2 -0
- package/dist/utils/getBytesFromBase64.js +2 -0
- package/dist/utils/getBytesFromBase64.js.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +2 -0
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/obis-observer/commands/downlink/AddShortNameProfile.d.ts +0 -17
- package/dist/obis-observer/commands/downlink/AddShortNameProfile.js.map +0 -1
- package/dist/obis-observer/commands/downlink/GetArchiveProfile.js +0 -39
- package/dist/obis-observer/commands/downlink/GetArchiveProfile.js.map +0 -1
- package/dist/obis-observer/commands/downlink/GetArchiveState.d.ts +0 -16
- package/dist/obis-observer/commands/downlink/GetArchiveState.js +0 -42
- package/dist/obis-observer/commands/downlink/GetArchiveState.js.map +0 -1
- package/dist/obis-observer/commands/downlink/GetContentByObis.js.map +0 -1
- package/dist/obis-observer/commands/downlink/GetContentByShortName.d.ts +0 -17
- package/dist/obis-observer/commands/downlink/GetContentByShortName.js +0 -44
- package/dist/obis-observer/commands/downlink/GetContentByShortName.js.map +0 -1
- package/dist/obis-observer/commands/downlink/GetDate.js +0 -39
- package/dist/obis-observer/commands/downlink/GetDate.js.map +0 -1
- package/dist/obis-observer/commands/downlink/GetDeviceInfo.js +0 -39
- package/dist/obis-observer/commands/downlink/GetDeviceInfo.js.map +0 -1
- package/dist/obis-observer/commands/downlink/GetReadoutState.js +0 -39
- package/dist/obis-observer/commands/downlink/GetReadoutState.js.map +0 -1
- package/dist/obis-observer/commands/downlink/GetShortNameInfo.d.ts +0 -17
- package/dist/obis-observer/commands/downlink/GetShortNameInfo.js.map +0 -1
- package/dist/obis-observer/commands/downlink/GetShortNameProfile.d.ts +0 -16
- package/dist/obis-observer/commands/downlink/GetShortNameProfile.js +0 -45
- package/dist/obis-observer/commands/downlink/GetShortNameProfile.js.map +0 -1
- package/dist/obis-observer/commands/downlink/GetShortNames.d.ts +0 -16
- package/dist/obis-observer/commands/downlink/GetShortNames.js.map +0 -1
- package/dist/obis-observer/commands/downlink/ReadArchive.d.ts +0 -18
- package/dist/obis-observer/commands/downlink/ReadArchive.js +0 -57
- package/dist/obis-observer/commands/downlink/ReadArchive.js.map +0 -1
- package/dist/obis-observer/commands/downlink/RemoveShortNameProfile.d.ts +0 -16
- package/dist/obis-observer/commands/downlink/RemoveShortNameProfile.js +0 -42
- package/dist/obis-observer/commands/downlink/RemoveShortNameProfile.js.map +0 -1
- package/dist/obis-observer/commands/downlink/SetArchiveProfile.d.ts +0 -17
- package/dist/obis-observer/commands/downlink/SetArchiveProfile.js +0 -45
- package/dist/obis-observer/commands/downlink/SetArchiveProfile.js.map +0 -1
- package/dist/obis-observer/commands/downlink/SetShortName.d.ts +0 -17
- package/dist/obis-observer/commands/downlink/SetShortName.js.map +0 -1
- package/dist/obis-observer/commands/uplink/AddShortNameProfileResponse.d.ts +0 -16
- package/dist/obis-observer/commands/uplink/AddShortNameProfileResponse.js +0 -43
- package/dist/obis-observer/commands/uplink/AddShortNameProfileResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetArchiveProfileResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetArchiveStateResponse.d.ts +0 -19
- package/dist/obis-observer/commands/uplink/GetArchiveStateResponse.js +0 -58
- package/dist/obis-observer/commands/uplink/GetArchiveStateResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetContentByObisResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetContentByShortNameResponse.d.ts +0 -16
- package/dist/obis-observer/commands/uplink/GetContentByShortNameResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetContentByShortNameStringResponse.d.ts +0 -16
- package/dist/obis-observer/commands/uplink/GetContentByShortNameStringResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetDateResponse.d.ts +0 -18
- package/dist/obis-observer/commands/uplink/GetDateResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetDeviceInfoResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetReadoutStateResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetShortNameInfoResponse.d.ts +0 -17
- package/dist/obis-observer/commands/uplink/GetShortNameInfoResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetShortNameProfileResponse.d.ts +0 -16
- package/dist/obis-observer/commands/uplink/GetShortNameProfileResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/GetShortNamesResponse.d.ts +0 -16
- package/dist/obis-observer/commands/uplink/GetShortNamesResponse.js +0 -45
- package/dist/obis-observer/commands/uplink/GetShortNamesResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/ReadArchiveResponse.d.ts +0 -18
- package/dist/obis-observer/commands/uplink/ReadArchiveResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/RemoveShortNameProfileResponse.d.ts +0 -16
- package/dist/obis-observer/commands/uplink/RemoveShortNameProfileResponse.js +0 -43
- package/dist/obis-observer/commands/uplink/RemoveShortNameProfileResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/SetArchiveProfileResponse.d.ts +0 -16
- package/dist/obis-observer/commands/uplink/SetArchiveProfileResponse.js +0 -51
- package/dist/obis-observer/commands/uplink/SetArchiveProfileResponse.js.map +0 -1
- package/dist/obis-observer/commands/uplink/SetShortNameResponse.d.ts +0 -16
- package/dist/obis-observer/commands/uplink/SetShortNameResponse.js +0 -43
- package/dist/obis-observer/commands/uplink/SetShortNameResponse.js.map +0 -1
- package/dist/obis-observer/constants/shortNames.js +0 -228
- package/dist/obis-observer/constants/shortNames.js.map +0 -1
|
@@ -1,39 +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 = 0x0d;
|
|
5
|
-
const COMMAND_SIZE = REQUEST_ID_SIZE;
|
|
6
|
-
const examples = [
|
|
7
|
-
{
|
|
8
|
-
name: 'simple request',
|
|
9
|
-
parameters: {
|
|
10
|
-
requestId: 3
|
|
11
|
-
},
|
|
12
|
-
hex: { header: '0d', body: '03' }
|
|
13
|
-
}
|
|
14
|
-
];
|
|
15
|
-
class GetArchiveProfile extends Command {
|
|
16
|
-
constructor(parameters) {
|
|
17
|
-
super();
|
|
18
|
-
this.parameters = parameters;
|
|
19
|
-
this.size = COMMAND_SIZE;
|
|
20
|
-
}
|
|
21
|
-
static fromBytes(data) {
|
|
22
|
-
const buffer = new CommandBinaryBuffer(data);
|
|
23
|
-
return new GetArchiveProfile({ requestId: buffer.getUint8() });
|
|
24
|
-
}
|
|
25
|
-
toBytes() {
|
|
26
|
-
if (typeof this.size !== 'number') {
|
|
27
|
-
throw new Error('unknown or invalid size');
|
|
28
|
-
}
|
|
29
|
-
const buffer = new CommandBinaryBuffer(this.size);
|
|
30
|
-
buffer.setUint8(this.parameters.requestId);
|
|
31
|
-
return Command.toBytes(COMMAND_ID, buffer.toUint8Array());
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
GetArchiveProfile.id = COMMAND_ID;
|
|
35
|
-
GetArchiveProfile.directionType = DOWNLINK;
|
|
36
|
-
GetArchiveProfile.examples = examples;
|
|
37
|
-
GetArchiveProfile.hasParameters = true;
|
|
38
|
-
export default GetArchiveProfile;
|
|
39
|
-
//# sourceMappingURL=GetArchiveProfile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetArchiveProfile.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetArchiveProfile.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,mBAAmB,EAAE,EAAC,eAAe,EAAqB,MAAM,8BAA8B,CAAC;AACtG,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAGvD,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,eAAe,CAAC;AAErC,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;SACf;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC;KAClC;CACJ,CAAC;AAsBF,MAAM,iBAAkB,SAAQ,OAAO;IACnC,YAAqB,UAA8B;QAC/C,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAoB;QAG/C,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,iBAAiB,CAAC,EAAC,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,EAAC,CAAC,CAAC;IACjE,CAAC;IAGD,OAAO;QACH,IAAK,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAG;YACjC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;SAC9C;QAED,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAElD,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;QAE3C,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AA3Be,oBAAE,GAAG,UAAU,CAAC;AAEhB,+BAAa,GAAG,QAAQ,CAAC;AAEzB,0BAAQ,GAAG,QAAQ,CAAC;AAEpB,+BAAa,GAAG,IAAI,CAAC;AAyBzC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
-
import { ICommandParameters } from '../../CommandBinaryBuffer.js';
|
|
3
|
-
interface IGetArchiveStateParameters extends ICommandParameters {
|
|
4
|
-
profile: number;
|
|
5
|
-
}
|
|
6
|
-
declare class GetArchiveState extends Command {
|
|
7
|
-
parameters: IGetArchiveStateParameters;
|
|
8
|
-
constructor(parameters: IGetArchiveStateParameters);
|
|
9
|
-
static readonly id = 40;
|
|
10
|
-
static readonly directionType = 1;
|
|
11
|
-
static readonly examples: TCommandExampleList;
|
|
12
|
-
static readonly hasParameters = true;
|
|
13
|
-
static fromBytes(data: Uint8Array): GetArchiveState;
|
|
14
|
-
toBytes(): Uint8Array;
|
|
15
|
-
}
|
|
16
|
-
export default GetArchiveState;
|
|
@@ -1,42 +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 = 0x28;
|
|
5
|
-
const COMMAND_SIZE = REQUEST_ID_SIZE + 1;
|
|
6
|
-
const examples = [
|
|
7
|
-
{
|
|
8
|
-
name: 'get archive state',
|
|
9
|
-
parameters: {
|
|
10
|
-
requestId: 5,
|
|
11
|
-
profile: 1
|
|
12
|
-
},
|
|
13
|
-
hex: { header: '28', body: '05 01' }
|
|
14
|
-
}
|
|
15
|
-
];
|
|
16
|
-
class GetArchiveState extends Command {
|
|
17
|
-
constructor(parameters) {
|
|
18
|
-
super();
|
|
19
|
-
this.parameters = parameters;
|
|
20
|
-
this.size = COMMAND_SIZE;
|
|
21
|
-
}
|
|
22
|
-
static fromBytes(data) {
|
|
23
|
-
const buffer = new CommandBinaryBuffer(data);
|
|
24
|
-
return new GetArchiveState({
|
|
25
|
-
requestId: buffer.getUint8(),
|
|
26
|
-
profile: buffer.getUint8()
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
toBytes() {
|
|
30
|
-
const buffer = new CommandBinaryBuffer(COMMAND_SIZE);
|
|
31
|
-
const { requestId, profile } = this.parameters;
|
|
32
|
-
buffer.setUint8(requestId);
|
|
33
|
-
buffer.setUint8(profile);
|
|
34
|
-
return Command.toBytes(COMMAND_ID, buffer.toUint8Array());
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
GetArchiveState.id = COMMAND_ID;
|
|
38
|
-
GetArchiveState.directionType = DOWNLINK;
|
|
39
|
-
GetArchiveState.examples = examples;
|
|
40
|
-
GetArchiveState.hasParameters = true;
|
|
41
|
-
export default GetArchiveState;
|
|
42
|
-
//# sourceMappingURL=GetArchiveState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetArchiveState.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetArchiveState.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,mBAAmB,EAAE,EAAC,eAAe,EAAqB,MAAM,8BAA8B,CAAC;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,yBAAyB,CAAC,CAAC;SAC9C;QAED,MAAM,EAAC,SAAS,EAAE,IAAI,EAAC,GAAG,IAAI,CAAC,UAAU,CAAC;QAC1C,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAElD,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAErB,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AAhCe,mBAAE,GAAG,UAAU,CAAC;AAEhB,8BAAa,GAAG,QAAQ,CAAC;AAEzB,yBAAQ,GAAG,QAAQ,CAAC;AAEpB,8BAAa,GAAG,IAAI,CAAC;AA8BzC,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
-
import { ICommandParameters } from '../../CommandBinaryBuffer.js';
|
|
3
|
-
interface IGetContentByShortNameParameters extends ICommandParameters {
|
|
4
|
-
requestId: number;
|
|
5
|
-
shortName: number;
|
|
6
|
-
}
|
|
7
|
-
declare class GetContentByShortName extends Command {
|
|
8
|
-
parameters: IGetContentByShortNameParameters;
|
|
9
|
-
constructor(parameters: IGetContentByShortNameParameters);
|
|
10
|
-
static readonly id = 23;
|
|
11
|
-
static readonly directionType = 1;
|
|
12
|
-
static readonly examples: TCommandExampleList;
|
|
13
|
-
static readonly hasParameters = true;
|
|
14
|
-
static fromBytes(data: Uint8Array): GetContentByShortName;
|
|
15
|
-
toBytes(): Uint8Array;
|
|
16
|
-
}
|
|
17
|
-
export default GetContentByShortName;
|
|
@@ -1,44 +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 = 0x17;
|
|
5
|
-
const examples = [
|
|
6
|
-
{
|
|
7
|
-
name: 'get content for short name 50',
|
|
8
|
-
parameters: {
|
|
9
|
-
requestId: 121,
|
|
10
|
-
shortName: 50
|
|
11
|
-
},
|
|
12
|
-
hex: { header: '17', body: '79 32' }
|
|
13
|
-
}
|
|
14
|
-
];
|
|
15
|
-
class GetContentByShortName extends Command {
|
|
16
|
-
constructor(parameters) {
|
|
17
|
-
super();
|
|
18
|
-
this.parameters = parameters;
|
|
19
|
-
this.size = REQUEST_ID_SIZE + 1;
|
|
20
|
-
}
|
|
21
|
-
static fromBytes(data) {
|
|
22
|
-
const buffer = new CommandBinaryBuffer(data);
|
|
23
|
-
return new GetContentByShortName({
|
|
24
|
-
requestId: buffer.getUint8(),
|
|
25
|
-
shortName: buffer.getUint8()
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
toBytes() {
|
|
29
|
-
if (typeof this.size !== 'number') {
|
|
30
|
-
throw new Error('unknown or invalid size');
|
|
31
|
-
}
|
|
32
|
-
const buffer = new CommandBinaryBuffer(this.size);
|
|
33
|
-
const { requestId, shortName } = this.parameters;
|
|
34
|
-
buffer.setUint8(requestId);
|
|
35
|
-
buffer.setUint8(shortName);
|
|
36
|
-
return Command.toBytes(COMMAND_ID, buffer.toUint8Array());
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
GetContentByShortName.id = COMMAND_ID;
|
|
40
|
-
GetContentByShortName.directionType = DOWNLINK;
|
|
41
|
-
GetContentByShortName.examples = examples;
|
|
42
|
-
GetContentByShortName.hasParameters = true;
|
|
43
|
-
export default GetContentByShortName;
|
|
44
|
-
//# sourceMappingURL=GetContentByShortName.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetContentByShortName.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetContentByShortName.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MA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AAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AA/Be,wBAAE,GAAG,UAAU,CAAC;AAEhB,mCAAa,GAAG,QAAQ,CAAC;AAEzB,8BAAQ,GAAG,QAAQ,CAAC;AAEpB,mCAAa,GAAG,IAAI,CAAC;AA6BzC,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,39 +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 = 0x22;
|
|
5
|
-
const examples = [
|
|
6
|
-
{
|
|
7
|
-
name: 'simple request',
|
|
8
|
-
parameters: {
|
|
9
|
-
requestId: 8
|
|
10
|
-
},
|
|
11
|
-
hex: { header: '22', body: '08' }
|
|
12
|
-
}
|
|
13
|
-
];
|
|
14
|
-
class GetDate extends Command {
|
|
15
|
-
constructor(parameters) {
|
|
16
|
-
super();
|
|
17
|
-
this.parameters = parameters;
|
|
18
|
-
this.size = REQUEST_ID_SIZE;
|
|
19
|
-
}
|
|
20
|
-
static fromBytes(data) {
|
|
21
|
-
const buffer = new CommandBinaryBuffer(data);
|
|
22
|
-
return new GetDate({ requestId: buffer.getUint8() });
|
|
23
|
-
}
|
|
24
|
-
toBytes() {
|
|
25
|
-
if (typeof this.size !== 'number') {
|
|
26
|
-
throw new Error('unknown or invalid size');
|
|
27
|
-
}
|
|
28
|
-
const buffer = new CommandBinaryBuffer(this.size);
|
|
29
|
-
const { requestId } = this.parameters;
|
|
30
|
-
buffer.setUint8(requestId);
|
|
31
|
-
return Command.toBytes(COMMAND_ID, buffer.toUint8Array());
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
GetDate.id = COMMAND_ID;
|
|
35
|
-
GetDate.directionType = DOWNLINK;
|
|
36
|
-
GetDate.examples = examples;
|
|
37
|
-
GetDate.hasParameters = true;
|
|
38
|
-
export default GetDate;
|
|
39
|
-
//# sourceMappingURL=GetDate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetDate.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetDate.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;AAGvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;SACf;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC;KAClC;CACJ,CAAC;AAsBF,MAAM,OAAQ,SAAQ,OAAO;IACzB,YAAqB,UAA8B;QAC/C,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAoB;QAG/C,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;IAChC,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,OAAO,CAAC,EAAC,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,EAAC,CAAC,CAAC;IACvD,CAAC;IAGD,OAAO;QACH,IAAK,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAG;YACjC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;SAC9C;QAED,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClD,MAAM,EAAC,SAAS,EAAC,GAAG,IAAI,CAAC,UAAU,CAAC;QAEpC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAE3B,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AA5Be,UAAE,GAAG,UAAU,CAAC;AAEhB,qBAAa,GAAG,QAAQ,CAAC;AAEzB,gBAAQ,GAAG,QAAQ,CAAC;AAEpB,qBAAa,GAAG,IAAI,CAAC;AA0BzC,eAAe,OAAO,CAAC"}
|
|
@@ -1,39 +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 = 0x20;
|
|
5
|
-
const examples = [
|
|
6
|
-
{
|
|
7
|
-
name: 'simple request',
|
|
8
|
-
parameters: {
|
|
9
|
-
requestId: 7
|
|
10
|
-
},
|
|
11
|
-
hex: { header: '20', body: '07' }
|
|
12
|
-
}
|
|
13
|
-
];
|
|
14
|
-
class GetDeviceInfo extends Command {
|
|
15
|
-
constructor(parameters) {
|
|
16
|
-
super();
|
|
17
|
-
this.parameters = parameters;
|
|
18
|
-
this.size = REQUEST_ID_SIZE;
|
|
19
|
-
}
|
|
20
|
-
static fromBytes(data) {
|
|
21
|
-
const buffer = new CommandBinaryBuffer(data);
|
|
22
|
-
return new GetDeviceInfo({ requestId: buffer.getUint8() });
|
|
23
|
-
}
|
|
24
|
-
toBytes() {
|
|
25
|
-
if (typeof this.size !== 'number') {
|
|
26
|
-
throw new Error('unknown or invalid size');
|
|
27
|
-
}
|
|
28
|
-
const buffer = new CommandBinaryBuffer(this.size);
|
|
29
|
-
const { requestId } = this.parameters;
|
|
30
|
-
buffer.setUint8(requestId);
|
|
31
|
-
return Command.toBytes(COMMAND_ID, buffer.toUint8Array());
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
GetDeviceInfo.id = COMMAND_ID;
|
|
35
|
-
GetDeviceInfo.directionType = DOWNLINK;
|
|
36
|
-
GetDeviceInfo.examples = examples;
|
|
37
|
-
GetDeviceInfo.hasParameters = true;
|
|
38
|
-
export default GetDeviceInfo;
|
|
39
|
-
//# sourceMappingURL=GetDeviceInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetDeviceInfo.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetDeviceInfo.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;AAGvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;SACf;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC;KAClC;CACJ,CAAC;AAsBF,MAAM,aAAc,SAAQ,OAAO;IAC/B,YAAqB,UAA8B;QAC/C,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAoB;QAG/C,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;IAChC,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,aAAa,CAAC,EAAC,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,EAAC,CAAC,CAAC;IAC7D,CAAC;IAGD,OAAO;QACH,IAAK,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAG;YACjC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;SAC9C;QAED,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClD,MAAM,EAAC,SAAS,EAAC,GAAG,IAAI,CAAC,UAAU,CAAC;QAEpC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAE3B,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AA5Be,gBAAE,GAAG,UAAU,CAAC;AAEhB,2BAAa,GAAG,QAAQ,CAAC;AAEzB,sBAAQ,GAAG,QAAQ,CAAC;AAEpB,2BAAa,GAAG,IAAI,CAAC;AA0BzC,eAAe,aAAa,CAAC"}
|
|
@@ -1,39 +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 = 0x26;
|
|
5
|
-
const examples = [
|
|
6
|
-
{
|
|
7
|
-
name: 'simple request',
|
|
8
|
-
parameters: {
|
|
9
|
-
requestId: 8
|
|
10
|
-
},
|
|
11
|
-
hex: { header: '26', body: '08' }
|
|
12
|
-
}
|
|
13
|
-
];
|
|
14
|
-
class GetReadoutState extends Command {
|
|
15
|
-
constructor(parameters) {
|
|
16
|
-
super();
|
|
17
|
-
this.parameters = parameters;
|
|
18
|
-
this.size = REQUEST_ID_SIZE;
|
|
19
|
-
}
|
|
20
|
-
static fromBytes(data) {
|
|
21
|
-
const buffer = new CommandBinaryBuffer(data);
|
|
22
|
-
return new GetReadoutState({ requestId: buffer.getUint8() });
|
|
23
|
-
}
|
|
24
|
-
toBytes() {
|
|
25
|
-
if (typeof this.size !== 'number') {
|
|
26
|
-
throw new Error('unknown or invalid size');
|
|
27
|
-
}
|
|
28
|
-
const buffer = new CommandBinaryBuffer(this.size);
|
|
29
|
-
const { requestId } = this.parameters;
|
|
30
|
-
buffer.setUint8(requestId);
|
|
31
|
-
return Command.toBytes(COMMAND_ID, buffer.toUint8Array());
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
GetReadoutState.id = COMMAND_ID;
|
|
35
|
-
GetReadoutState.directionType = DOWNLINK;
|
|
36
|
-
GetReadoutState.examples = examples;
|
|
37
|
-
GetReadoutState.hasParameters = true;
|
|
38
|
-
export default GetReadoutState;
|
|
39
|
-
//# sourceMappingURL=GetReadoutState.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetReadoutState.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetReadoutState.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;AAGvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;SACf;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC;KAClC;CACJ,CAAC;AAsBF,MAAM,eAAgB,SAAQ,OAAO;IACjC,YAAqB,UAA8B;QAC/C,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAoB;QAG/C,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;IAChC,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,eAAe,CAAC,EAAC,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,EAAC,CAAC,CAAC;IAC/D,CAAC;IAGD,OAAO;QACH,IAAK,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAG;YACjC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;SAC9C;QAED,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClD,MAAM,EAAC,SAAS,EAAC,GAAG,IAAI,CAAC,UAAU,CAAC;QAEpC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAE3B,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AA5Be,kBAAE,GAAG,UAAU,CAAC;AAEhB,6BAAa,GAAG,QAAQ,CAAC;AAEzB,wBAAQ,GAAG,QAAQ,CAAC;AAEpB,6BAAa,GAAG,IAAI,CAAC;AA0BzC,eAAe,eAAe,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
-
import { ICommandParameters } from '../../CommandBinaryBuffer.js';
|
|
3
|
-
interface IGetShortNameInfoParameters extends ICommandParameters {
|
|
4
|
-
requestId: number;
|
|
5
|
-
shortName: number;
|
|
6
|
-
}
|
|
7
|
-
declare class GetShortNameInfo extends Command {
|
|
8
|
-
parameters: IGetShortNameInfoParameters;
|
|
9
|
-
constructor(parameters: IGetShortNameInfoParameters);
|
|
10
|
-
static readonly id = 11;
|
|
11
|
-
static readonly directionType = 1;
|
|
12
|
-
static readonly examples: TCommandExampleList;
|
|
13
|
-
static readonly hasParameters = true;
|
|
14
|
-
static fromBytes(data: Uint8Array): GetShortNameInfo;
|
|
15
|
-
toBytes(): Uint8Array;
|
|
16
|
-
}
|
|
17
|
-
export default GetShortNameInfo;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetShortNameInfo.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetShortNameInfo.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,mBAAmB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,CAAC;IAC9D,CAAC;;AAhCe,mBAAE,GAAG,UAAU,CAAC;AAEhB,8BAAa,GAAG,QAAQ,CAAC;AAEzB,yBAAQ,GAAG,QAAQ,CAAC;AAEpB,8BAAa,GAAG,IAAI,CAAC;AA8BzC,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
-
import { ICommandParameters } from '../../CommandBinaryBuffer.js';
|
|
3
|
-
interface IGetShortNameProfileParameters extends ICommandParameters {
|
|
4
|
-
shortName: number;
|
|
5
|
-
}
|
|
6
|
-
declare class GetShortNameProfile extends Command {
|
|
7
|
-
parameters: IGetShortNameProfileParameters;
|
|
8
|
-
constructor(parameters: IGetShortNameProfileParameters);
|
|
9
|
-
static readonly id = 9;
|
|
10
|
-
static readonly directionType = 1;
|
|
11
|
-
static readonly examples: TCommandExampleList;
|
|
12
|
-
static readonly hasParameters = true;
|
|
13
|
-
static fromBytes(data: Uint8Array): GetShortNameProfile;
|
|
14
|
-
toBytes(): Uint8Array;
|
|
15
|
-
}
|
|
16
|
-
export default GetShortNameProfile;
|
|
@@ -1,45 +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 = 0x09;
|
|
5
|
-
const COMMAND_SIZE = REQUEST_ID_SIZE + 1;
|
|
6
|
-
const examples = [
|
|
7
|
-
{
|
|
8
|
-
name: 'get profile for short name 128',
|
|
9
|
-
parameters: {
|
|
10
|
-
requestId: 4,
|
|
11
|
-
shortName: 128
|
|
12
|
-
},
|
|
13
|
-
hex: { header: '09', body: '04 80' }
|
|
14
|
-
}
|
|
15
|
-
];
|
|
16
|
-
class GetShortNameProfile extends Command {
|
|
17
|
-
constructor(parameters) {
|
|
18
|
-
super();
|
|
19
|
-
this.parameters = parameters;
|
|
20
|
-
this.size = COMMAND_SIZE;
|
|
21
|
-
}
|
|
22
|
-
static fromBytes(data) {
|
|
23
|
-
const buffer = new CommandBinaryBuffer(data);
|
|
24
|
-
return new GetShortNameProfile({
|
|
25
|
-
requestId: buffer.getUint8(),
|
|
26
|
-
shortName: buffer.getUint8()
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
toBytes() {
|
|
30
|
-
if (typeof this.size !== 'number') {
|
|
31
|
-
throw new Error('unknown or invalid size');
|
|
32
|
-
}
|
|
33
|
-
const buffer = new CommandBinaryBuffer(this.size);
|
|
34
|
-
const { requestId, shortName } = this.parameters;
|
|
35
|
-
buffer.setUint8(requestId);
|
|
36
|
-
buffer.setUint8(shortName);
|
|
37
|
-
return Command.toBytes(COMMAND_ID, buffer.toUint8Array());
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
GetShortNameProfile.id = COMMAND_ID;
|
|
41
|
-
GetShortNameProfile.directionType = DOWNLINK;
|
|
42
|
-
GetShortNameProfile.examples = examples;
|
|
43
|
-
GetShortNameProfile.hasParameters = true;
|
|
44
|
-
export default GetShortNameProfile;
|
|
45
|
-
//# sourceMappingURL=GetShortNameProfile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetShortNameProfile.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetShortNameProfile.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,mBAAmB,EAAE,EAAC,eAAe,EAAqB,MAAM,8BAA8B,CAAC;AACtG,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,gCAAgC;QACtC,UAAU,EAAE;YACR,SAAS,EAA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andExampleList } from '../../Command.js';
|
|
2
|
-
import { ICommandParameters, IObis } from '../../CommandBinaryBuffer.js';
|
|
3
|
-
interface IGetShortNamesParameters extends ICommandParameters {
|
|
4
|
-
obis: IObis;
|
|
5
|
-
}
|
|
6
|
-
declare class GetShortNames extends Command {
|
|
7
|
-
parameters: IGetShortNamesParameters;
|
|
8
|
-
constructor(parameters: IGetShortNamesParameters);
|
|
9
|
-
static readonly id = 1;
|
|
10
|
-
static readonly directionType = 1;
|
|
11
|
-
static readonly examples: TCommandExampleList;
|
|
12
|
-
static readonly hasParameters = true;
|
|
13
|
-
static fromBytes(data: Uint8Array): GetShortNames;
|
|
14
|
-
toBytes(): Uint8Array;
|
|
15
|
-
}
|
|
16
|
-
export default GetShortNames;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetShortNames.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/GetShortNames.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;AAWvD,MAAM,UAAU,GAAG,IAAI,CAAC;AAExB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iDAAiD;QACvD,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE;gBACF,CAAC,EAAE,CAAC;gBACJ,CAAC,EAAE,CAAC;gBACJ,CAAC,EAAE,CAAC;aACP;SACJ;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAC;KAC9C;CACJ,CAAC;AA2BF,MAAM,aAAc,SAAQ,OAAO;IAC/B,YAAqB,UAAoC;QACrD,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAA0B;QAGrD,IAAI,CAAC,IAAI,GAAG,eAAe,GAAG,mBAAmB,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IACnF,CAAC;IAaD,MAAM,CAAC,SAAS,CAAG,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,aAAa,CAAC;YACrB,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE;YAC5B,IAAI,EAAE,MAAM,CAAC,OAAO,EAAE;SACzB,CAAC,CAAC;IACP,CAAC;IAGD,OAAO;QACH,IAAK,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAG;YACjC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;SAC9C;QAED,MAAM,EAAC,SAAS,EAAE,IAAI,EAAC,GAAG,IAAI,CAAC,UAAU,CAAC;QAC1C,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAElD,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAC3B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAErB,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AAhCe,gBAAE,GAAG,UAAU,CAAC;AAEhB,2BAAa,GAAG,QAAQ,CAAC;AAEzB,sBAAQ,GAAG,QAAQ,CAAC;AAEpB,2BAAa,GAAG,IAAI,CAAC;AA8BzC,eAAe,aAAa,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
-
import { ICommandParameters } from '../../CommandBinaryBuffer.js';
|
|
3
|
-
import { TTime2000 } from '../../../utils/time.js';
|
|
4
|
-
interface IReadArchiveParameters extends ICommandParameters {
|
|
5
|
-
profile: number;
|
|
6
|
-
time2000: TTime2000;
|
|
7
|
-
}
|
|
8
|
-
declare class ReadArchive extends Command {
|
|
9
|
-
parameters: IReadArchiveParameters;
|
|
10
|
-
constructor(parameters: IReadArchiveParameters);
|
|
11
|
-
static readonly id = 17;
|
|
12
|
-
static readonly directionType = 1;
|
|
13
|
-
static readonly examples: TCommandExampleList;
|
|
14
|
-
static readonly hasParameters = true;
|
|
15
|
-
static fromBytes(data: Uint8Array): ReadArchive;
|
|
16
|
-
toBytes(): Uint8Array;
|
|
17
|
-
}
|
|
18
|
-
export default ReadArchive;
|
|
@@ -1,57 +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 = 0x11;
|
|
5
|
-
const COMMAND_SIZE = REQUEST_ID_SIZE + 5;
|
|
6
|
-
const examples = [
|
|
7
|
-
{
|
|
8
|
-
name: 'request profile 1 from 2023.12.23 00:00:00 GMT',
|
|
9
|
-
parameters: {
|
|
10
|
-
requestId: 33,
|
|
11
|
-
profile: 1,
|
|
12
|
-
time2000: 756604800
|
|
13
|
-
},
|
|
14
|
-
hex: { header: '11', body: '21 01 2d 18 df 80' }
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
name: 'request profile 2 from 2023-12-23 04:00:00 GMT',
|
|
18
|
-
parameters: {
|
|
19
|
-
requestId: 34,
|
|
20
|
-
profile: 2,
|
|
21
|
-
time2000: 756619200
|
|
22
|
-
},
|
|
23
|
-
hex: { header: '11', body: '22 02 2d 19 17 c0' }
|
|
24
|
-
}
|
|
25
|
-
];
|
|
26
|
-
class ReadArchive extends Command {
|
|
27
|
-
constructor(parameters) {
|
|
28
|
-
super();
|
|
29
|
-
this.parameters = parameters;
|
|
30
|
-
this.size = COMMAND_SIZE;
|
|
31
|
-
}
|
|
32
|
-
static fromBytes(data) {
|
|
33
|
-
const buffer = new CommandBinaryBuffer(data);
|
|
34
|
-
return new ReadArchive({
|
|
35
|
-
requestId: buffer.getUint8(),
|
|
36
|
-
profile: buffer.getUint8(),
|
|
37
|
-
time2000: buffer.getUint32()
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
toBytes() {
|
|
41
|
-
if (typeof this.size !== 'number') {
|
|
42
|
-
throw new Error('unknown or invalid size');
|
|
43
|
-
}
|
|
44
|
-
const { requestId, profile, time2000 } = this.parameters;
|
|
45
|
-
const buffer = new CommandBinaryBuffer(this.size);
|
|
46
|
-
buffer.setUint8(requestId);
|
|
47
|
-
buffer.setUint8(profile);
|
|
48
|
-
buffer.setUint32(time2000);
|
|
49
|
-
return Command.toBytes(COMMAND_ID, buffer.toUint8Array());
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
ReadArchive.id = COMMAND_ID;
|
|
53
|
-
ReadArchive.directionType = DOWNLINK;
|
|
54
|
-
ReadArchive.examples = examples;
|
|
55
|
-
ReadArchive.hasParameters = true;
|
|
56
|
-
export default ReadArchive;
|
|
57
|
-
//# sourceMappingURL=ReadArchive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReadArchive.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/ReadArchive.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,mBAAmB,EAAE,EAAC,eAAe,EAAqB,MAAM,8BAA8B,CAAC;AACtG,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAavD,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,eAAe,GAAG,CAAC,CAAC;AAEzC,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,gDAAgD;QACtD,UAAU,EAAE;YACR,SAAS,EAAE,EAAE;YACb,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,SAAS;SACtB;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,mBAAmB,E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AAG,UAAU,CAAC;AAEhB,yBAAa,GAAG,QAAQ,CAAC;AAEzB,oBAAQ,GAAG,QAAQ,CAAC;AAEpB,yBAAa,GAAG,IAAI,CAAC;AAgCzC,eAAe,WAAW,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
-
import { ICommandParameters } from '../../CommandBinaryBuffer.js';
|
|
3
|
-
interface IRemoveShortNameProfileParameters extends ICommandParameters {
|
|
4
|
-
shortName: number;
|
|
5
|
-
}
|
|
6
|
-
declare class RemoveShortNameProfile extends Command {
|
|
7
|
-
parameters: IRemoveShortNameProfileParameters;
|
|
8
|
-
constructor(parameters: IRemoveShortNameProfileParameters);
|
|
9
|
-
static readonly id = 7;
|
|
10
|
-
static readonly directionType = 1;
|
|
11
|
-
static readonly examples: TCommandExampleList;
|
|
12
|
-
static readonly hasParameters = true;
|
|
13
|
-
static fromBytes(data: Uint8Array): RemoveShortNameProfile;
|
|
14
|
-
toBytes(): Uint8Array;
|
|
15
|
-
}
|
|
16
|
-
export default RemoveShortNameProfile;
|
|
@@ -1,42 +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 = 0x07;
|
|
5
|
-
const COMMAND_SIZE = 1 + REQUEST_ID_SIZE;
|
|
6
|
-
const examples = [
|
|
7
|
-
{
|
|
8
|
-
name: 'remove profile for short name 28',
|
|
9
|
-
parameters: {
|
|
10
|
-
requestId: 5,
|
|
11
|
-
shortName: 28
|
|
12
|
-
},
|
|
13
|
-
hex: { header: '07', body: '05 1c' }
|
|
14
|
-
}
|
|
15
|
-
];
|
|
16
|
-
class RemoveShortNameProfile extends Command {
|
|
17
|
-
constructor(parameters) {
|
|
18
|
-
super();
|
|
19
|
-
this.parameters = parameters;
|
|
20
|
-
this.size = COMMAND_SIZE;
|
|
21
|
-
}
|
|
22
|
-
static fromBytes(data) {
|
|
23
|
-
const buffer = new CommandBinaryBuffer(data);
|
|
24
|
-
return new RemoveShortNameProfile({
|
|
25
|
-
requestId: buffer.getUint8(),
|
|
26
|
-
shortName: buffer.getUint8()
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
toBytes() {
|
|
30
|
-
const buffer = new CommandBinaryBuffer(COMMAND_SIZE);
|
|
31
|
-
const { requestId, shortName } = this.parameters;
|
|
32
|
-
buffer.setUint8(requestId);
|
|
33
|
-
buffer.setUint8(shortName);
|
|
34
|
-
return Command.toBytes(COMMAND_ID, buffer.toUint8Array());
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
RemoveShortNameProfile.id = COMMAND_ID;
|
|
38
|
-
RemoveShortNameProfile.directionType = DOWNLINK;
|
|
39
|
-
RemoveShortNameProfile.examples = examples;
|
|
40
|
-
RemoveShortNameProfile.hasParameters = true;
|
|
41
|
-
export default RemoveShortNameProfile;
|
|
42
|
-
//# sourceMappingURL=RemoveShortNameProfile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RemoveShortNameProfile.js","sourceRoot":"","sources":["../../../../src/obis-observer/commands/downlink/RemoveShortNameProfile.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,mBAAmB,EAAE,EAAC,eAAe,EAAqB,MAAM,8BAA8B,CAAC;AACtG,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAC;AAWvD,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,GAAG,eAAe,CAAC;AAEzC,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,kCAAkC;QACxC,UAAU,EAAE;YACR,SAAS,EAAE,CAAC;YACZ,SAAS,EAAE,EAAE;SAChB;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAC;KACrC;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,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,sBAAsB,CAAC;YAC9B,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE;YAC5B,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE;SAC/B,CAAC,CAAC;IACP,CAAC;IAGD,OAAO;QACH,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,YAAY,CAAC,CAAC;QACrD,MAAM,EAAC,SAAS,EAAE,SAAS,EAAC,GAAG,IAAI,CAAC,UAAU,CAAC;QAE/C,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAC3B,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;QAE3B,OAAO,OAAO,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;;AA5Be,yBAAE,GAAG,UAAU,CAAC;AAEhB,oCAAa,GAAG,QAAQ,CAAC;AAEzB,+BAAQ,GAAG,QAAQ,CAAC;AAEpB,oCAAa,GAAG,IAAI,CAAC;AA0BzC,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
-
import { ICommandParameters } from '../../CommandBinaryBuffer.js';
|
|
3
|
-
interface ISetArchiveProfileParameters extends ICommandParameters {
|
|
4
|
-
archiveProfile1Period: number;
|
|
5
|
-
archiveProfile2Period: number;
|
|
6
|
-
}
|
|
7
|
-
declare class SetArchiveProfile extends Command {
|
|
8
|
-
parameters: ISetArchiveProfileParameters;
|
|
9
|
-
constructor(parameters: ISetArchiveProfileParameters);
|
|
10
|
-
static readonly id = 15;
|
|
11
|
-
static readonly directionType = 1;
|
|
12
|
-
static readonly examples: TCommandExampleList;
|
|
13
|
-
static readonly hasParameters = true;
|
|
14
|
-
static fromBytes(data: Uint8Array): SetArchiveProfile;
|
|
15
|
-
toBytes(): Uint8Array;
|
|
16
|
-
}
|
|
17
|
-
export default SetArchiveProfile;
|