jooby-codec 3.2.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analog/Command.js.map +1 -1
- package/dist/analog/CommandBinaryBuffer.d.ts +4 -5
- package/dist/analog/CommandBinaryBuffer.js +59 -18
- package/dist/analog/CommandBinaryBuffer.js.map +1 -1
- package/dist/analog/commands/downlink/CorrectTime2000.js +1 -1
- package/dist/analog/commands/downlink/CorrectTime2000.js.map +1 -1
- package/dist/analog/commands/downlink/GetArchiveDays.js +1 -1
- package/dist/analog/commands/downlink/GetArchiveDays.js.map +1 -1
- package/dist/analog/commands/downlink/GetArchiveDaysMC.js +1 -1
- package/dist/analog/commands/downlink/GetArchiveDaysMC.js.map +1 -1
- package/dist/analog/commands/downlink/GetArchiveEvents.js +1 -1
- package/dist/analog/commands/downlink/GetArchiveEvents.js.map +1 -1
- package/dist/analog/commands/downlink/GetArchiveHours.js +1 -1
- package/dist/analog/commands/downlink/GetArchiveHours.js.map +1 -1
- package/dist/analog/commands/downlink/GetArchiveHoursMC.js +1 -1
- package/dist/analog/commands/downlink/GetArchiveHoursMC.js.map +1 -1
- package/dist/analog/commands/downlink/GetBatteryStatus.d.ts +11 -0
- package/dist/analog/commands/downlink/GetBatteryStatus.js +26 -0
- package/dist/analog/commands/downlink/GetBatteryStatus.js.map +1 -0
- package/dist/analog/commands/downlink/GetCurrent.js +1 -1
- package/dist/analog/commands/downlink/GetCurrent.js.map +1 -1
- package/dist/analog/commands/downlink/GetCurrentMC.js +1 -1
- package/dist/analog/commands/downlink/GetCurrentMC.js.map +1 -1
- package/dist/analog/commands/downlink/GetExAbsArchiveDaysMC.js +1 -1
- package/dist/analog/commands/downlink/GetExAbsArchiveDaysMC.js.map +1 -1
- package/dist/analog/commands/downlink/GetExAbsArchiveHoursMC.js +1 -1
- package/dist/analog/commands/downlink/GetExAbsArchiveHoursMC.js.map +1 -1
- package/dist/analog/commands/downlink/GetExAbsCurrentMC.js +1 -1
- package/dist/analog/commands/downlink/GetExAbsCurrentMC.js.map +1 -1
- package/dist/analog/commands/downlink/GetLmicInfo.js +1 -1
- package/dist/analog/commands/downlink/GetLmicInfo.js.map +1 -1
- package/dist/analog/commands/downlink/GetParameter.js +1 -1
- package/dist/analog/commands/downlink/GetParameter.js.map +1 -1
- package/dist/analog/commands/downlink/GetStatus.js +1 -1
- package/dist/analog/commands/downlink/GetStatus.js.map +1 -1
- package/dist/analog/commands/downlink/GetTime2000.d.ts +11 -0
- package/dist/analog/commands/downlink/GetTime2000.js +26 -0
- package/dist/analog/commands/downlink/GetTime2000.js.map +1 -0
- package/dist/analog/commands/downlink/SetParameter.js +1 -1
- package/dist/analog/commands/downlink/SetParameter.js.map +1 -1
- package/dist/analog/commands/downlink/SetTime2000.js +1 -1
- package/dist/analog/commands/downlink/SetTime2000.js.map +1 -1
- package/dist/analog/commands/downlink/SoftRestart.js +1 -1
- package/dist/analog/commands/downlink/SoftRestart.js.map +1 -1
- package/dist/analog/commands/downlink/UpdateRun.d.ts +10 -0
- package/dist/analog/commands/downlink/UpdateRun.js +23 -0
- package/dist/analog/commands/downlink/UpdateRun.js.map +1 -0
- package/dist/analog/commands/downlink/VerifyImage.d.ts +10 -0
- package/dist/analog/commands/downlink/VerifyImage.js +23 -0
- package/dist/analog/commands/downlink/VerifyImage.js.map +1 -0
- package/dist/analog/commands/downlink/WriteImage.d.ts +16 -0
- package/dist/analog/commands/downlink/WriteImage.js +45 -0
- package/dist/analog/commands/downlink/WriteImage.js.map +1 -0
- package/dist/analog/commands/downlink/index.d.ts +8 -3
- package/dist/analog/commands/downlink/index.js +8 -3
- package/dist/analog/commands/downlink/index.js.map +1 -1
- package/dist/analog/commands/uplink/CorrectTime2000Response.js +1 -1
- package/dist/analog/commands/uplink/CorrectTime2000Response.js.map +1 -1
- package/dist/analog/commands/uplink/Current.js +1 -1
- package/dist/analog/commands/uplink/Current.js.map +1 -1
- package/dist/analog/commands/uplink/CurrentMC.js +1 -1
- package/dist/analog/commands/uplink/CurrentMC.js.map +1 -1
- package/dist/analog/commands/uplink/Day.js +1 -1
- package/dist/analog/commands/uplink/Day.js.map +1 -1
- package/dist/analog/commands/uplink/DayMC.js +1 -1
- package/dist/analog/commands/uplink/DayMC.js.map +1 -1
- package/dist/analog/commands/uplink/ExAbsCurrentMC.js +1 -1
- package/dist/analog/commands/uplink/ExAbsCurrentMC.js.map +1 -1
- package/dist/analog/commands/uplink/ExAbsDayMC.js +1 -1
- package/dist/analog/commands/uplink/ExAbsDayMC.js.map +1 -1
- package/dist/analog/commands/uplink/ExAbsHourMC.js +4 -24
- package/dist/analog/commands/uplink/ExAbsHourMC.js.map +1 -1
- package/dist/analog/commands/uplink/GetArchiveDaysMCResponse.js +15 -1
- package/dist/analog/commands/uplink/GetArchiveDaysMCResponse.js.map +1 -1
- package/dist/analog/commands/uplink/GetArchiveDaysResponse.js +1 -1
- package/dist/analog/commands/uplink/GetArchiveDaysResponse.js.map +1 -1
- package/dist/analog/commands/uplink/GetArchiveEventsResponse.js +1 -1
- package/dist/analog/commands/uplink/GetArchiveEventsResponse.js.map +1 -1
- package/dist/analog/commands/uplink/GetArchiveHoursMCResponse.js +10 -1
- package/dist/analog/commands/uplink/GetArchiveHoursMCResponse.js.map +1 -1
- package/dist/analog/commands/uplink/GetArchiveHoursResponse.js +1 -1
- package/dist/analog/commands/uplink/GetArchiveHoursResponse.js.map +1 -1
- package/dist/analog/commands/uplink/GetBatteryStatusResponse.d.ts +21 -0
- package/dist/analog/commands/uplink/GetBatteryStatusResponse.js +57 -0
- package/dist/analog/commands/uplink/GetBatteryStatusResponse.js.map +1 -0
- package/dist/analog/commands/uplink/GetExAbsArchiveDaysMCResponse.d.ts +2 -2
- package/dist/analog/commands/uplink/GetExAbsArchiveDaysMCResponse.js +7 -3
- package/dist/analog/commands/uplink/GetExAbsArchiveDaysMCResponse.js.map +1 -1
- package/dist/analog/commands/uplink/GetExAbsArchiveHoursMCResponse.d.ts +2 -2
- package/dist/analog/commands/uplink/GetExAbsArchiveHoursMCResponse.js +12 -24
- package/dist/analog/commands/uplink/GetExAbsArchiveHoursMCResponse.js.map +1 -1
- package/dist/analog/commands/uplink/GetLmicInfoResponse.js +1 -1
- package/dist/analog/commands/uplink/GetLmicInfoResponse.js.map +1 -1
- package/dist/analog/commands/uplink/GetParameterResponse.js +1 -1
- package/dist/analog/commands/uplink/GetParameterResponse.js.map +1 -1
- package/dist/analog/commands/uplink/Hour.js +1 -1
- package/dist/analog/commands/uplink/Hour.js.map +1 -1
- package/dist/analog/commands/uplink/HourMC.js +1 -1
- package/dist/analog/commands/uplink/HourMC.js.map +1 -1
- package/dist/analog/commands/uplink/LastEvent.js +1 -1
- package/dist/analog/commands/uplink/LastEvent.js.map +1 -1
- package/dist/analog/commands/uplink/NewEvent.js +1 -1
- package/dist/analog/commands/uplink/NewEvent.js.map +1 -1
- package/dist/analog/commands/uplink/SetParameterResponse.js +1 -1
- package/dist/analog/commands/uplink/SetParameterResponse.js.map +1 -1
- package/dist/analog/commands/uplink/SetTime2000Response.js +1 -1
- package/dist/analog/commands/uplink/SetTime2000Response.js.map +1 -1
- package/dist/analog/commands/uplink/SoftRestartResponse.js +1 -1
- package/dist/analog/commands/uplink/SoftRestartResponse.js.map +1 -1
- package/dist/analog/commands/uplink/Status.js +2 -2
- package/dist/analog/commands/uplink/Status.js.map +1 -1
- package/dist/analog/commands/uplink/Time2000.js +1 -1
- package/dist/analog/commands/uplink/Time2000.js.map +1 -1
- package/dist/analog/commands/uplink/UpdateRunResponse.d.ts +10 -0
- package/dist/analog/commands/uplink/UpdateRunResponse.js +23 -0
- package/dist/analog/commands/uplink/UpdateRunResponse.js.map +1 -0
- package/dist/analog/commands/uplink/VerifyImageResponse.d.ts +15 -0
- package/dist/analog/commands/uplink/VerifyImageResponse.js +29 -0
- package/dist/analog/commands/uplink/VerifyImageResponse.js.map +1 -0
- package/dist/analog/commands/uplink/WriteImageResponse.d.ts +16 -0
- package/dist/analog/commands/uplink/WriteImageResponse.js +41 -0
- package/dist/analog/commands/uplink/WriteImageResponse.js.map +1 -0
- package/dist/analog/commands/uplink/index.d.ts +5 -1
- package/dist/analog/commands/uplink/index.js +5 -1
- package/dist/analog/commands/uplink/index.js.map +1 -1
- package/dist/analog/constants/commandRelations.d.ts +6 -0
- package/dist/analog/constants/commandRelations.js +31 -0
- package/dist/analog/constants/commandRelations.js.map +1 -0
- package/dist/analog/constants/index.d.ts +0 -1
- package/dist/analog/constants/index.js +0 -1
- package/dist/analog/constants/index.js.map +1 -1
- package/dist/analog/header.js.map +1 -1
- package/dist/analog/message.d.ts +0 -9
- package/dist/analog/message.js +6 -15
- package/dist/analog/message.js.map +1 -1
- package/dist/constants/directions.js.map +1 -0
- package/dist/constants/frameAttributes.js.map +1 -0
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/index.js +3 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/mtx/CommandBinaryBuffer.d.ts +5 -3
- package/dist/mtx/CommandBinaryBuffer.js +17 -18
- package/dist/mtx/CommandBinaryBuffer.js.map +1 -1
- package/dist/mtx/commands/downlink/ActivateRatePlan.js +1 -1
- package/dist/mtx/commands/downlink/ActivateRatePlan.js.map +1 -1
- package/dist/mtx/commands/downlink/GetDateTime.js +1 -1
- package/dist/mtx/commands/downlink/GetDateTime.js.map +1 -1
- package/dist/mtx/commands/downlink/GetDayProfile.d.ts +19 -0
- package/dist/mtx/commands/downlink/GetDayProfile.js +48 -0
- package/dist/mtx/commands/downlink/GetDayProfile.js.map +1 -0
- package/dist/mtx/commands/downlink/GetDeviceId.js +1 -1
- package/dist/mtx/commands/downlink/GetDeviceId.js.map +1 -1
- package/dist/mtx/commands/downlink/GetDeviceType.d.ts +13 -0
- package/dist/mtx/commands/downlink/GetDeviceType.js +31 -0
- package/dist/mtx/commands/downlink/GetDeviceType.js.map +1 -0
- package/dist/mtx/commands/downlink/GetDisplayParam.js +1 -1
- package/dist/mtx/commands/downlink/GetDisplayParam.js.map +1 -1
- package/dist/mtx/commands/downlink/GetOpParams.js +1 -1
- package/dist/mtx/commands/downlink/GetOpParams.js.map +1 -1
- package/dist/mtx/commands/downlink/GetRatePlanInfo.js +1 -1
- package/dist/mtx/commands/downlink/GetRatePlanInfo.js.map +1 -1
- package/dist/mtx/commands/downlink/GetSeasonProfile.d.ts +19 -0
- package/dist/mtx/commands/downlink/GetSeasonProfile.js +48 -0
- package/dist/mtx/commands/downlink/GetSeasonProfile.js.map +1 -0
- package/dist/mtx/commands/downlink/GetSpecialDay.d.ts +19 -0
- package/dist/mtx/commands/downlink/GetSpecialDay.js +48 -0
- package/dist/mtx/commands/downlink/GetSpecialDay.js.map +1 -0
- package/dist/mtx/commands/downlink/PrepareRatePlan.js +1 -1
- package/dist/mtx/commands/downlink/PrepareRatePlan.js.map +1 -1
- package/dist/mtx/commands/downlink/RunTariffPlan.js +1 -1
- package/dist/mtx/commands/downlink/RunTariffPlan.js.map +1 -1
- package/dist/mtx/commands/downlink/SetAccessKey.d.ts +18 -0
- package/dist/mtx/commands/downlink/SetAccessKey.js +51 -0
- package/dist/mtx/commands/downlink/SetAccessKey.js.map +1 -0
- package/dist/mtx/commands/downlink/SetCorrectDateTime.d.ts +17 -0
- package/dist/mtx/commands/downlink/SetCorrectDateTime.js +51 -0
- package/dist/mtx/commands/downlink/SetCorrectDateTime.js.map +1 -0
- package/dist/mtx/commands/downlink/SetDateTime.d.ts +15 -0
- package/dist/mtx/commands/downlink/SetDateTime.js +48 -0
- package/dist/mtx/commands/downlink/SetDateTime.js.map +1 -0
- package/dist/mtx/commands/downlink/SetDayProfile.js +1 -1
- package/dist/mtx/commands/downlink/SetDayProfile.js.map +1 -1
- package/dist/mtx/commands/downlink/SetDisplayParam.js +1 -1
- package/dist/mtx/commands/downlink/SetDisplayParam.js.map +1 -1
- package/dist/mtx/commands/downlink/SetOpParams.js +1 -1
- package/dist/mtx/commands/downlink/SetOpParams.js.map +1 -1
- package/dist/mtx/commands/downlink/SetSeasonProfile.js +1 -1
- package/dist/mtx/commands/downlink/SetSeasonProfile.js.map +1 -1
- package/dist/mtx/commands/downlink/SetSpecialDay.js +2 -2
- package/dist/mtx/commands/downlink/SetSpecialDay.js.map +1 -1
- package/dist/mtx/commands/downlink/TurnRelayOff.js +1 -1
- package/dist/mtx/commands/downlink/TurnRelayOff.js.map +1 -1
- package/dist/mtx/commands/downlink/TurnRelayOn.js +1 -1
- package/dist/mtx/commands/downlink/TurnRelayOn.js.map +1 -1
- package/dist/mtx/commands/downlink/index.d.ts +7 -0
- package/dist/mtx/commands/downlink/index.js +7 -0
- package/dist/mtx/commands/downlink/index.js.map +1 -1
- package/dist/mtx/commands/uplink/ActivateRatePlanResponse.js +1 -1
- package/dist/mtx/commands/uplink/ActivateRatePlanResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/ErrorResponse.js +1 -1
- package/dist/mtx/commands/uplink/ErrorResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/GetDateTimeResponse.js +3 -3
- package/dist/mtx/commands/uplink/GetDateTimeResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/GetDayProfileResponse.d.ts +18 -0
- package/dist/mtx/commands/uplink/GetDayProfileResponse.js +74 -0
- package/dist/mtx/commands/uplink/GetDayProfileResponse.js.map +1 -0
- package/dist/mtx/commands/uplink/GetDeviceIdResponse.js +1 -1
- package/dist/mtx/commands/uplink/GetDeviceIdResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/GetDeviceTypeResponse.d.ts +15 -0
- package/dist/mtx/commands/uplink/GetDeviceTypeResponse.js +54 -0
- package/dist/mtx/commands/uplink/GetDeviceTypeResponse.js.map +1 -0
- package/dist/mtx/commands/uplink/GetDisplayParamResponse.js +1 -1
- package/dist/mtx/commands/uplink/GetDisplayParamResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/GetOpParamsResponse.js +1 -1
- package/dist/mtx/commands/uplink/GetOpParamsResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/GetRatePlanInfoResponse.js +1 -1
- package/dist/mtx/commands/uplink/GetRatePlanInfoResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/GetSeasonProfileResponse.d.ts +15 -0
- package/dist/mtx/commands/uplink/GetSeasonProfileResponse.js +44 -0
- package/dist/mtx/commands/uplink/GetSeasonProfileResponse.js.map +1 -0
- package/dist/mtx/commands/uplink/GetSpecialDayResponse.d.ts +15 -0
- package/dist/mtx/commands/uplink/GetSpecialDayResponse.js +45 -0
- package/dist/mtx/commands/uplink/GetSpecialDayResponse.js.map +1 -0
- package/dist/mtx/commands/uplink/PrepareRatePlanResponse.js +1 -1
- package/dist/mtx/commands/uplink/PrepareRatePlanResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/RunTariffPlanResponse.js +1 -1
- package/dist/mtx/commands/uplink/RunTariffPlanResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/SetAccessKeyResponse.d.ts +13 -0
- package/dist/mtx/commands/uplink/SetAccessKeyResponse.js +31 -0
- package/dist/mtx/commands/uplink/SetAccessKeyResponse.js.map +1 -0
- package/dist/mtx/commands/uplink/SetCorrectDateTimeResponse.d.ts +13 -0
- package/dist/mtx/commands/uplink/SetCorrectDateTimeResponse.js +31 -0
- package/dist/mtx/commands/uplink/SetCorrectDateTimeResponse.js.map +1 -0
- package/dist/mtx/commands/uplink/SetDateTimeResponse.d.ts +13 -0
- package/dist/mtx/commands/uplink/SetDateTimeResponse.js +31 -0
- package/dist/mtx/commands/uplink/SetDateTimeResponse.js.map +1 -0
- package/dist/mtx/commands/uplink/SetDayProfileResponse.js +1 -1
- package/dist/mtx/commands/uplink/SetDayProfileResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/SetDisplayParamResponse.js +1 -1
- package/dist/mtx/commands/uplink/SetDisplayParamResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/SetOpParamsResponse.js +1 -1
- package/dist/mtx/commands/uplink/SetOpParamsResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/SetSeasonProfileResponse.js +1 -1
- package/dist/mtx/commands/uplink/SetSeasonProfileResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/SetSpecialDayResponse.js +1 -1
- package/dist/mtx/commands/uplink/SetSpecialDayResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/TurnRelayOffResponse.js +1 -1
- package/dist/mtx/commands/uplink/TurnRelayOffResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/TurnRelayOnResponse.js +1 -1
- package/dist/mtx/commands/uplink/TurnRelayOnResponse.js.map +1 -1
- package/dist/mtx/commands/uplink/index.d.ts +7 -0
- package/dist/mtx/commands/uplink/index.js +7 -0
- package/dist/mtx/commands/uplink/index.js.map +1 -1
- package/dist/mtx/constants/commandRelations.d.ts +4 -2
- package/dist/mtx/constants/commandRelations.js +9 -4
- package/dist/mtx/constants/commandRelations.js.map +1 -1
- package/dist/mtx/constants/index.d.ts +1 -2
- package/dist/mtx/constants/index.js +1 -2
- package/dist/mtx/constants/index.js.map +1 -1
- package/dist/mtx/constants/meterTypes.d.ts +3 -0
- package/dist/mtx/constants/meterTypes.js +4 -0
- package/dist/mtx/constants/meterTypes.js.map +1 -0
- package/dist/mtx/constants/resultCodes.js +5 -5
- package/dist/mtx/constants/resultCodes.js.map +1 -1
- package/dist/mtx/message.d.ts +0 -8
- package/dist/mtx/message.js +8 -10
- package/dist/mtx/message.js.map +1 -1
- package/dist/mtx/utils/crypto.d.ts +0 -2
- package/dist/mtx/utils/crypto.js +2 -17
- package/dist/mtx/utils/crypto.js.map +1 -1
- package/dist/mtx/utils/deviceType.d.ts +7 -0
- package/dist/mtx/utils/deviceType.js +226 -0
- package/dist/mtx/utils/deviceType.js.map +1 -0
- package/dist/obis-observer/Command.js.map +1 -1
- package/dist/obis-observer/CommandBinaryBuffer.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetArchiveState.js +1 -1
- package/dist/obis-observer/commands/downlink/GetArchiveState.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetLorawanInfo.js +1 -1
- package/dist/obis-observer/commands/downlink/GetLorawanInfo.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetLorawanState.js +1 -1
- package/dist/obis-observer/commands/downlink/GetLorawanState.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterDate.js +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterDate.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterId.js +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterId.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterIdList.js +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterIdList.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterInfo.js +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterInfo.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterProfile.js +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterProfile.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterProfileIdList.js +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterProfileIdList.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterReadoutState.js +1 -1
- package/dist/obis-observer/commands/downlink/GetMeterReadoutState.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetObisContent.js +1 -1
- package/dist/obis-observer/commands/downlink/GetObisContent.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetObisContentById.js +1 -1
- package/dist/obis-observer/commands/downlink/GetObisContentById.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetObisIdList.js +1 -1
- package/dist/obis-observer/commands/downlink/GetObisIdList.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetObisInfo.js +1 -1
- package/dist/obis-observer/commands/downlink/GetObisInfo.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetObserverCapabilities.js +1 -1
- package/dist/obis-observer/commands/downlink/GetObserverCapabilities.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetObserverInfo.js +1 -1
- package/dist/obis-observer/commands/downlink/GetObserverInfo.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetObserverSingleMode.js +1 -1
- package/dist/obis-observer/commands/downlink/GetObserverSingleMode.js.map +1 -1
- package/dist/obis-observer/commands/downlink/GetObserverUptime.js +1 -1
- package/dist/obis-observer/commands/downlink/GetObserverUptime.js.map +1 -1
- package/dist/obis-observer/commands/downlink/ReadArchive.js +1 -1
- package/dist/obis-observer/commands/downlink/ReadArchive.js.map +1 -1
- package/dist/obis-observer/commands/downlink/ReadMeterArchive.js +1 -1
- package/dist/obis-observer/commands/downlink/ReadMeterArchive.js.map +1 -1
- package/dist/obis-observer/commands/downlink/ReadMeterArchiveWithDate.js +1 -1
- package/dist/obis-observer/commands/downlink/ReadMeterArchiveWithDate.js.map +1 -1
- package/dist/obis-observer/commands/downlink/Reboot.js +1 -1
- package/dist/obis-observer/commands/downlink/Reboot.js.map +1 -1
- package/dist/obis-observer/commands/downlink/RemoveMeter.js +1 -1
- package/dist/obis-observer/commands/downlink/RemoveMeter.js.map +1 -1
- package/dist/obis-observer/commands/downlink/RemoveMeterProfile.js +1 -1
- package/dist/obis-observer/commands/downlink/RemoveMeterProfile.js.map +1 -1
- package/dist/obis-observer/commands/downlink/RemoveObis.js +1 -1
- package/dist/obis-observer/commands/downlink/RemoveObis.js.map +1 -1
- package/dist/obis-observer/commands/downlink/SetLorawanActivationMethod.js +1 -1
- package/dist/obis-observer/commands/downlink/SetLorawanActivationMethod.js.map +1 -1
- package/dist/obis-observer/commands/downlink/SetObserverSingleMode.js +1 -1
- package/dist/obis-observer/commands/downlink/SetObserverSingleMode.js.map +1 -1
- package/dist/obis-observer/commands/downlink/SetSerialPort.js +1 -1
- package/dist/obis-observer/commands/downlink/SetSerialPort.js.map +1 -1
- package/dist/obis-observer/commands/downlink/SetupMeter.js +1 -1
- package/dist/obis-observer/commands/downlink/SetupMeter.js.map +1 -1
- package/dist/obis-observer/commands/downlink/SetupMeterProfile.js +1 -1
- package/dist/obis-observer/commands/downlink/SetupMeterProfile.js.map +1 -1
- package/dist/obis-observer/commands/downlink/SetupObis.js +1 -1
- package/dist/obis-observer/commands/downlink/SetupObis.js.map +1 -1
- package/dist/obis-observer/commands/downlink/UpdateImageVerify.js +1 -1
- package/dist/obis-observer/commands/downlink/UpdateImageVerify.js.map +1 -1
- package/dist/obis-observer/commands/downlink/UpdateImageWrite.js +1 -1
- package/dist/obis-observer/commands/downlink/UpdateImageWrite.js.map +1 -1
- package/dist/obis-observer/commands/downlink/UpdateRun.js +1 -1
- package/dist/obis-observer/commands/downlink/UpdateRun.js.map +1 -1
- package/dist/obis-observer/commands/uplink/ErrorResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/ErrorResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetArchiveStateResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetArchiveStateResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetLorawanInfoResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetLorawanInfoResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetLorawanStateResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetLorawanStateResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterDateResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterDateResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterIdListResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterIdListResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterIdResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterIdResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterInfoResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterInfoResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterProfileIdListResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterProfileIdListResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterProfileResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterProfileResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterReadoutStateResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetMeterReadoutStateResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetObisContentByIdResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetObisContentByIdResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetObisContentByIdStringResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetObisContentByIdStringResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetObisContentResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetObisContentResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetObisIdListResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetObisIdListResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetObisInfoResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetObisInfoResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetObserverCapabilitiesResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetObserverCapabilitiesResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetObserverInfoResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetObserverInfoResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetObserverSingleModeResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetObserverSingleModeResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/GetObserverUptimeResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/GetObserverUptimeResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/ObservationReport.js +1 -1
- package/dist/obis-observer/commands/uplink/ObservationReport.js.map +1 -1
- package/dist/obis-observer/commands/uplink/ObservationReportString.js +1 -1
- package/dist/obis-observer/commands/uplink/ObservationReportString.js.map +1 -1
- package/dist/obis-observer/commands/uplink/ReadArchiveResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/ReadArchiveResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/ReadMeterArchiveResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/ReadMeterArchiveResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/ReadMeterArchiveWithDateResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/ReadMeterArchiveWithDateResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/RebootResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/RebootResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/RemoveMeterProfileResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/RemoveMeterProfileResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/RemoveMeterResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/RemoveMeterResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/RemoveObisResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/RemoveObisResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/SetLorawanActivationMethodResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/SetLorawanActivationMethodResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/SetObserverSingleModeResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/SetObserverSingleModeResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/SetSerialPortResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/SetSerialPortResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/SetupMeterProfileResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/SetupMeterProfileResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/SetupMeterResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/SetupMeterResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/SetupObisResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/SetupObisResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/UpdateImageVerifyResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/UpdateImageVerifyResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/UpdateImageWriteResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/UpdateImageWriteResponse.js.map +1 -1
- package/dist/obis-observer/commands/uplink/UpdateRunResponse.js +1 -1
- package/dist/obis-observer/commands/uplink/UpdateRunResponse.js.map +1 -1
- package/dist/obis-observer/constants/commandRelations.d.ts +4 -2
- package/dist/obis-observer/constants/commandRelations.js +2 -4
- package/dist/obis-observer/constants/commandRelations.js.map +1 -1
- package/dist/obis-observer/constants/index.d.ts +0 -1
- package/dist/obis-observer/constants/index.js +0 -1
- package/dist/obis-observer/constants/index.js.map +1 -1
- package/dist/obis-observer/message.d.ts +0 -8
- package/dist/obis-observer/message.js +2 -5
- package/dist/obis-observer/message.js.map +1 -1
- package/dist/obis-observer/utils/obis.js.map +1 -1
- package/dist/utils/BinaryBuffer.d.ts +3 -0
- package/dist/utils/BinaryBuffer.js +15 -1
- package/dist/utils/BinaryBuffer.js.map +1 -1
- package/dist/utils/bitSet.js.map +1 -1
- package/dist/utils/calculateCrc16.d.ts +6 -0
- package/dist/utils/calculateCrc16.js +22 -0
- package/dist/utils/calculateCrc16.js.map +1 -0
- package/dist/utils/calculateCrc32.d.ts +5 -0
- package/dist/utils/calculateCrc32.js +28 -0
- package/dist/utils/calculateCrc32.js.map +1 -0
- package/dist/utils/calculateLrc.d.ts +2 -0
- package/dist/utils/calculateLrc.js +8 -0
- package/dist/utils/calculateLrc.js.map +1 -0
- package/dist/utils/frame.d.ts +14 -0
- package/dist/utils/frame.js +85 -0
- package/dist/utils/frame.js.map +1 -0
- package/dist/utils/frameCollector.d.ts +12 -0
- package/dist/utils/frameCollector.js +43 -0
- package/dist/utils/frameCollector.js.map +1 -0
- package/dist/utils/getBytesFromHex.js.map +1 -1
- package/dist/utils/getHexFromNumber.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/mergeUint8Arrays.js.map +1 -1
- package/package.json +1 -1
- package/dist/analog/constants/directions.js.map +0 -1
- package/dist/mtx/constants/directions.d.ts +0 -3
- package/dist/mtx/constants/directions.js +0 -4
- package/dist/mtx/constants/directions.js.map +0 -1
- package/dist/mtx/constants/frameAttributes.js.map +0 -1
- package/dist/obis-observer/constants/directions.d.ts +0 -2
- package/dist/obis-observer/constants/directions.js +0 -3
- package/dist/obis-observer/constants/directions.js.map +0 -1
- /package/dist/{analog/constants → constants}/directions.d.ts +0 -0
- /package/dist/{analog/constants → constants}/directions.js +0 -0
- /package/dist/{mtx/constants → constants}/frameAttributes.d.ts +0 -0
- /package/dist/{mtx/constants → constants}/frameAttributes.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetRatePlanInfoResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/GetRatePlanInfoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAsB,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AACnF,OAAO,mBAAmB,EAAE,EAAc,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAChG,OAAO,EAAC,SAAS,EAAC,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAC,MAAM,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"GetRatePlanInfoResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/GetRatePlanInfoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAsB,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AACnF,OAAO,mBAAmB,EAAE,EAAc,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAChG,OAAO,EAAC,SAAS,EAAC,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AAUxD,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,gBAAgB,CAAC;AAE9C,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,yBAAyB;QAC/B,UAAU,EAAE;YACR,WAAW,EAAE,CAAC;YACd,UAAU,EAAE;gBACR,EAAE,EAAE,CAAC;gBACL,SAAS,EAAE,CAAC;gBACZ,YAAY,EAAE,CAAC;gBACf,aAAa,EAAE,CAAC;gBAChB,WAAW,EAAE,CAAC;gBACd,wBAAwB,EAAE,CAAC;gBAC3B,uBAAuB,EAAE,CAAC;gBAC1B,oBAAoB,EAAE,CAAC;aAC1B;YACD,WAAW,EAAE;gBACT,EAAE,EAAE,EAAE;gBACN,SAAS,EAAE,EAAE;gBACb,YAAY,EAAE,EAAE;gBAChB,aAAa,EAAE,EAAE;gBACjB,WAAW,EAAE,EAAE;gBACf,wBAAwB,EAAE,EAAE;gBAC5B,uBAAuB,EAAE,EAAE;gBAC3B,oBAAoB,EAAE,EAAE;aAC3B;SACJ;QACD,GAAG,EAAE;YACD,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,sEAAsE;SAC/E;KACJ;CACJ,CAAC;AA6CF,MAAM,uBAAwB,SAAQ,OAAO;IACzC,YAAqB,UAA8C;QAC/D,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAoC;QAG/D,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS,CAAG,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,uBAAuB,CAAC;YAC/B,WAAW,EAAE,MAAM,CAAC,QAAQ,EAAE;YAC9B,UAAU,EAAE,MAAM,CAAC,aAAa,EAAE;YAClC,WAAW,EAAE,MAAM,CAAC,aAAa,EAAE;SACtC,CAAC,CAAC;IACP,CAAC;IAGD,OAAO;QACH,MAAM,EAAC,IAAI,EAAE,UAAU,EAAC,GAAG,IAAI,CAAC;QAChC,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;QAGnE,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QAC5B,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAGtB,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QACxC,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;QAC5C,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAE7C,OAAO,MAAM,CAAC,YAAY,EAAE,CAAC;IACjC,CAAC;;AAvCe,0BAAE,GAAG,UAAU,CAAC;AAEhB,qCAAa,GAAG,MAAM,CAAC;AAEvB,gCAAQ,GAAG,QAAQ,CAAC;AAEpB,qCAAa,GAAG,IAAI,CAAC;AAErB,mCAAW,GAAG,SAAS,CAAC;AAExB,+BAAO,GAAG,YAAY,CAAC;AAiC3C,eAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
+
import { ISeasonProfile } from '../../CommandBinaryBuffer.js';
|
|
3
|
+
declare class GetSeasonProfileResponse extends Command {
|
|
4
|
+
parameters: ISeasonProfile;
|
|
5
|
+
constructor(parameters: ISeasonProfile);
|
|
6
|
+
static id: number;
|
|
7
|
+
static readonly directionType = 2;
|
|
8
|
+
static readonly examples: TCommandExampleList;
|
|
9
|
+
static readonly hasParameters = false;
|
|
10
|
+
static readonly accessLevel = 3;
|
|
11
|
+
static readonly maxSize = 9;
|
|
12
|
+
static fromBytes(data: Uint8Array): GetSeasonProfileResponse;
|
|
13
|
+
toBytes(): Uint8Array;
|
|
14
|
+
}
|
|
15
|
+
export default GetSeasonProfileResponse;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import Command, { COMMAND_HEADER_SIZE } from '../../Command.js';
|
|
2
|
+
import CommandBinaryBuffer from '../../CommandBinaryBuffer.js';
|
|
3
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
4
|
+
import { READ_ONLY } from '../../constants/accessLevels.js';
|
|
5
|
+
const COMMAND_ID = 0x3c;
|
|
6
|
+
const COMMAND_SIZE = 9;
|
|
7
|
+
const examples = [
|
|
8
|
+
{
|
|
9
|
+
name: 'simple response',
|
|
10
|
+
parameters: {
|
|
11
|
+
month: 1,
|
|
12
|
+
date: 2,
|
|
13
|
+
dayIndexes: [0, 1, 0, 1, 0, 1, 0]
|
|
14
|
+
},
|
|
15
|
+
hex: { header: '3c 09', body: '01 02 00 01 00 01 00 01 00' }
|
|
16
|
+
}
|
|
17
|
+
];
|
|
18
|
+
class GetSeasonProfileResponse extends Command {
|
|
19
|
+
constructor(parameters) {
|
|
20
|
+
super();
|
|
21
|
+
this.parameters = parameters;
|
|
22
|
+
this.size = COMMAND_SIZE;
|
|
23
|
+
}
|
|
24
|
+
static fromBytes(data) {
|
|
25
|
+
const buffer = new CommandBinaryBuffer(data);
|
|
26
|
+
return new GetSeasonProfileResponse(buffer.getSeasonProfile());
|
|
27
|
+
}
|
|
28
|
+
toBytes() {
|
|
29
|
+
const { size, parameters } = this;
|
|
30
|
+
const buffer = new CommandBinaryBuffer(COMMAND_HEADER_SIZE + size);
|
|
31
|
+
buffer.setUint8(COMMAND_ID);
|
|
32
|
+
buffer.setUint8(size);
|
|
33
|
+
buffer.setSeasonProfile(parameters);
|
|
34
|
+
return buffer.toUint8Array();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
GetSeasonProfileResponse.id = COMMAND_ID;
|
|
38
|
+
GetSeasonProfileResponse.directionType = UPLINK;
|
|
39
|
+
GetSeasonProfileResponse.examples = examples;
|
|
40
|
+
GetSeasonProfileResponse.hasParameters = false;
|
|
41
|
+
GetSeasonProfileResponse.accessLevel = READ_ONLY;
|
|
42
|
+
GetSeasonProfileResponse.maxSize = COMMAND_SIZE;
|
|
43
|
+
export default GetSeasonProfileResponse;
|
|
44
|
+
//# sourceMappingURL=GetSeasonProfileResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetSeasonProfileResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/GetSeasonProfileResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAsB,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AACnF,OAAO,mBAAqC,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,SAAS,EAAC,MAAM,iCAAiC,CAAC;AAG1D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE;YACR,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,CAAC;YACP,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;SACpC;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,4BAA4B,EAAC;KAC7D;CACJ,CAAC;AAwBF,MAAM,wBAAyB,SAAQ,OAAO;IAC1C,YAAqB,UAA0B;QAC3C,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAgB;QAG3C,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS,CAAG,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,wBAAwB,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACnE,CAAC;IAGD,OAAO;QACH,MAAM,EAAC,IAAI,EAAE,UAAU,EAAC,GAAG,IAAI,CAAC;QAChC,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;QAGnE,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QAC5B,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAGtB,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;QAEpC,OAAO,MAAM,CAAC,YAAY,EAAE,CAAC;IACjC,CAAC;;AAjCM,2BAAE,GAAG,UAAU,CAAC;AAEP,sCAAa,GAAG,MAAM,CAAC;AAEvB,iCAAQ,GAAG,QAAQ,CAAC;AAEpB,sCAAa,GAAG,KAAK,CAAC;AAEtB,oCAAW,GAAG,SAAS,CAAC;AAExB,gCAAO,GAAG,YAAY,CAAC;AA2B3C,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
+
import { ISpecialDay } from '../../CommandBinaryBuffer.js';
|
|
3
|
+
declare class GetSpecialDayResponse extends Command {
|
|
4
|
+
parameters: ISpecialDay;
|
|
5
|
+
constructor(parameters: ISpecialDay);
|
|
6
|
+
static readonly id = 61;
|
|
7
|
+
static readonly directionType = 2;
|
|
8
|
+
static readonly examples: TCommandExampleList;
|
|
9
|
+
static readonly hasParameters = true;
|
|
10
|
+
static readonly accessLevel = 3;
|
|
11
|
+
static readonly maxSize = 4;
|
|
12
|
+
static fromBytes(data: Uint8Array): GetSpecialDayResponse;
|
|
13
|
+
toBytes(): Uint8Array;
|
|
14
|
+
}
|
|
15
|
+
export default GetSpecialDayResponse;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import Command, { COMMAND_HEADER_SIZE } from '../../Command.js';
|
|
2
|
+
import CommandBinaryBuffer from '../../CommandBinaryBuffer.js';
|
|
3
|
+
import { READ_ONLY } from '../../constants/accessLevels.js';
|
|
4
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
5
|
+
const COMMAND_ID = 0x3d;
|
|
6
|
+
const COMMAND_SIZE = 4;
|
|
7
|
+
const examples = [
|
|
8
|
+
{
|
|
9
|
+
name: 'special day response',
|
|
10
|
+
parameters: {
|
|
11
|
+
month: 1,
|
|
12
|
+
date: 9,
|
|
13
|
+
dayIndex: 3,
|
|
14
|
+
isPeriodic: true
|
|
15
|
+
},
|
|
16
|
+
hex: { header: '3d 04', body: '01 09 03 00' }
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
class GetSpecialDayResponse extends Command {
|
|
20
|
+
constructor(parameters) {
|
|
21
|
+
super();
|
|
22
|
+
this.parameters = parameters;
|
|
23
|
+
this.size = COMMAND_SIZE;
|
|
24
|
+
}
|
|
25
|
+
static fromBytes(data) {
|
|
26
|
+
const buffer = new CommandBinaryBuffer(data);
|
|
27
|
+
return new GetSpecialDayResponse(buffer.getSpecialDay());
|
|
28
|
+
}
|
|
29
|
+
toBytes() {
|
|
30
|
+
const { size, parameters } = this;
|
|
31
|
+
const buffer = new CommandBinaryBuffer(COMMAND_HEADER_SIZE + size);
|
|
32
|
+
buffer.setUint8(COMMAND_ID);
|
|
33
|
+
buffer.setUint8(size);
|
|
34
|
+
buffer.setSpecialDay(parameters);
|
|
35
|
+
return buffer.toUint8Array();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
GetSpecialDayResponse.id = COMMAND_ID;
|
|
39
|
+
GetSpecialDayResponse.directionType = UPLINK;
|
|
40
|
+
GetSpecialDayResponse.examples = examples;
|
|
41
|
+
GetSpecialDayResponse.hasParameters = true;
|
|
42
|
+
GetSpecialDayResponse.accessLevel = READ_ONLY;
|
|
43
|
+
GetSpecialDayResponse.maxSize = COMMAND_SIZE;
|
|
44
|
+
export default GetSpecialDayResponse;
|
|
45
|
+
//# sourceMappingURL=GetSpecialDayResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetSpecialDayResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/GetSpecialDayResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,EAAE,EAAsB,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AACnF,OAAO,mBAAkC,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAC,SAAS,EAAC,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AAGxD,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE;YACR,KAAK,EAAE,CAAC;YACR,IAAI,EAAE,CAAC;YACP,QAAQ,EAAE,CAAC;YACX,UAAU,EAAE,IAAI;SACnB;QACD,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,aAAa,EAAC;KAC9C;CACJ,CAAC;AAyBF,MAAM,qBAAsB,SAAQ,OAAO;IACvC,YAAqB,UAAuB;QACxC,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAa;QAGxC,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS,CAAG,IAAgB;QAC/B,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE7C,OAAO,IAAI,qBAAqB,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC,CAAC;IAC7D,CAAC;IAGD,OAAO;QACH,MAAM,EAAC,IAAI,EAAE,UAAU,EAAC,GAAG,IAAI,CAAC;QAChC,MAAM,MAAM,GAAG,IAAI,mBAAmB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;QAGnE,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QAC5B,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAGtB,MAAM,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;QAEjC,OAAO,MAAM,CAAC,YAAY,EAAE,CAAC;IACjC,CAAC;;AAjCe,wBAAE,GAAG,UAAU,CAAC;AAEhB,mCAAa,GAAG,MAAM,CAAC;AAEvB,8BAAQ,GAAG,QAAQ,CAAC;AAEpB,mCAAa,GAAG,IAAI,CAAC;AAErB,iCAAW,GAAG,SAAS,CAAC;AAExB,6BAAO,GAAG,YAAY,CAAC;AA2B3C,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Command from '../../Command.js';
|
|
2
|
-
import { UPLINK } from '
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
3
|
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
4
|
const COMMAND_ID = 0x14;
|
|
5
5
|
const COMMAND_SIZE = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrepareRatePlanResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/PrepareRatePlanResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"PrepareRatePlanResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/PrepareRatePlanResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,uBAAwB,SAAQ,OAAO;IACzC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,uBAAuB,EAAE,CAAC;IACzC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,0BAAE,GAAG,UAAU,CAAC;AAEP,qCAAa,GAAG,MAAM,CAAC;AAEvB,gCAAQ,GAAG,QAAQ,CAAC;AAEpB,qCAAa,GAAG,KAAK,CAAC;AAEtB,mCAAW,GAAG,UAAU,CAAC;AAEzB,+BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Command from '../../Command.js';
|
|
2
|
-
import { UPLINK } from '
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
3
|
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
4
|
const COMMAND_ID = 0x06;
|
|
5
5
|
const COMMAND_SIZE = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunTariffPlanResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/RunTariffPlanResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"RunTariffPlanResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/RunTariffPlanResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,qBAAsB,SAAQ,OAAO;IACvC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,qBAAqB,EAAE,CAAC;IACvC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,wBAAE,GAAG,UAAU,CAAC;AAEP,mCAAa,GAAG,MAAM,CAAC;AAEvB,8BAAQ,GAAG,QAAQ,CAAC;AAEpB,mCAAa,GAAG,KAAK,CAAC;AAEtB,iCAAW,GAAG,UAAU,CAAC;AAEzB,6BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
+
declare class SetAccessKeyResponse extends Command {
|
|
3
|
+
constructor();
|
|
4
|
+
static id: number;
|
|
5
|
+
static readonly directionType = 2;
|
|
6
|
+
static readonly examples: TCommandExampleList;
|
|
7
|
+
static readonly hasParameters = false;
|
|
8
|
+
static readonly accessLevel = 2;
|
|
9
|
+
static readonly maxSize = 0;
|
|
10
|
+
static fromBytes(): SetAccessKeyResponse;
|
|
11
|
+
toBytes(): Uint8Array;
|
|
12
|
+
}
|
|
13
|
+
export default SetAccessKeyResponse;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import Command from '../../Command.js';
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
|
+
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
|
+
const COMMAND_ID = 0x09;
|
|
5
|
+
const COMMAND_SIZE = 0;
|
|
6
|
+
const examples = [
|
|
7
|
+
{
|
|
8
|
+
name: 'simple response',
|
|
9
|
+
hex: { header: '09 00', body: '' }
|
|
10
|
+
}
|
|
11
|
+
];
|
|
12
|
+
class SetAccessKeyResponse extends Command {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.size = COMMAND_SIZE;
|
|
16
|
+
}
|
|
17
|
+
static fromBytes() {
|
|
18
|
+
return new SetAccessKeyResponse();
|
|
19
|
+
}
|
|
20
|
+
toBytes() {
|
|
21
|
+
return new Uint8Array([COMMAND_ID, this.size]);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
SetAccessKeyResponse.id = COMMAND_ID;
|
|
25
|
+
SetAccessKeyResponse.directionType = UPLINK;
|
|
26
|
+
SetAccessKeyResponse.examples = examples;
|
|
27
|
+
SetAccessKeyResponse.hasParameters = false;
|
|
28
|
+
SetAccessKeyResponse.accessLevel = READ_WRITE;
|
|
29
|
+
SetAccessKeyResponse.maxSize = COMMAND_SIZE;
|
|
30
|
+
export default SetAccessKeyResponse;
|
|
31
|
+
//# sourceMappingURL=SetAccessKeyResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetAccessKeyResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetAccessKeyResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,oBAAqB,SAAQ,OAAO;IACtC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,uBAAE,GAAG,UAAU,CAAC;AAEP,kCAAa,GAAG,MAAM,CAAC;AAEvB,6BAAQ,GAAG,QAAQ,CAAC;AAEpB,kCAAa,GAAG,KAAK,CAAC;AAEtB,gCAAW,GAAG,UAAU,CAAC;AAEzB,4BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
+
declare class SetCorrectDateTimeResponse extends Command {
|
|
3
|
+
constructor();
|
|
4
|
+
static id: number;
|
|
5
|
+
static readonly directionType = 2;
|
|
6
|
+
static readonly examples: TCommandExampleList;
|
|
7
|
+
static readonly hasParameters = false;
|
|
8
|
+
static readonly accessLevel = 2;
|
|
9
|
+
static readonly maxSize = 0;
|
|
10
|
+
static fromBytes(): SetCorrectDateTimeResponse;
|
|
11
|
+
toBytes(): Uint8Array;
|
|
12
|
+
}
|
|
13
|
+
export default SetCorrectDateTimeResponse;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import Command from '../../Command.js';
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
|
+
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
|
+
const COMMAND_ID = 0x5c;
|
|
5
|
+
const COMMAND_SIZE = 0;
|
|
6
|
+
const examples = [
|
|
7
|
+
{
|
|
8
|
+
name: 'simple response',
|
|
9
|
+
hex: { header: '5c 00', body: '' }
|
|
10
|
+
}
|
|
11
|
+
];
|
|
12
|
+
class SetCorrectDateTimeResponse extends Command {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.size = COMMAND_SIZE;
|
|
16
|
+
}
|
|
17
|
+
static fromBytes() {
|
|
18
|
+
return new SetCorrectDateTimeResponse();
|
|
19
|
+
}
|
|
20
|
+
toBytes() {
|
|
21
|
+
return new Uint8Array([COMMAND_ID, this.size]);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
SetCorrectDateTimeResponse.id = COMMAND_ID;
|
|
25
|
+
SetCorrectDateTimeResponse.directionType = UPLINK;
|
|
26
|
+
SetCorrectDateTimeResponse.examples = examples;
|
|
27
|
+
SetCorrectDateTimeResponse.hasParameters = false;
|
|
28
|
+
SetCorrectDateTimeResponse.accessLevel = READ_WRITE;
|
|
29
|
+
SetCorrectDateTimeResponse.maxSize = COMMAND_SIZE;
|
|
30
|
+
export default SetCorrectDateTimeResponse;
|
|
31
|
+
//# sourceMappingURL=SetCorrectDateTimeResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetCorrectDateTimeResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetCorrectDateTimeResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,0BAA2B,SAAQ,OAAO;IAC5C;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,0BAA0B,EAAE,CAAC;IAC5C,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,6BAAE,GAAG,UAAU,CAAC;AAEP,wCAAa,GAAG,MAAM,CAAC;AAEvB,mCAAQ,GAAG,QAAQ,CAAC;AAEpB,wCAAa,GAAG,KAAK,CAAC;AAEtB,sCAAW,GAAG,UAAU,CAAC;AAEzB,kCAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Command, { TCommandExampleList } from '../../Command.js';
|
|
2
|
+
declare class SetDateTimeResponse extends Command {
|
|
3
|
+
constructor();
|
|
4
|
+
static id: number;
|
|
5
|
+
static readonly directionType = 2;
|
|
6
|
+
static readonly examples: TCommandExampleList;
|
|
7
|
+
static readonly hasParameters = false;
|
|
8
|
+
static readonly accessLevel = 2;
|
|
9
|
+
static readonly maxSize = 0;
|
|
10
|
+
static fromBytes(): SetDateTimeResponse;
|
|
11
|
+
toBytes(): Uint8Array;
|
|
12
|
+
}
|
|
13
|
+
export default SetDateTimeResponse;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import Command from '../../Command.js';
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
|
+
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
|
+
const COMMAND_ID = 0x08;
|
|
5
|
+
const COMMAND_SIZE = 0;
|
|
6
|
+
const examples = [
|
|
7
|
+
{
|
|
8
|
+
name: 'simple response',
|
|
9
|
+
hex: { header: '08 00', body: '' }
|
|
10
|
+
}
|
|
11
|
+
];
|
|
12
|
+
class SetDateTimeResponse extends Command {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.size = COMMAND_SIZE;
|
|
16
|
+
}
|
|
17
|
+
static fromBytes() {
|
|
18
|
+
return new SetDateTimeResponse();
|
|
19
|
+
}
|
|
20
|
+
toBytes() {
|
|
21
|
+
return new Uint8Array([COMMAND_ID, this.size]);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
SetDateTimeResponse.id = COMMAND_ID;
|
|
25
|
+
SetDateTimeResponse.directionType = UPLINK;
|
|
26
|
+
SetDateTimeResponse.examples = examples;
|
|
27
|
+
SetDateTimeResponse.hasParameters = false;
|
|
28
|
+
SetDateTimeResponse.accessLevel = READ_WRITE;
|
|
29
|
+
SetDateTimeResponse.maxSize = COMMAND_SIZE;
|
|
30
|
+
export default SetDateTimeResponse;
|
|
31
|
+
//# sourceMappingURL=SetDateTimeResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetDateTimeResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetDateTimeResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,mBAAoB,SAAQ,OAAO;IACrC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,mBAAmB,EAAE,CAAC;IACrC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,sBAAE,GAAG,UAAU,CAAC;AAEP,iCAAa,GAAG,MAAM,CAAC;AAEvB,4BAAQ,GAAG,QAAQ,CAAC;AAEpB,iCAAa,GAAG,KAAK,CAAC;AAEtB,+BAAW,GAAG,UAAU,CAAC;AAEzB,2BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Command from '../../Command.js';
|
|
2
|
-
import { UPLINK } from '
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
3
|
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
4
|
const COMMAND_ID = 0x10;
|
|
5
5
|
const COMMAND_SIZE = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetDayProfileResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetDayProfileResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"SetDayProfileResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetDayProfileResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,qBAAsB,SAAQ,OAAO;IACvC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,qBAAqB,EAAE,CAAC;IACvC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,wBAAE,GAAG,UAAU,CAAC;AAEP,mCAAa,GAAG,MAAM,CAAC;AAEvB,8BAAQ,GAAG,QAAQ,CAAC;AAEpB,mCAAa,GAAG,KAAK,CAAC;AAEtB,iCAAW,GAAG,UAAU,CAAC;AAEzB,6BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Command from '../../Command.js';
|
|
2
|
-
import { UPLINK } from '
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
3
|
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
4
|
const COMMAND_ID = 0x5d;
|
|
5
5
|
const COMMAND_SIZE = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetDisplayParamResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetDisplayParamResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EAAC,MAAM,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"SetDisplayParamResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetDisplayParamResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,uBAAwB,SAAQ,OAAO;IACzC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,uBAAuB,EAAE,CAAC;IACzC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,0BAAE,GAAG,UAAU,CAAC;AAEP,qCAAa,GAAG,MAAM,CAAC;AAEvB,gCAAQ,GAAG,QAAQ,CAAC;AAEpB,qCAAa,GAAG,KAAK,CAAC;AAEtB,mCAAW,GAAG,UAAU,CAAC;AAEzB,+BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Command from '../../Command.js';
|
|
2
|
-
import { UPLINK } from '
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
3
|
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
4
|
const COMMAND_ID = 0x1f;
|
|
5
5
|
const COMMAND_SIZE = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetOpParamsResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetOpParamsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"SetOpParamsResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetOpParamsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,mBAAoB,SAAQ,OAAO;IACrC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,mBAAmB,EAAE,CAAC;IACrC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,sBAAE,GAAG,UAAU,CAAC;AAEP,iCAAa,GAAG,MAAM,CAAC;AAEvB,4BAAQ,GAAG,QAAQ,CAAC;AAEpB,iCAAa,GAAG,KAAK,CAAC;AAEtB,+BAAW,GAAG,UAAU,CAAC;AAEzB,2BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Command from '../../Command.js';
|
|
2
|
-
import { UPLINK } from '
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
3
|
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
4
|
const COMMAND_ID = 0x11;
|
|
5
5
|
const COMMAND_SIZE = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetSeasonProfileResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetSeasonProfileResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"SetSeasonProfileResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetSeasonProfileResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,wBAAyB,SAAQ,OAAO;IAC1C;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,wBAAwB,EAAE,CAAC;IAC1C,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,2BAAE,GAAG,UAAU,CAAC;AAEP,sCAAa,GAAG,MAAM,CAAC;AAEvB,iCAAQ,GAAG,QAAQ,CAAC;AAEpB,sCAAa,GAAG,KAAK,CAAC;AAEtB,oCAAW,GAAG,UAAU,CAAC;AAEzB,gCAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Command from '../../Command.js';
|
|
2
|
-
import { UPLINK } from '
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
3
|
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
4
|
const COMMAND_ID = 0x12;
|
|
5
5
|
const COMMAND_SIZE = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetSpecialDayResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetSpecialDayResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"SetSpecialDayResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/SetSpecialDayResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,qBAAsB,SAAQ,OAAO;IACvC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,qBAAqB,EAAE,CAAC;IACvC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,wBAAE,GAAG,UAAU,CAAC;AAEP,mCAAa,GAAG,MAAM,CAAC;AAEvB,8BAAQ,GAAG,QAAQ,CAAC;AAEpB,mCAAa,GAAG,KAAK,CAAC;AAEtB,iCAAW,GAAG,UAAU,CAAC;AAEzB,6BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Command from '../../Command.js';
|
|
2
|
-
import { UPLINK } from '
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
3
|
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
4
|
const COMMAND_ID = 0x19;
|
|
5
5
|
const COMMAND_SIZE = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TurnRelayOffResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/TurnRelayOffResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"TurnRelayOffResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/TurnRelayOffResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,oBAAqB,SAAQ,OAAO;IACtC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,oBAAoB,EAAE,CAAC;IACtC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,uBAAE,GAAG,UAAU,CAAC;AAEP,kCAAa,GAAG,MAAM,CAAC;AAEvB,6BAAQ,GAAG,QAAQ,CAAC;AAEpB,kCAAa,GAAG,KAAK,CAAC;AAEtB,gCAAW,GAAG,UAAU,CAAC;AAEzB,4BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Command from '../../Command.js';
|
|
2
|
-
import { UPLINK } from '
|
|
2
|
+
import { UPLINK } from '../../../constants/directions.js';
|
|
3
3
|
import { READ_WRITE } from '../../constants/accessLevels.js';
|
|
4
4
|
const COMMAND_ID = 0x18;
|
|
5
5
|
const COMMAND_SIZE = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TurnRelayOnResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/TurnRelayOnResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"TurnRelayOnResponse.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/TurnRelayOnResponse.ts"],"names":[],"mappings":"AAAA,OAAO,OAA8B,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAG3D,MAAM,UAAU,GAAG,IAAI,CAAC;AACxB,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,QAAQ,GAAwB;IAClC;QACI,IAAI,EAAE,iBAAiB;QACvB,GAAG,EAAE,EAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAC;KACnC;CACJ,CAAC;AAmBF,MAAM,mBAAoB,SAAQ,OAAO;IACrC;QACI,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;IAC7B,CAAC;IAiBD,MAAM,CAAC,SAAS;QACZ,OAAO,IAAI,mBAAmB,EAAE,CAAC;IACrC,CAAC;IAGD,OAAO;QACH,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACnD,CAAC;;AArBM,sBAAE,GAAG,UAAU,CAAC;AAEP,iCAAa,GAAG,MAAM,CAAC;AAEvB,4BAAQ,GAAG,QAAQ,CAAC;AAEpB,iCAAa,GAAG,KAAK,CAAC;AAEtB,+BAAW,GAAG,UAAU,CAAC;AAEzB,2BAAO,GAAG,YAAY,CAAC;AAe3C,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
export { default as ActivateRatePlanResponse } from './ActivateRatePlanResponse.js';
|
|
2
2
|
export { default as ErrorResponse } from './ErrorResponse.js';
|
|
3
3
|
export { default as GetDateTimeResponse } from './GetDateTimeResponse.js';
|
|
4
|
+
export { default as GetDayProfileResponse } from './GetDayProfileResponse.js';
|
|
4
5
|
export { default as GetDeviceIdResponse } from './GetDeviceIdResponse.js';
|
|
6
|
+
export { default as GetDeviceTypeResponse } from './GetDeviceTypeResponse.js';
|
|
5
7
|
export { default as GetDisplayParamResponse } from './GetDisplayParamResponse.js';
|
|
6
8
|
export { default as GetOpParamsResponse } from './GetOpParamsResponse.js';
|
|
7
9
|
export { default as GetRatePlanInfoResponse } from './GetRatePlanInfoResponse.js';
|
|
10
|
+
export { default as GetSeasonProfileResponse } from './GetSeasonProfileResponse.js';
|
|
11
|
+
export { default as GetSpecialDayResponse } from './GetSpecialDayResponse.js';
|
|
8
12
|
export { default as PrepareRatePlanResponse } from './PrepareRatePlanResponse.js';
|
|
9
13
|
export { default as RunTariffPlanResponse } from './RunTariffPlanResponse.js';
|
|
14
|
+
export { default as SetAccessKeyResponse } from './SetAccessKeyResponse.js';
|
|
15
|
+
export { default as SetCorrectDateTimeResponse } from './SetCorrectDateTimeResponse.js';
|
|
16
|
+
export { default as SetDateTimeResponse } from './SetDateTimeResponse.js';
|
|
10
17
|
export { default as SetDayProfileResponse } from './SetDayProfileResponse.js';
|
|
11
18
|
export { default as SetDisplayParamResponse } from './SetDisplayParamResponse.js';
|
|
12
19
|
export { default as SetOpParamsResponse } from './SetOpParamsResponse.js';
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
export { default as ActivateRatePlanResponse } from './ActivateRatePlanResponse.js';
|
|
2
2
|
export { default as ErrorResponse } from './ErrorResponse.js';
|
|
3
3
|
export { default as GetDateTimeResponse } from './GetDateTimeResponse.js';
|
|
4
|
+
export { default as GetDayProfileResponse } from './GetDayProfileResponse.js';
|
|
4
5
|
export { default as GetDeviceIdResponse } from './GetDeviceIdResponse.js';
|
|
6
|
+
export { default as GetDeviceTypeResponse } from './GetDeviceTypeResponse.js';
|
|
5
7
|
export { default as GetDisplayParamResponse } from './GetDisplayParamResponse.js';
|
|
6
8
|
export { default as GetOpParamsResponse } from './GetOpParamsResponse.js';
|
|
7
9
|
export { default as GetRatePlanInfoResponse } from './GetRatePlanInfoResponse.js';
|
|
10
|
+
export { default as GetSeasonProfileResponse } from './GetSeasonProfileResponse.js';
|
|
11
|
+
export { default as GetSpecialDayResponse } from './GetSpecialDayResponse.js';
|
|
8
12
|
export { default as PrepareRatePlanResponse } from './PrepareRatePlanResponse.js';
|
|
9
13
|
export { default as RunTariffPlanResponse } from './RunTariffPlanResponse.js';
|
|
14
|
+
export { default as SetAccessKeyResponse } from './SetAccessKeyResponse.js';
|
|
15
|
+
export { default as SetCorrectDateTimeResponse } from './SetCorrectDateTimeResponse.js';
|
|
16
|
+
export { default as SetDateTimeResponse } from './SetDateTimeResponse.js';
|
|
10
17
|
export { default as SetDayProfileResponse } from './SetDayProfileResponse.js';
|
|
11
18
|
export { default as SetDisplayParamResponse } from './SetDisplayParamResponse.js';
|
|
12
19
|
export { default as SetOpParamsResponse } from './SetOpParamsResponse.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAC,OAAO,IAAI,wBAAwB,EAAC,MAAM,+BAA+B,CAAC;AAClF,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,wBAAwB,EAAC,MAAM,+BAA+B,CAAC;AAClF,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/mtx/commands/uplink/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAC,OAAO,IAAI,wBAAwB,EAAC,MAAM,+BAA+B,CAAC;AAClF,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,wBAAwB,EAAC,MAAM,+BAA+B,CAAC;AAClF,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAC,OAAO,IAAI,0BAA0B,EAAC,MAAM,iCAAiC,CAAC;AACtF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;AAChF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,wBAAwB,EAAC,MAAM,+BAA+B,CAAC;AAClF,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAC,OAAO,IAAI,oBAAoB,EAAC,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import * as downlinkCommands from '../commands/downlink/index.js';
|
|
2
|
+
import * as uplinkCommands from '../commands/uplink/index.js';
|
|
1
3
|
export declare const requestByResponse: Map<any, any>;
|
|
2
4
|
export declare const responseByRequest: Map<any, any>;
|
|
3
|
-
export declare const requestById: Map<
|
|
4
|
-
export declare const responseById: Map<
|
|
5
|
+
export declare const requestById: Map<number, typeof downlinkCommands.ActivateRatePlan | typeof downlinkCommands.GetDateTime | typeof downlinkCommands.GetDayProfile | typeof downlinkCommands.GetDeviceId | typeof downlinkCommands.GetDeviceType | typeof downlinkCommands.GetDisplayParam | typeof downlinkCommands.GetOpParams | typeof downlinkCommands.GetRatePlanInfo | typeof downlinkCommands.GetSeasonProfile | typeof downlinkCommands.GetSpecialDay | typeof downlinkCommands.PrepareRatePlan | typeof downlinkCommands.RunTariffPlan | typeof downlinkCommands.SetAccessKey | typeof downlinkCommands.SetCorrectDateTime | typeof downlinkCommands.SetDateTime | typeof downlinkCommands.SetDayProfile | typeof downlinkCommands.SetDisplayParam | typeof downlinkCommands.SetOpParams | typeof downlinkCommands.SetSeasonProfile | typeof downlinkCommands.SetSpecialDay | typeof downlinkCommands.TurnRelayOff | typeof downlinkCommands.TurnRelayOn>;
|
|
6
|
+
export declare const responseById: Map<number, typeof uplinkCommands.ActivateRatePlanResponse | typeof uplinkCommands.ErrorResponse | typeof uplinkCommands.GetDateTimeResponse | typeof uplinkCommands.GetDayProfileResponse | typeof uplinkCommands.GetDeviceIdResponse | typeof uplinkCommands.GetDeviceTypeResponse | typeof uplinkCommands.GetDisplayParamResponse | typeof uplinkCommands.GetOpParamsResponse | typeof uplinkCommands.GetRatePlanInfoResponse | typeof uplinkCommands.GetSeasonProfileResponse | typeof uplinkCommands.GetSpecialDayResponse | typeof uplinkCommands.PrepareRatePlanResponse | typeof uplinkCommands.RunTariffPlanResponse | typeof uplinkCommands.SetAccessKeyResponse | typeof uplinkCommands.SetCorrectDateTimeResponse | typeof uplinkCommands.SetDateTimeResponse | typeof uplinkCommands.SetDayProfileResponse | typeof uplinkCommands.SetDisplayParamResponse | typeof uplinkCommands.SetOpParamsResponse | typeof uplinkCommands.SetSeasonProfileResponse | typeof uplinkCommands.SetSpecialDayResponse | typeof uplinkCommands.TurnRelayOffResponse | typeof uplinkCommands.TurnRelayOnResponse>;
|
|
@@ -2,16 +2,23 @@ import * as downlinkCommands from '../commands/downlink/index.js';
|
|
|
2
2
|
import * as uplinkCommands from '../commands/uplink/index.js';
|
|
3
3
|
export const requestByResponse = new Map();
|
|
4
4
|
export const responseByRequest = new Map();
|
|
5
|
-
export const requestById = new Map();
|
|
6
|
-
export const responseById = new Map();
|
|
5
|
+
export const requestById = new Map(Object.values(downlinkCommands).map(command => [command.id, command]));
|
|
6
|
+
export const responseById = new Map(Object.values(uplinkCommands).map(command => [command.id, command]));
|
|
7
7
|
requestByResponse.set(uplinkCommands.ActivateRatePlanResponse, downlinkCommands.ActivateRatePlan);
|
|
8
8
|
requestByResponse.set(uplinkCommands.GetDateTimeResponse, downlinkCommands.GetDateTime);
|
|
9
|
+
requestByResponse.set(uplinkCommands.GetDayProfileResponse, downlinkCommands.GetDayProfile);
|
|
9
10
|
requestByResponse.set(uplinkCommands.GetDeviceIdResponse, downlinkCommands.GetDeviceId);
|
|
11
|
+
requestByResponse.set(uplinkCommands.GetDeviceTypeResponse, downlinkCommands.GetDeviceType);
|
|
10
12
|
requestByResponse.set(uplinkCommands.GetDisplayParamResponse, downlinkCommands.GetDisplayParam);
|
|
11
13
|
requestByResponse.set(uplinkCommands.GetOpParamsResponse, downlinkCommands.GetOpParams);
|
|
12
14
|
requestByResponse.set(uplinkCommands.GetRatePlanInfoResponse, downlinkCommands.GetRatePlanInfo);
|
|
15
|
+
requestByResponse.set(uplinkCommands.GetSeasonProfileResponse, downlinkCommands.GetSeasonProfile);
|
|
16
|
+
requestByResponse.set(uplinkCommands.GetSpecialDayResponse, downlinkCommands.GetSpecialDay);
|
|
13
17
|
requestByResponse.set(uplinkCommands.PrepareRatePlanResponse, downlinkCommands.PrepareRatePlan);
|
|
14
18
|
requestByResponse.set(uplinkCommands.RunTariffPlanResponse, downlinkCommands.RunTariffPlan);
|
|
19
|
+
requestByResponse.set(uplinkCommands.SetAccessKeyResponse, downlinkCommands.SetAccessKey);
|
|
20
|
+
requestByResponse.set(uplinkCommands.SetCorrectDateTimeResponse, downlinkCommands.SetCorrectDateTime);
|
|
21
|
+
requestByResponse.set(uplinkCommands.SetDateTimeResponse, downlinkCommands.SetDateTime);
|
|
15
22
|
requestByResponse.set(uplinkCommands.SetDayProfileResponse, downlinkCommands.SetDayProfile);
|
|
16
23
|
requestByResponse.set(uplinkCommands.SetDisplayParamResponse, downlinkCommands.SetDisplayParam);
|
|
17
24
|
requestByResponse.set(uplinkCommands.SetOpParamsResponse, downlinkCommands.SetOpParams);
|
|
@@ -21,7 +28,5 @@ requestByResponse.set(uplinkCommands.TurnRelayOffResponse, downlinkCommands.Turn
|
|
|
21
28
|
requestByResponse.set(uplinkCommands.TurnRelayOnResponse, downlinkCommands.TurnRelayOn);
|
|
22
29
|
for (const [response, request] of requestByResponse.entries()) {
|
|
23
30
|
responseByRequest.set(request, response);
|
|
24
|
-
responseById.set(response.id, response);
|
|
25
|
-
requestById.set(request.id, request);
|
|
26
31
|
}
|
|
27
32
|
//# sourceMappingURL=commandRelations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commandRelations.js","sourceRoot":"","sources":["../../../src/mtx/constants/commandRelations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,cAAc,MAAM,6BAA6B,CAAC;AAI9D,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAE,CAAC;AAC3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAE,CAAC;AAG3C,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"commandRelations.js","sourceRoot":"","sources":["../../../src/mtx/constants/commandRelations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,gBAAgB,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,cAAc,MAAM,6BAA6B,CAAC;AAI9D,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAE,CAAC;AAC3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAE,CAAC;AAG3C,MAAM,CAAC,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAC1G,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAGzG,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,wBAAwB,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;AAClG,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;AACxF,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAC5F,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;AACxF,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAC5F,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,uBAAuB,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAC;AAChG,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;AACxF,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,uBAAuB,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAC;AAChG,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,wBAAwB,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;AAClG,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAC5F,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,uBAAuB,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAC;AAChG,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAC5F,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAC1F,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,0BAA0B,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,CAAC;AACtG,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;AACxF,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAC5F,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,uBAAuB,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAC;AAChG,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;AACxF,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,wBAAwB,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;AAClG,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAC5F,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAC1F,iBAAiB,CAAC,GAAG,CAAC,cAAc,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;AAGxF,KAAM,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,IAAI,iBAAiB,CAAC,OAAO,EAAE,EAAG,CAAC;IAE9D,iBAAiB,CAAC,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
export { default as resultNames } from './resultNames.js';
|
|
2
2
|
export { default as screenNames } from './screenNames.js';
|
|
3
3
|
export * as accessLevels from './accessLevels.js';
|
|
4
|
-
export * as directions from './directions.js';
|
|
5
|
-
export * as frameAttributes from './frameAttributes.js';
|
|
6
4
|
export * as frameTypes from './frameTypes.js';
|
|
7
5
|
export * as resultCodes from './resultCodes.js';
|
|
8
6
|
export * as screenIds from './screenIds.js';
|
|
9
7
|
export * as screenSets from './screenSets.js';
|
|
8
|
+
export * from '../../constants/index.js';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export { default as resultNames } from './resultNames.js';
|
|
2
2
|
export { default as screenNames } from './screenNames.js';
|
|
3
3
|
export * as accessLevels from './accessLevels.js';
|
|
4
|
-
export * as directions from './directions.js';
|
|
5
|
-
export * as frameAttributes from './frameAttributes.js';
|
|
6
4
|
export * as frameTypes from './frameTypes.js';
|
|
7
5
|
export * as resultCodes from './resultCodes.js';
|
|
8
6
|
export * as screenIds from './screenIds.js';
|
|
9
7
|
export * as screenSets from './screenSets.js';
|
|
8
|
+
export * from '../../constants/index.js';
|
|
10
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/mtx/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/mtx/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAC9C,cAAc,0BAA0B,CAAC"}
|