zwave-js 9.2.1 → 9.3.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/build/Controller.d.ts +2 -2
- package/build/Controller.d.ts.map +1 -1
- package/build/Controller.js +1 -1
- package/build/Controller.js.map +1 -1
- package/build/Driver.d.ts +3 -4
- package/build/Driver.d.ts.map +1 -1
- package/build/Driver.js +6 -7
- package/build/Driver.js.map +1 -1
- package/build/Utils.d.ts +2 -0
- package/build/Utils.d.ts.map +1 -1
- package/build/Utils.js +5 -1
- package/build/Utils.js.map +1 -1
- package/build/lib/commandclass/AlarmSensorCC.d.ts +6 -5
- package/build/lib/commandclass/AlarmSensorCC.d.ts.map +1 -1
- package/build/lib/commandclass/AlarmSensorCC.js +23 -23
- package/build/lib/commandclass/AlarmSensorCC.js.map +1 -1
- package/build/lib/commandclass/AssociationCC.d.ts +12 -11
- package/build/lib/commandclass/AssociationCC.d.ts.map +1 -1
- package/build/lib/commandclass/AssociationCC.js +47 -41
- package/build/lib/commandclass/AssociationCC.js.map +1 -1
- package/build/lib/commandclass/AssociationGroupInfoCC.d.ts +15 -14
- package/build/lib/commandclass/AssociationGroupInfoCC.d.ts.map +1 -1
- package/build/lib/commandclass/AssociationGroupInfoCC.js +56 -51
- package/build/lib/commandclass/AssociationGroupInfoCC.js.map +1 -1
- package/build/lib/commandclass/BarrierOperatorCC.d.ts +9 -8
- package/build/lib/commandclass/BarrierOperatorCC.d.ts.map +1 -1
- package/build/lib/commandclass/BarrierOperatorCC.js +28 -28
- package/build/lib/commandclass/BarrierOperatorCC.js.map +1 -1
- package/build/lib/commandclass/BasicCC.d.ts +5 -4
- package/build/lib/commandclass/BasicCC.d.ts.map +1 -1
- package/build/lib/commandclass/BasicCC.js +18 -18
- package/build/lib/commandclass/BasicCC.js.map +1 -1
- package/build/lib/commandclass/BatteryCC.d.ts +5 -4
- package/build/lib/commandclass/BatteryCC.d.ts.map +1 -1
- package/build/lib/commandclass/BatteryCC.js +17 -17
- package/build/lib/commandclass/BatteryCC.js.map +1 -1
- package/build/lib/commandclass/BinarySensorCC.d.ts +6 -5
- package/build/lib/commandclass/BinarySensorCC.d.ts.map +1 -1
- package/build/lib/commandclass/BinarySensorCC.js +24 -24
- package/build/lib/commandclass/BinarySensorCC.js.map +1 -1
- package/build/lib/commandclass/BinarySwitchCC.d.ts +5 -4
- package/build/lib/commandclass/BinarySwitchCC.d.ts.map +1 -1
- package/build/lib/commandclass/BinarySwitchCC.js +15 -15
- package/build/lib/commandclass/BinarySwitchCC.js.map +1 -1
- package/build/lib/commandclass/CRC16CC.d.ts +3 -3
- package/build/lib/commandclass/CRC16CC.d.ts.map +1 -1
- package/build/lib/commandclass/CRC16CC.js +5 -5
- package/build/lib/commandclass/CRC16CC.js.map +1 -1
- package/build/lib/commandclass/CentralSceneCC.d.ts +6 -5
- package/build/lib/commandclass/CentralSceneCC.d.ts.map +1 -1
- package/build/lib/commandclass/CentralSceneCC.js +23 -25
- package/build/lib/commandclass/CentralSceneCC.js.map +1 -1
- package/build/lib/commandclass/ClimateControlScheduleCC.d.ts +7 -7
- package/build/lib/commandclass/ClimateControlScheduleCC.d.ts.map +1 -1
- package/build/lib/commandclass/ClimateControlScheduleCC.js +12 -12
- package/build/lib/commandclass/ClimateControlScheduleCC.js.map +1 -1
- package/build/lib/commandclass/ClockCC.d.ts +5 -4
- package/build/lib/commandclass/ClockCC.d.ts.map +1 -1
- package/build/lib/commandclass/ClockCC.js +15 -15
- package/build/lib/commandclass/ClockCC.js.map +1 -1
- package/build/lib/commandclass/ColorSwitchCC.d.ts +10 -9
- package/build/lib/commandclass/ColorSwitchCC.d.ts.map +1 -1
- package/build/lib/commandclass/ColorSwitchCC.js +29 -29
- package/build/lib/commandclass/ColorSwitchCC.js.map +1 -1
- package/build/lib/commandclass/CommandClass.d.ts +17 -10
- package/build/lib/commandclass/CommandClass.d.ts.map +1 -1
- package/build/lib/commandclass/CommandClass.js +53 -27
- package/build/lib/commandclass/CommandClass.js.map +1 -1
- package/build/lib/commandclass/ConfigurationCC.d.ts +16 -15
- package/build/lib/commandclass/ConfigurationCC.d.ts.map +1 -1
- package/build/lib/commandclass/ConfigurationCC.js +66 -59
- package/build/lib/commandclass/ConfigurationCC.js.map +1 -1
- package/build/lib/commandclass/DoorLockCC.d.ts +8 -7
- package/build/lib/commandclass/DoorLockCC.d.ts.map +1 -1
- package/build/lib/commandclass/DoorLockCC.js +27 -27
- package/build/lib/commandclass/DoorLockCC.js.map +1 -1
- package/build/lib/commandclass/DoorLockLoggingCC.d.ts +6 -5
- package/build/lib/commandclass/DoorLockLoggingCC.d.ts.map +1 -1
- package/build/lib/commandclass/DoorLockLoggingCC.js +18 -18
- package/build/lib/commandclass/DoorLockLoggingCC.js.map +1 -1
- package/build/lib/commandclass/EntryControlCC.d.ts +8 -7
- package/build/lib/commandclass/EntryControlCC.d.ts.map +1 -1
- package/build/lib/commandclass/EntryControlCC.js +27 -27
- package/build/lib/commandclass/EntryControlCC.js.map +1 -1
- package/build/lib/commandclass/FirmwareUpdateMetaDataCC.d.ts +11 -11
- package/build/lib/commandclass/FirmwareUpdateMetaDataCC.d.ts.map +1 -1
- package/build/lib/commandclass/FirmwareUpdateMetaDataCC.js +20 -20
- package/build/lib/commandclass/FirmwareUpdateMetaDataCC.js.map +1 -1
- package/build/lib/commandclass/HumidityControlModeCC.d.ts +6 -5
- package/build/lib/commandclass/HumidityControlModeCC.d.ts.map +1 -1
- package/build/lib/commandclass/HumidityControlModeCC.js +22 -22
- package/build/lib/commandclass/HumidityControlModeCC.js.map +1 -1
- package/build/lib/commandclass/HumidityControlOperatingStateCC.d.ts +4 -3
- package/build/lib/commandclass/HumidityControlOperatingStateCC.d.ts.map +1 -1
- package/build/lib/commandclass/HumidityControlOperatingStateCC.js +13 -13
- package/build/lib/commandclass/HumidityControlOperatingStateCC.js.map +1 -1
- package/build/lib/commandclass/HumidityControlSetpointCC.d.ts +11 -10
- package/build/lib/commandclass/HumidityControlSetpointCC.d.ts.map +1 -1
- package/build/lib/commandclass/HumidityControlSetpointCC.js +46 -46
- package/build/lib/commandclass/HumidityControlSetpointCC.js.map +1 -1
- package/build/lib/commandclass/IndicatorCC.d.ts +9 -8
- package/build/lib/commandclass/IndicatorCC.d.ts.map +1 -1
- package/build/lib/commandclass/IndicatorCC.js +37 -37
- package/build/lib/commandclass/IndicatorCC.js.map +1 -1
- package/build/lib/commandclass/IrrigationCC.d.ts +18 -17
- package/build/lib/commandclass/IrrigationCC.d.ts.map +1 -1
- package/build/lib/commandclass/IrrigationCC.js +51 -51
- package/build/lib/commandclass/IrrigationCC.js.map +1 -1
- package/build/lib/commandclass/LanguageCC.d.ts +5 -4
- package/build/lib/commandclass/LanguageCC.d.ts.map +1 -1
- package/build/lib/commandclass/LanguageCC.js +15 -15
- package/build/lib/commandclass/LanguageCC.js.map +1 -1
- package/build/lib/commandclass/LockCC.d.ts +5 -4
- package/build/lib/commandclass/LockCC.d.ts.map +1 -1
- package/build/lib/commandclass/LockCC.js +15 -15
- package/build/lib/commandclass/LockCC.js.map +1 -1
- package/build/lib/commandclass/ManufacturerProprietaryCC.d.ts +11 -3
- package/build/lib/commandclass/ManufacturerProprietaryCC.d.ts.map +1 -1
- package/build/lib/commandclass/ManufacturerProprietaryCC.js +44 -18
- package/build/lib/commandclass/ManufacturerProprietaryCC.js.map +1 -1
- package/build/lib/commandclass/ManufacturerSpecificCC.d.ts +5 -4
- package/build/lib/commandclass/ManufacturerSpecificCC.d.ts.map +1 -1
- package/build/lib/commandclass/ManufacturerSpecificCC.js +15 -15
- package/build/lib/commandclass/ManufacturerSpecificCC.js.map +1 -1
- package/build/lib/commandclass/MeterCC.d.ts +8 -7
- package/build/lib/commandclass/MeterCC.d.ts.map +1 -1
- package/build/lib/commandclass/MeterCC.js +49 -41
- package/build/lib/commandclass/MeterCC.js.map +1 -1
- package/build/lib/commandclass/MultiChannelAssociationCC.d.ts +12 -11
- package/build/lib/commandclass/MultiChannelAssociationCC.d.ts.map +1 -1
- package/build/lib/commandclass/MultiChannelAssociationCC.js +45 -43
- package/build/lib/commandclass/MultiChannelAssociationCC.js.map +1 -1
- package/build/lib/commandclass/MultiChannelCC.d.ts +15 -14
- package/build/lib/commandclass/MultiChannelCC.d.ts.map +1 -1
- package/build/lib/commandclass/MultiChannelCC.js +61 -61
- package/build/lib/commandclass/MultiChannelCC.js.map +1 -1
- package/build/lib/commandclass/MultiCommandCC.d.ts +3 -3
- package/build/lib/commandclass/MultiCommandCC.d.ts.map +1 -1
- package/build/lib/commandclass/MultiCommandCC.js +5 -5
- package/build/lib/commandclass/MultiCommandCC.js.map +1 -1
- package/build/lib/commandclass/MultilevelSensorCC.d.ts +8 -7
- package/build/lib/commandclass/MultilevelSensorCC.d.ts.map +1 -1
- package/build/lib/commandclass/MultilevelSensorCC.js +50 -50
- package/build/lib/commandclass/MultilevelSensorCC.js.map +1 -1
- package/build/lib/commandclass/MultilevelSwitchCC.d.ts +8 -7
- package/build/lib/commandclass/MultilevelSwitchCC.d.ts.map +1 -1
- package/build/lib/commandclass/MultilevelSwitchCC.js +31 -31
- package/build/lib/commandclass/MultilevelSwitchCC.js.map +1 -1
- package/build/lib/commandclass/NoOperationCC.d.ts +1 -1
- package/build/lib/commandclass/NoOperationCC.d.ts.map +1 -1
- package/build/lib/commandclass/NoOperationCC.js +2 -2
- package/build/lib/commandclass/NoOperationCC.js.map +1 -1
- package/build/lib/commandclass/NodeNamingCC.d.ts +7 -6
- package/build/lib/commandclass/NodeNamingCC.d.ts.map +1 -1
- package/build/lib/commandclass/NodeNamingCC.js +21 -21
- package/build/lib/commandclass/NodeNamingCC.js.map +1 -1
- package/build/lib/commandclass/NotificationCC.d.ts +10 -9
- package/build/lib/commandclass/NotificationCC.d.ts.map +1 -1
- package/build/lib/commandclass/NotificationCC.js +54 -54
- package/build/lib/commandclass/NotificationCC.js.map +1 -1
- package/build/lib/commandclass/PowerlevelCC.d.ts +5 -5
- package/build/lib/commandclass/PowerlevelCC.d.ts.map +1 -1
- package/build/lib/commandclass/PowerlevelCC.js +9 -9
- package/build/lib/commandclass/PowerlevelCC.js.map +1 -1
- package/build/lib/commandclass/ProtectionCC.d.ts +10 -9
- package/build/lib/commandclass/ProtectionCC.d.ts.map +1 -1
- package/build/lib/commandclass/ProtectionCC.js +33 -33
- package/build/lib/commandclass/ProtectionCC.js.map +1 -1
- package/build/lib/commandclass/SceneActivationCC.d.ts +2 -2
- package/build/lib/commandclass/SceneActivationCC.d.ts.map +1 -1
- package/build/lib/commandclass/SceneActivationCC.js +2 -2
- package/build/lib/commandclass/SceneActivationCC.js.map +1 -1
- package/build/lib/commandclass/SceneActuatorConfigurationCC.d.ts +5 -4
- package/build/lib/commandclass/SceneActuatorConfigurationCC.d.ts.map +1 -1
- package/build/lib/commandclass/SceneActuatorConfigurationCC.js +9 -9
- package/build/lib/commandclass/SceneActuatorConfigurationCC.js.map +1 -1
- package/build/lib/commandclass/SceneControllerConfigurationCC.d.ts +7 -6
- package/build/lib/commandclass/SceneControllerConfigurationCC.d.ts.map +1 -1
- package/build/lib/commandclass/SceneControllerConfigurationCC.js +32 -28
- package/build/lib/commandclass/SceneControllerConfigurationCC.js.map +1 -1
- package/build/lib/commandclass/Security2CC.d.ts +17 -26
- package/build/lib/commandclass/Security2CC.d.ts.map +1 -1
- package/build/lib/commandclass/Security2CC.js +68 -68
- package/build/lib/commandclass/Security2CC.js.map +1 -1
- package/build/lib/commandclass/SecurityCC.d.ts +11 -14
- package/build/lib/commandclass/SecurityCC.d.ts.map +1 -1
- package/build/lib/commandclass/SecurityCC.js +41 -41
- package/build/lib/commandclass/SecurityCC.js.map +1 -1
- package/build/lib/commandclass/SoundSwitchCC.d.ts +9 -8
- package/build/lib/commandclass/SoundSwitchCC.d.ts.map +1 -1
- package/build/lib/commandclass/SoundSwitchCC.js +27 -27
- package/build/lib/commandclass/SoundSwitchCC.js.map +1 -1
- package/build/lib/commandclass/SupervisionCC.d.ts +4 -4
- package/build/lib/commandclass/SupervisionCC.d.ts.map +1 -1
- package/build/lib/commandclass/SupervisionCC.js +9 -9
- package/build/lib/commandclass/SupervisionCC.js.map +1 -1
- package/build/lib/commandclass/ThermostatFanModeCC.d.ts +6 -5
- package/build/lib/commandclass/ThermostatFanModeCC.d.ts.map +1 -1
- package/build/lib/commandclass/ThermostatFanModeCC.js +22 -22
- package/build/lib/commandclass/ThermostatFanModeCC.js.map +1 -1
- package/build/lib/commandclass/ThermostatFanStateCC.d.ts +4 -3
- package/build/lib/commandclass/ThermostatFanStateCC.d.ts.map +1 -1
- package/build/lib/commandclass/ThermostatFanStateCC.js +13 -13
- package/build/lib/commandclass/ThermostatFanStateCC.js.map +1 -1
- package/build/lib/commandclass/ThermostatModeCC.d.ts +6 -5
- package/build/lib/commandclass/ThermostatModeCC.d.ts.map +1 -1
- package/build/lib/commandclass/ThermostatModeCC.js +22 -22
- package/build/lib/commandclass/ThermostatModeCC.js.map +1 -1
- package/build/lib/commandclass/ThermostatOperatingStateCC.d.ts +4 -3
- package/build/lib/commandclass/ThermostatOperatingStateCC.d.ts.map +1 -1
- package/build/lib/commandclass/ThermostatOperatingStateCC.js +13 -13
- package/build/lib/commandclass/ThermostatOperatingStateCC.js.map +1 -1
- package/build/lib/commandclass/ThermostatSetbackCC.d.ts +5 -4
- package/build/lib/commandclass/ThermostatSetbackCC.d.ts.map +1 -1
- package/build/lib/commandclass/ThermostatSetbackCC.js +15 -15
- package/build/lib/commandclass/ThermostatSetbackCC.js.map +1 -1
- package/build/lib/commandclass/ThermostatSetpointCC.d.ts +10 -9
- package/build/lib/commandclass/ThermostatSetpointCC.d.ts.map +1 -1
- package/build/lib/commandclass/ThermostatSetpointCC.js +48 -48
- package/build/lib/commandclass/ThermostatSetpointCC.js.map +1 -1
- package/build/lib/commandclass/TimeCC.d.ts +6 -5
- package/build/lib/commandclass/TimeCC.d.ts.map +1 -1
- package/build/lib/commandclass/TimeCC.js +15 -15
- package/build/lib/commandclass/TimeCC.js.map +1 -1
- package/build/lib/commandclass/TimeParametersCC.d.ts +4 -3
- package/build/lib/commandclass/TimeParametersCC.d.ts.map +1 -1
- package/build/lib/commandclass/TimeParametersCC.js +11 -11
- package/build/lib/commandclass/TimeParametersCC.js.map +1 -1
- package/build/lib/commandclass/TransportServiceCC.d.ts +7 -7
- package/build/lib/commandclass/TransportServiceCC.d.ts.map +1 -1
- package/build/lib/commandclass/TransportServiceCC.js +12 -12
- package/build/lib/commandclass/TransportServiceCC.js.map +1 -1
- package/build/lib/commandclass/UserCodeCC.d.ts +17 -16
- package/build/lib/commandclass/UserCodeCC.d.ts.map +1 -1
- package/build/lib/commandclass/UserCodeCC.js +58 -58
- package/build/lib/commandclass/UserCodeCC.js.map +1 -1
- package/build/lib/commandclass/VersionCC.d.ts +7 -6
- package/build/lib/commandclass/VersionCC.d.ts.map +1 -1
- package/build/lib/commandclass/VersionCC.js +28 -28
- package/build/lib/commandclass/VersionCC.js.map +1 -1
- package/build/lib/commandclass/WakeUpCC.d.ts +5 -5
- package/build/lib/commandclass/WakeUpCC.d.ts.map +1 -1
- package/build/lib/commandclass/WakeUpCC.js +24 -28
- package/build/lib/commandclass/WakeUpCC.js.map +1 -1
- package/build/lib/commandclass/ZWavePlusCC.d.ts +20 -14
- package/build/lib/commandclass/ZWavePlusCC.d.ts.map +1 -1
- package/build/lib/commandclass/ZWavePlusCC.js +119 -41
- package/build/lib/commandclass/ZWavePlusCC.js.map +1 -1
- package/build/lib/commandclass/manufacturerProprietary/Fibaro.d.ts +8 -7
- package/build/lib/commandclass/manufacturerProprietary/Fibaro.d.ts.map +1 -1
- package/build/lib/commandclass/manufacturerProprietary/Fibaro.js +21 -21
- package/build/lib/commandclass/manufacturerProprietary/Fibaro.js.map +1 -1
- package/build/lib/controller/Controller.d.ts +21 -14
- package/build/lib/controller/Controller.d.ts.map +1 -1
- package/build/lib/controller/Controller.js +129 -140
- package/build/lib/controller/Controller.js.map +1 -1
- package/build/lib/controller/Inclusion.d.ts +1 -1
- package/build/lib/controller/Inclusion.d.ts.map +1 -1
- package/build/lib/controller/MockControllerBehaviors.d.ts +4 -0
- package/build/lib/controller/MockControllerBehaviors.d.ts.map +1 -0
- package/build/lib/controller/MockControllerBehaviors.js +161 -0
- package/build/lib/controller/MockControllerBehaviors.js.map +1 -0
- package/build/lib/controller/NodeInformationFrame.d.ts +9 -0
- package/build/lib/controller/NodeInformationFrame.d.ts.map +1 -0
- package/build/lib/controller/NodeInformationFrame.js +53 -0
- package/build/lib/controller/NodeInformationFrame.js.map +1 -0
- package/build/lib/controller/ZWaveChipTypes.d.ts +10 -0
- package/build/lib/controller/ZWaveChipTypes.d.ts.map +1 -0
- package/build/lib/controller/ZWaveChipTypes.js +32 -0
- package/build/lib/controller/ZWaveChipTypes.js.map +1 -0
- package/build/lib/controller/utils.d.ts +3 -0
- package/build/lib/controller/utils.d.ts.map +1 -0
- package/build/lib/controller/utils.js +40 -0
- package/build/lib/controller/utils.js.map +1 -0
- package/build/lib/driver/CommandQueueMachine.d.ts +1 -1
- package/build/lib/driver/CommandQueueMachine.d.ts.map +1 -1
- package/build/lib/driver/CommandQueueMachine.js.map +1 -1
- package/build/lib/driver/Driver.d.ts +7 -4
- package/build/lib/driver/Driver.d.ts.map +1 -1
- package/build/lib/driver/Driver.js +89 -67
- package/build/lib/driver/Driver.js.map +1 -1
- package/build/lib/driver/DriverMock.d.ts +13 -0
- package/build/lib/driver/DriverMock.d.ts.map +1 -0
- package/build/lib/driver/DriverMock.js +53 -0
- package/build/lib/driver/DriverMock.js.map +1 -0
- package/build/lib/driver/MessageGenerators.d.ts +1 -1
- package/build/lib/driver/MessageGenerators.d.ts.map +1 -1
- package/build/lib/driver/MessageGenerators.js.map +1 -1
- package/build/lib/driver/NetworkCache.d.ts +1 -1
- package/build/lib/driver/NetworkCache.d.ts.map +1 -1
- package/build/lib/driver/NetworkCache.js +80 -38
- package/build/lib/driver/NetworkCache.js.map +1 -1
- package/build/lib/driver/SendThreadMachine.d.ts +2 -2
- package/build/lib/driver/SendThreadMachine.d.ts.map +1 -1
- package/build/lib/driver/SendThreadMachine.js +4 -4
- package/build/lib/driver/SendThreadMachine.js.map +1 -1
- package/build/lib/driver/SerialAPICommandMachine.d.ts +1 -1
- package/build/lib/driver/SerialAPICommandMachine.d.ts.map +1 -1
- package/build/lib/driver/SerialAPICommandMachine.js +6 -7
- package/build/lib/driver/SerialAPICommandMachine.js.map +1 -1
- package/build/lib/driver/StateMachineShared.d.ts +1 -1
- package/build/lib/driver/StateMachineShared.d.ts.map +1 -1
- package/build/lib/driver/StateMachineShared.js.map +1 -1
- package/build/lib/driver/Transaction.d.ts +2 -2
- package/build/lib/driver/Transaction.d.ts.map +1 -1
- package/build/lib/driver/Transaction.js +5 -5
- package/build/lib/driver/Transaction.js.map +1 -1
- package/build/lib/driver/TransactionMachine.d.ts +1 -1
- package/build/lib/driver/TransactionMachine.d.ts.map +1 -1
- package/build/lib/driver/TransactionMachine.js.map +1 -1
- package/build/lib/driver/ZWaveOptions.d.ts +1 -1
- package/build/lib/driver/ZWaveOptions.d.ts.map +1 -1
- package/build/lib/log/Driver.d.ts +1 -1
- package/build/lib/log/Driver.d.ts.map +1 -1
- package/build/lib/log/Driver.js +4 -4
- package/build/lib/log/Driver.js.map +1 -1
- package/build/lib/node/Endpoint.d.ts +3 -2
- package/build/lib/node/Endpoint.d.ts.map +1 -1
- package/build/lib/node/Endpoint.js +32 -31
- package/build/lib/node/Endpoint.js.map +1 -1
- package/build/lib/node/Node.d.ts +4 -13
- package/build/lib/node/Node.d.ts.map +1 -1
- package/build/lib/node/Node.js +64 -150
- package/build/lib/node/Node.js.map +1 -1
- package/build/lib/node/_Types.d.ts +2 -30
- package/build/lib/node/_Types.d.ts.map +1 -1
- package/build/lib/node/_Types.js +3 -33
- package/build/lib/node/_Types.js.map +1 -1
- package/build/lib/node/utils.d.ts +28 -0
- package/build/lib/node/utils.d.ts.map +1 -0
- package/build/lib/node/utils.js +187 -0
- package/build/lib/node/utils.js.map +1 -0
- package/build/lib/serialapi/_Types.d.ts +1 -14
- package/build/lib/serialapi/_Types.d.ts.map +1 -1
- package/build/lib/serialapi/_Types.js +2 -15
- package/build/lib/serialapi/_Types.js.map +1 -1
- package/build/lib/serialapi/application/ApplicationCommandRequest.d.ts +4 -3
- package/build/lib/serialapi/application/ApplicationCommandRequest.d.ts.map +1 -1
- package/build/lib/serialapi/application/ApplicationCommandRequest.js +15 -14
- package/build/lib/serialapi/application/ApplicationCommandRequest.js.map +1 -1
- package/build/lib/serialapi/application/ApplicationUpdateRequest.d.ts +6 -6
- package/build/lib/serialapi/application/ApplicationUpdateRequest.d.ts.map +1 -1
- package/build/lib/serialapi/application/ApplicationUpdateRequest.js +10 -11
- package/build/lib/serialapi/application/ApplicationUpdateRequest.js.map +1 -1
- package/build/lib/serialapi/application/BridgeApplicationCommandRequest.d.ts +4 -3
- package/build/lib/serialapi/application/BridgeApplicationCommandRequest.d.ts.map +1 -1
- package/build/lib/serialapi/application/BridgeApplicationCommandRequest.js +14 -9
- package/build/lib/serialapi/application/BridgeApplicationCommandRequest.js.map +1 -1
- package/build/lib/serialapi/application/SerialAPIStartedRequest.d.ts +23 -11
- package/build/lib/serialapi/application/SerialAPIStartedRequest.d.ts.map +1 -1
- package/build/lib/serialapi/application/SerialAPIStartedRequest.js +59 -36
- package/build/lib/serialapi/application/SerialAPIStartedRequest.js.map +1 -1
- package/build/lib/serialapi/capability/GetControllerCapabilitiesMessages.d.ts +17 -11
- package/build/lib/serialapi/capability/GetControllerCapabilitiesMessages.d.ts.map +1 -1
- package/build/lib/serialapi/capability/GetControllerCapabilitiesMessages.js +40 -34
- package/build/lib/serialapi/capability/GetControllerCapabilitiesMessages.js.map +1 -1
- package/build/lib/serialapi/capability/GetControllerVersionMessages.d.ts +11 -9
- package/build/lib/serialapi/capability/GetControllerVersionMessages.d.ts.map +1 -1
- package/build/lib/serialapi/capability/GetControllerVersionMessages.js +24 -24
- package/build/lib/serialapi/capability/GetControllerVersionMessages.js.map +1 -1
- package/build/lib/serialapi/capability/GetProtocolVersionMessages.d.ts +3 -3
- package/build/lib/serialapi/capability/GetProtocolVersionMessages.d.ts.map +1 -1
- package/build/lib/serialapi/capability/GetProtocolVersionMessages.js +9 -10
- package/build/lib/serialapi/capability/GetProtocolVersionMessages.js.map +1 -1
- package/build/lib/serialapi/capability/GetSerialApiCapabilitiesMessages.d.ts +17 -16
- package/build/lib/serialapi/capability/GetSerialApiCapabilitiesMessages.d.ts.map +1 -1
- package/build/lib/serialapi/capability/GetSerialApiCapabilitiesMessages.js +39 -42
- package/build/lib/serialapi/capability/GetSerialApiCapabilitiesMessages.js.map +1 -1
- package/build/lib/serialapi/capability/GetSerialApiInitDataMessages.d.ts +26 -14
- package/build/lib/serialapi/capability/GetSerialApiInitDataMessages.d.ts.map +1 -1
- package/build/lib/serialapi/capability/GetSerialApiInitDataMessages.js +138 -51
- package/build/lib/serialapi/capability/GetSerialApiInitDataMessages.js.map +1 -1
- package/build/lib/serialapi/capability/HardResetRequest.d.ts +12 -2
- package/build/lib/serialapi/capability/HardResetRequest.d.ts.map +1 -1
- package/build/lib/serialapi/capability/HardResetRequest.js +41 -11
- package/build/lib/serialapi/capability/HardResetRequest.js.map +1 -1
- package/build/lib/serialapi/capability/SerialAPISetupMessages.d.ts +22 -22
- package/build/lib/serialapi/capability/SerialAPISetupMessages.d.ts.map +1 -1
- package/build/lib/serialapi/capability/SerialAPISetupMessages.js +50 -51
- package/build/lib/serialapi/capability/SerialAPISetupMessages.js.map +1 -1
- package/build/lib/serialapi/capability/SetApplicationNodeInformationRequest.d.ts +22 -0
- package/build/lib/serialapi/capability/SetApplicationNodeInformationRequest.d.ts.map +1 -0
- package/build/lib/serialapi/capability/SetApplicationNodeInformationRequest.js +60 -0
- package/build/lib/serialapi/capability/SetApplicationNodeInformationRequest.js.map +1 -0
- package/build/lib/serialapi/memory/GetControllerIdMessages.d.ts +13 -9
- package/build/lib/serialapi/memory/GetControllerIdMessages.d.ts.map +1 -1
- package/build/lib/serialapi/memory/GetControllerIdMessages.js +31 -23
- package/build/lib/serialapi/memory/GetControllerIdMessages.js.map +1 -1
- package/build/lib/serialapi/misc/GetBackgroundRSSIMessages.d.ts +3 -3
- package/build/lib/serialapi/misc/GetBackgroundRSSIMessages.d.ts.map +1 -1
- package/build/lib/serialapi/misc/GetBackgroundRSSIMessages.js +9 -10
- package/build/lib/serialapi/misc/GetBackgroundRSSIMessages.js.map +1 -1
- package/build/lib/serialapi/misc/SetRFReceiveModeMessages.d.ts +5 -5
- package/build/lib/serialapi/misc/SetRFReceiveModeMessages.d.ts.map +1 -1
- package/build/lib/serialapi/misc/SetRFReceiveModeMessages.js +12 -13
- package/build/lib/serialapi/misc/SetRFReceiveModeMessages.js.map +1 -1
- package/build/lib/serialapi/misc/SetSerialApiTimeoutsMessages.d.ts +4 -4
- package/build/lib/serialapi/misc/SetSerialApiTimeoutsMessages.d.ts.map +1 -1
- package/build/lib/serialapi/misc/SetSerialApiTimeoutsMessages.js +11 -12
- package/build/lib/serialapi/misc/SetSerialApiTimeoutsMessages.js.map +1 -1
- package/build/lib/serialapi/misc/SoftResetRequest.d.ts +1 -1
- package/build/lib/serialapi/misc/SoftResetRequest.d.ts.map +1 -1
- package/build/lib/serialapi/misc/SoftResetRequest.js +4 -5
- package/build/lib/serialapi/misc/SoftResetRequest.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/AddNodeToNetworkRequest.d.ts +8 -8
- package/build/lib/serialapi/network-mgmt/AddNodeToNetworkRequest.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/AddNodeToNetworkRequest.js +17 -18
- package/build/lib/serialapi/network-mgmt/AddNodeToNetworkRequest.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/AssignReturnRouteMessages.d.ts +7 -8
- package/build/lib/serialapi/network-mgmt/AssignReturnRouteMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/AssignReturnRouteMessages.js +19 -20
- package/build/lib/serialapi/network-mgmt/AssignReturnRouteMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/AssignSUCReturnRouteMessages.d.ts +7 -8
- package/build/lib/serialapi/network-mgmt/AssignSUCReturnRouteMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/AssignSUCReturnRouteMessages.js +19 -20
- package/build/lib/serialapi/network-mgmt/AssignSUCReturnRouteMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/DeleteReturnRouteMessages.d.ts +7 -8
- package/build/lib/serialapi/network-mgmt/DeleteReturnRouteMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/DeleteReturnRouteMessages.js +19 -20
- package/build/lib/serialapi/network-mgmt/DeleteReturnRouteMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/DeleteSUCReturnRouteMessages.d.ts +7 -8
- package/build/lib/serialapi/network-mgmt/DeleteSUCReturnRouteMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/DeleteSUCReturnRouteMessages.js +19 -20
- package/build/lib/serialapi/network-mgmt/DeleteSUCReturnRouteMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/GetNodeProtocolInfoMessages.d.ts +20 -18
- package/build/lib/serialapi/network-mgmt/GetNodeProtocolInfoMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/GetNodeProtocolInfoMessages.js +72 -26
- package/build/lib/serialapi/network-mgmt/GetNodeProtocolInfoMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/GetRoutingInfoMessages.d.ts +4 -4
- package/build/lib/serialapi/network-mgmt/GetRoutingInfoMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/GetRoutingInfoMessages.js +11 -12
- package/build/lib/serialapi/network-mgmt/GetRoutingInfoMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/GetSUCNodeIdMessages.d.ts +9 -7
- package/build/lib/serialapi/network-mgmt/GetSUCNodeIdMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/GetSUCNodeIdMessages.js +18 -19
- package/build/lib/serialapi/network-mgmt/GetSUCNodeIdMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/IsFailedNodeMessages.d.ts +4 -4
- package/build/lib/serialapi/network-mgmt/IsFailedNodeMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/IsFailedNodeMessages.js +11 -12
- package/build/lib/serialapi/network-mgmt/IsFailedNodeMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/RemoveFailedNodeMessages.d.ts +7 -7
- package/build/lib/serialapi/network-mgmt/RemoveFailedNodeMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/RemoveFailedNodeMessages.js +18 -19
- package/build/lib/serialapi/network-mgmt/RemoveFailedNodeMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/RemoveNodeFromNetworkRequest.d.ts +6 -6
- package/build/lib/serialapi/network-mgmt/RemoveNodeFromNetworkRequest.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/RemoveNodeFromNetworkRequest.js +13 -14
- package/build/lib/serialapi/network-mgmt/RemoveNodeFromNetworkRequest.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/ReplaceFailedNodeRequest.d.ts +7 -7
- package/build/lib/serialapi/network-mgmt/ReplaceFailedNodeRequest.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/ReplaceFailedNodeRequest.js +17 -18
- package/build/lib/serialapi/network-mgmt/ReplaceFailedNodeRequest.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/RequestNodeInfoMessages.d.ts +5 -6
- package/build/lib/serialapi/network-mgmt/RequestNodeInfoMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/RequestNodeInfoMessages.js +12 -13
- package/build/lib/serialapi/network-mgmt/RequestNodeInfoMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/RequestNodeNeighborUpdateMessages.d.ts +6 -6
- package/build/lib/serialapi/network-mgmt/RequestNodeNeighborUpdateMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/RequestNodeNeighborUpdateMessages.js +14 -15
- package/build/lib/serialapi/network-mgmt/RequestNodeNeighborUpdateMessages.js.map +1 -1
- package/build/lib/serialapi/network-mgmt/SetSUCNodeIDMessages.d.ts +7 -7
- package/build/lib/serialapi/network-mgmt/SetSUCNodeIDMessages.d.ts.map +1 -1
- package/build/lib/serialapi/network-mgmt/SetSUCNodeIDMessages.js +21 -22
- package/build/lib/serialapi/network-mgmt/SetSUCNodeIDMessages.js.map +1 -1
- package/build/lib/serialapi/nvm/ExtNVMReadLongBufferMessages.d.ts +4 -4
- package/build/lib/serialapi/nvm/ExtNVMReadLongBufferMessages.d.ts.map +1 -1
- package/build/lib/serialapi/nvm/ExtNVMReadLongBufferMessages.js +12 -13
- package/build/lib/serialapi/nvm/ExtNVMReadLongBufferMessages.js.map +1 -1
- package/build/lib/serialapi/nvm/ExtNVMReadLongByteMessages.d.ts +4 -4
- package/build/lib/serialapi/nvm/ExtNVMReadLongByteMessages.d.ts.map +1 -1
- package/build/lib/serialapi/nvm/ExtNVMReadLongByteMessages.js +12 -13
- package/build/lib/serialapi/nvm/ExtNVMReadLongByteMessages.js.map +1 -1
- package/build/lib/serialapi/nvm/ExtNVMWriteLongBufferMessages.d.ts +4 -4
- package/build/lib/serialapi/nvm/ExtNVMWriteLongBufferMessages.d.ts.map +1 -1
- package/build/lib/serialapi/nvm/ExtNVMWriteLongBufferMessages.js +12 -13
- package/build/lib/serialapi/nvm/ExtNVMWriteLongBufferMessages.js.map +1 -1
- package/build/lib/serialapi/nvm/ExtNVMWriteLongByteMessages.d.ts +4 -4
- package/build/lib/serialapi/nvm/ExtNVMWriteLongByteMessages.d.ts.map +1 -1
- package/build/lib/serialapi/nvm/ExtNVMWriteLongByteMessages.js +12 -13
- package/build/lib/serialapi/nvm/ExtNVMWriteLongByteMessages.js.map +1 -1
- package/build/lib/serialapi/nvm/GetNVMIdMessages.d.ts +3 -3
- package/build/lib/serialapi/nvm/GetNVMIdMessages.d.ts.map +1 -1
- package/build/lib/serialapi/nvm/GetNVMIdMessages.js +9 -10
- package/build/lib/serialapi/nvm/GetNVMIdMessages.js.map +1 -1
- package/build/lib/serialapi/nvm/NVMOperationsMessages.d.ts +8 -8
- package/build/lib/serialapi/nvm/NVMOperationsMessages.d.ts.map +1 -1
- package/build/lib/serialapi/nvm/NVMOperationsMessages.js +19 -20
- package/build/lib/serialapi/nvm/NVMOperationsMessages.js.map +1 -1
- package/build/lib/serialapi/transport/SendDataBridgeMessages.d.ts +13 -11
- package/build/lib/serialapi/transport/SendDataBridgeMessages.d.ts.map +1 -1
- package/build/lib/serialapi/transport/SendDataBridgeMessages.js +48 -44
- package/build/lib/serialapi/transport/SendDataBridgeMessages.js.map +1 -1
- package/build/lib/serialapi/transport/SendDataMessages.d.ts +13 -11
- package/build/lib/serialapi/transport/SendDataMessages.d.ts.map +1 -1
- package/build/lib/serialapi/transport/SendDataMessages.js +49 -43
- package/build/lib/serialapi/transport/SendDataMessages.js.map +1 -1
- package/build/lib/telemetry/deviceConfig.d.ts.map +1 -1
- package/build/lib/telemetry/deviceConfig.js +2 -3
- package/build/lib/telemetry/deviceConfig.js.map +1 -1
- package/package.json +9 -8
- package/build/lib/driver/FileSystem.d.ts +0 -11
- package/build/lib/driver/FileSystem.d.ts.map +0 -1
- package/build/lib/driver/FileSystem.js +0 -3
- package/build/lib/driver/FileSystem.js.map +0 -1
- package/build/lib/log/Controller.d.ts +0 -68
- package/build/lib/log/Controller.d.ts.map +0 -1
- package/build/lib/log/Controller.js +0 -221
- package/build/lib/log/Controller.js.map +0 -1
- package/build/lib/message/Constants.d.ts +0 -150
- package/build/lib/message/Constants.d.ts.map +0 -1
- package/build/lib/message/Constants.js +0 -176
- package/build/lib/message/Constants.js.map +0 -1
- package/build/lib/message/Message.d.ts +0 -172
- package/build/lib/message/Message.d.ts.map +0 -1
- package/build/lib/message/Message.js +0 -465
- package/build/lib/message/Message.js.map +0 -1
- package/build/lib/message/SuccessIndicator.d.ts +0 -16
- package/build/lib/message/SuccessIndicator.d.ts.map +0 -1
- package/build/lib/message/SuccessIndicator.js +0 -12
- package/build/lib/message/SuccessIndicator.js.map +0 -1
- package/build/lib/node/INodeQuery.d.ts +0 -7
- package/build/lib/node/INodeQuery.d.ts.map +0 -1
- package/build/lib/node/INodeQuery.js +0 -9
- package/build/lib/node/INodeQuery.js.map +0 -1
|
@@ -8,37 +8,36 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.SetSUCNodeIdRequestStatusReport = exports.SetSUCNodeIdResponse = exports.SetSUCNodeIdRequest = exports.SetSUCNodeIdRequestBase = exports.SetSUCNodeIdStatus = void 0;
|
|
10
10
|
const core_1 = require("@zwave-js/core");
|
|
11
|
+
const serial_1 = require("@zwave-js/serial");
|
|
11
12
|
const _Types_1 = require("../../controller/_Types");
|
|
12
|
-
const Constants_1 = require("../../message/Constants");
|
|
13
|
-
const Message_1 = require("../../message/Message");
|
|
14
13
|
var SetSUCNodeIdStatus;
|
|
15
14
|
(function (SetSUCNodeIdStatus) {
|
|
16
15
|
SetSUCNodeIdStatus[SetSUCNodeIdStatus["Succeeded"] = 5] = "Succeeded";
|
|
17
16
|
SetSUCNodeIdStatus[SetSUCNodeIdStatus["Failed"] = 6] = "Failed";
|
|
18
17
|
})(SetSUCNodeIdStatus = exports.SetSUCNodeIdStatus || (exports.SetSUCNodeIdStatus = {}));
|
|
19
|
-
let SetSUCNodeIdRequestBase = class SetSUCNodeIdRequestBase extends
|
|
20
|
-
constructor(
|
|
21
|
-
if ((0,
|
|
18
|
+
let SetSUCNodeIdRequestBase = class SetSUCNodeIdRequestBase extends serial_1.Message {
|
|
19
|
+
constructor(host, options) {
|
|
20
|
+
if ((0, serial_1.gotDeserializationOptions)(options) &&
|
|
22
21
|
new.target !== SetSUCNodeIdRequestStatusReport) {
|
|
23
|
-
return new SetSUCNodeIdRequestStatusReport(
|
|
22
|
+
return new SetSUCNodeIdRequestStatusReport(host, options);
|
|
24
23
|
}
|
|
25
|
-
super(
|
|
24
|
+
super(host, options);
|
|
26
25
|
}
|
|
27
26
|
};
|
|
28
27
|
SetSUCNodeIdRequestBase = __decorate([
|
|
29
|
-
(0,
|
|
30
|
-
(0,
|
|
28
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Request, serial_1.FunctionType.SetSUCNodeId),
|
|
29
|
+
(0, serial_1.priority)(serial_1.MessagePriority.Controller)
|
|
31
30
|
], SetSUCNodeIdRequestBase);
|
|
32
31
|
exports.SetSUCNodeIdRequestBase = SetSUCNodeIdRequestBase;
|
|
33
32
|
let SetSUCNodeIdRequest = class SetSUCNodeIdRequest extends SetSUCNodeIdRequestBase {
|
|
34
|
-
constructor(
|
|
33
|
+
constructor(host, options) {
|
|
35
34
|
var _a, _b;
|
|
36
|
-
super(
|
|
37
|
-
if ((0,
|
|
35
|
+
super(host, options);
|
|
36
|
+
if ((0, serial_1.gotDeserializationOptions)(options)) {
|
|
38
37
|
throw new core_1.ZWaveError(`${this.constructor.name}: deserialization not implemented`, core_1.ZWaveErrorCodes.Deserialization_NotImplemented);
|
|
39
38
|
}
|
|
40
39
|
else {
|
|
41
|
-
this.sucNodeId = (_a = options.sucNodeId) !== null && _a !== void 0 ? _a :
|
|
40
|
+
this.sucNodeId = (_a = options.sucNodeId) !== null && _a !== void 0 ? _a : host.ownNodeId;
|
|
42
41
|
this.enableSUC = options.enableSUC;
|
|
43
42
|
this.enableSIS = options.enableSIS;
|
|
44
43
|
this.transmitOptions =
|
|
@@ -56,19 +55,19 @@ let SetSUCNodeIdRequest = class SetSUCNodeIdRequest extends SetSUCNodeIdRequestB
|
|
|
56
55
|
return super.serialize();
|
|
57
56
|
}
|
|
58
57
|
expectsCallback() {
|
|
59
|
-
if (this.sucNodeId === this.
|
|
58
|
+
if (this.sucNodeId === this.host.ownNodeId)
|
|
60
59
|
return false;
|
|
61
60
|
return super.expectsCallback();
|
|
62
61
|
}
|
|
63
62
|
};
|
|
64
63
|
SetSUCNodeIdRequest = __decorate([
|
|
65
|
-
(0,
|
|
66
|
-
(0,
|
|
64
|
+
(0, serial_1.expectedResponse)(serial_1.FunctionType.SetSUCNodeId),
|
|
65
|
+
(0, serial_1.expectedCallback)(serial_1.FunctionType.SetSUCNodeId)
|
|
67
66
|
], SetSUCNodeIdRequest);
|
|
68
67
|
exports.SetSUCNodeIdRequest = SetSUCNodeIdRequest;
|
|
69
|
-
let SetSUCNodeIdResponse = class SetSUCNodeIdResponse extends
|
|
70
|
-
constructor(
|
|
71
|
-
super(
|
|
68
|
+
let SetSUCNodeIdResponse = class SetSUCNodeIdResponse extends serial_1.Message {
|
|
69
|
+
constructor(host, options) {
|
|
70
|
+
super(host, options);
|
|
72
71
|
this._wasExecuted = this.payload[0] !== 0;
|
|
73
72
|
}
|
|
74
73
|
isOK() {
|
|
@@ -85,12 +84,12 @@ let SetSUCNodeIdResponse = class SetSUCNodeIdResponse extends Message_1.Message
|
|
|
85
84
|
}
|
|
86
85
|
};
|
|
87
86
|
SetSUCNodeIdResponse = __decorate([
|
|
88
|
-
(0,
|
|
87
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Response, serial_1.FunctionType.SetSUCNodeId)
|
|
89
88
|
], SetSUCNodeIdResponse);
|
|
90
89
|
exports.SetSUCNodeIdResponse = SetSUCNodeIdResponse;
|
|
91
90
|
class SetSUCNodeIdRequestStatusReport extends SetSUCNodeIdRequestBase {
|
|
92
|
-
constructor(
|
|
93
|
-
super(
|
|
91
|
+
constructor(host, options) {
|
|
92
|
+
super(host, options);
|
|
94
93
|
this.callbackId = this.payload[0];
|
|
95
94
|
this._status = this.payload[1];
|
|
96
95
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetSUCNodeIDMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/network-mgmt/SetSUCNodeIDMessages.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yCAIwB;
|
|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1B,CAAC;IAEM,UAAU;QAChB,OAAO;YACN,GAAG,KAAK,CAAC,UAAU,EAAE;YACrB,OAAO,EAAE,EAAE,cAAc,EAAE,IAAI,CAAC,WAAW,EAAE;SAC7C,CAAC;IACH,CAAC;CACD,CAAA;AAxBY,oBAAoB;IADhC,IAAA,qBAAY,EAAC,oBAAW,CAAC,QAAQ,EAAE,qBAAY,CAAC,YAAY,CAAC;GACjD,oBAAoB,CAwBhC;AAxBY,oDAAoB;AA0BjC,MAAa,+BACZ,SAAQ,uBAAuB;IAG/B,YACC,IAAe,EACf,OAAsC;QAEtC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAErB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAClC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAChC,CAAC;IAGD,IAAW,MAAM;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC;IACrB,CAAC;IAEM,IAAI;QACV,OAAO,IAAI,CAAC,OAAO,KAAK,kBAAkB,CAAC,SAAS,CAAC;IACtD,CAAC;CACD;AAtBD,0EAsBC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { MessageOrCCLogEntry } from "@zwave-js/core";
|
|
3
|
-
import type {
|
|
4
|
-
import { Message, MessageBaseOptions, MessageDeserializationOptions } from "
|
|
3
|
+
import type { ZWaveHost } from "@zwave-js/host";
|
|
4
|
+
import { Message, MessageBaseOptions, MessageDeserializationOptions } from "@zwave-js/serial";
|
|
5
5
|
export interface ExtNVMReadLongBufferRequestOptions extends MessageBaseOptions {
|
|
6
6
|
offset: number;
|
|
7
7
|
length: number;
|
|
8
8
|
}
|
|
9
9
|
export declare class ExtNVMReadLongBufferRequest extends Message {
|
|
10
|
-
constructor(
|
|
10
|
+
constructor(host: ZWaveHost, options: MessageDeserializationOptions | ExtNVMReadLongBufferRequestOptions);
|
|
11
11
|
offset: number;
|
|
12
12
|
length: number;
|
|
13
13
|
serialize(): Buffer;
|
|
14
14
|
toLogEntry(): MessageOrCCLogEntry;
|
|
15
15
|
}
|
|
16
16
|
export declare class ExtNVMReadLongBufferResponse extends Message {
|
|
17
|
-
constructor(
|
|
17
|
+
constructor(host: ZWaveHost, options: MessageDeserializationOptions);
|
|
18
18
|
readonly buffer: Buffer;
|
|
19
19
|
toLogEntry(): MessageOrCCLogEntry;
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtNVMReadLongBufferMessages.d.ts","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMReadLongBufferMessages.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,mBAAmB,EAGnB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExtNVMReadLongBufferMessages.d.ts","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMReadLongBufferMessages.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,mBAAmB,EAGnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAIN,OAAO,EACP,kBAAkB,EAClB,6BAA6B,EAK7B,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,kCAAmC,SAAQ,kBAAkB;IAC7E,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CACf;AAED,qBAGa,2BAA4B,SAAQ,OAAO;gBAEtD,IAAI,EAAE,SAAS,EACf,OAAO,EACJ,6BAA6B,GAC7B,kCAAkC;IA2B/B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,IAAI,MAAM;IAOnB,UAAU,IAAI,mBAAmB;CASxC;AAED,qBACa,4BAA6B,SAAQ,OAAO;gBAEvD,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,6BAA6B;IAMvC,SAAgB,MAAM,EAAE,MAAM,CAAC;IAExB,UAAU,IAAI,mBAAmB;CAUxC"}
|
|
@@ -8,13 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.ExtNVMReadLongBufferResponse = exports.ExtNVMReadLongBufferRequest = void 0;
|
|
10
10
|
const core_1 = require("@zwave-js/core");
|
|
11
|
+
const serial_1 = require("@zwave-js/serial");
|
|
11
12
|
const shared_1 = require("@zwave-js/shared");
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
super(driver, options);
|
|
17
|
-
if ((0, Message_1.gotDeserializationOptions)(options)) {
|
|
13
|
+
let ExtNVMReadLongBufferRequest = class ExtNVMReadLongBufferRequest extends serial_1.Message {
|
|
14
|
+
constructor(host, options) {
|
|
15
|
+
super(host, options);
|
|
16
|
+
if ((0, serial_1.gotDeserializationOptions)(options)) {
|
|
18
17
|
throw new core_1.ZWaveError(`${this.constructor.name}: deserialization not implemented`, core_1.ZWaveErrorCodes.Deserialization_NotImplemented);
|
|
19
18
|
}
|
|
20
19
|
else {
|
|
@@ -45,14 +44,14 @@ let ExtNVMReadLongBufferRequest = class ExtNVMReadLongBufferRequest extends Mess
|
|
|
45
44
|
}
|
|
46
45
|
};
|
|
47
46
|
ExtNVMReadLongBufferRequest = __decorate([
|
|
48
|
-
(0,
|
|
49
|
-
(0,
|
|
50
|
-
(0,
|
|
47
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Request, serial_1.FunctionType.ExtNVMReadLongBuffer),
|
|
48
|
+
(0, serial_1.priority)(serial_1.MessagePriority.Controller),
|
|
49
|
+
(0, serial_1.expectedResponse)(serial_1.FunctionType.ExtNVMReadLongBuffer)
|
|
51
50
|
], ExtNVMReadLongBufferRequest);
|
|
52
51
|
exports.ExtNVMReadLongBufferRequest = ExtNVMReadLongBufferRequest;
|
|
53
|
-
let ExtNVMReadLongBufferResponse = class ExtNVMReadLongBufferResponse extends
|
|
54
|
-
constructor(
|
|
55
|
-
super(
|
|
52
|
+
let ExtNVMReadLongBufferResponse = class ExtNVMReadLongBufferResponse extends serial_1.Message {
|
|
53
|
+
constructor(host, options) {
|
|
54
|
+
super(host, options);
|
|
56
55
|
this.buffer = this.payload;
|
|
57
56
|
}
|
|
58
57
|
toLogEntry() {
|
|
@@ -65,7 +64,7 @@ let ExtNVMReadLongBufferResponse = class ExtNVMReadLongBufferResponse extends Me
|
|
|
65
64
|
}
|
|
66
65
|
};
|
|
67
66
|
ExtNVMReadLongBufferResponse = __decorate([
|
|
68
|
-
(0,
|
|
67
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Response, serial_1.FunctionType.ExtNVMReadLongBuffer)
|
|
69
68
|
], ExtNVMReadLongBufferResponse);
|
|
70
69
|
exports.ExtNVMReadLongBufferResponse = ExtNVMReadLongBufferResponse;
|
|
71
70
|
//# sourceMappingURL=ExtNVMReadLongBufferMessages.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtNVMReadLongBufferMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMReadLongBufferMessages.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yCAIwB;
|
|
1
|
+
{"version":3,"file":"ExtNVMReadLongBufferMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMReadLongBufferMessages.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yCAIwB;AAExB,6CAW0B;AAC1B,6CAA2C;AAU3C,IAAa,2BAA2B,GAAxC,MAAa,2BAA4B,SAAQ,gBAAO;IACvD,YACC,IAAe,EACf,OAEqC;QAErC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACrB,IAAI,IAAA,kCAAyB,EAAC,OAAO,CAAC,EAAE;YACvC,MAAM,IAAI,iBAAU,CACnB,GAAG,IAAI,CAAC,WAAW,C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yBAAgB,EAAC,qBAAY,CAAC,oBAAoB,CAAC;GACvC,2BAA2B,CAmDvC;AAnDY,kEAA2B;AAsDxC,IAAa,4BAA4B,GAAzC,MAAa,4BAA6B,SAAQ,gBAAO;IACxD,YACC,IAAe,EACf,OAAsC;QAEtC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;IAC5B,CAAC;IAIM,UAAU;QAChB,OAAO;YACN,GAAG,KAAK,CAAC,UAAU,EAAE;YACrB,OAAO,EAAE;gBACR,MAAM,EAAE,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,QAC7B,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GACjC,GAAG;aACH;SACD,CAAC;IACH,CAAC;CACD,CAAA;AArBY,4BAA4B;IADxC,IAAA,qBAAY,EAAC,oBAAW,CAAC,QAAQ,EAAE,qBAAY,CAAC,oBAAoB,CAAC;GACzD,4BAA4B,CAqBxC;AArBY,oEAA4B"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { MessageOrCCLogEntry } from "@zwave-js/core";
|
|
3
|
-
import type {
|
|
4
|
-
import { Message, MessageBaseOptions, MessageDeserializationOptions } from "
|
|
3
|
+
import type { ZWaveHost } from "@zwave-js/host";
|
|
4
|
+
import { Message, MessageBaseOptions, MessageDeserializationOptions } from "@zwave-js/serial";
|
|
5
5
|
export interface ExtNVMReadLongByteRequestOptions extends MessageBaseOptions {
|
|
6
6
|
offset: number;
|
|
7
7
|
}
|
|
8
8
|
export declare class ExtNVMReadLongByteRequest extends Message {
|
|
9
|
-
constructor(
|
|
9
|
+
constructor(host: ZWaveHost, options: MessageDeserializationOptions | ExtNVMReadLongByteRequestOptions);
|
|
10
10
|
offset: number;
|
|
11
11
|
serialize(): Buffer;
|
|
12
12
|
toLogEntry(): MessageOrCCLogEntry;
|
|
13
13
|
}
|
|
14
14
|
export declare class ExtNVMReadLongByteResponse extends Message {
|
|
15
|
-
constructor(
|
|
15
|
+
constructor(host: ZWaveHost, options: MessageDeserializationOptions);
|
|
16
16
|
readonly byte: number;
|
|
17
17
|
toLogEntry(): MessageOrCCLogEntry;
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtNVMReadLongByteMessages.d.ts","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMReadLongByteMessages.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,mBAAmB,EAGnB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExtNVMReadLongByteMessages.d.ts","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMReadLongByteMessages.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,mBAAmB,EAGnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAIN,OAAO,EACP,kBAAkB,EAClB,6BAA6B,EAK7B,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB;IAC3E,MAAM,EAAE,MAAM,CAAC;CACf;AAED,qBAGa,yBAA0B,SAAQ,OAAO;gBAEpD,IAAI,EAAE,SAAS,EACf,OAAO,EACJ,6BAA6B,GAC7B,gCAAgC;IAmB7B,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,IAAI,MAAM;IAMnB,UAAU,IAAI,mBAAmB;CAMxC;AAED,qBACa,0BAA2B,SAAQ,OAAO;gBAErD,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,6BAA6B;IAMvC,SAAgB,IAAI,EAAE,MAAM,CAAC;IAEtB,UAAU,IAAI,mBAAmB;CAMxC"}
|
|
@@ -8,13 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.ExtNVMReadLongByteResponse = exports.ExtNVMReadLongByteRequest = void 0;
|
|
10
10
|
const core_1 = require("@zwave-js/core");
|
|
11
|
+
const serial_1 = require("@zwave-js/serial");
|
|
11
12
|
const shared_1 = require("@zwave-js/shared");
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
super(driver, options);
|
|
17
|
-
if ((0, Message_1.gotDeserializationOptions)(options)) {
|
|
13
|
+
let ExtNVMReadLongByteRequest = class ExtNVMReadLongByteRequest extends serial_1.Message {
|
|
14
|
+
constructor(host, options) {
|
|
15
|
+
super(host, options);
|
|
16
|
+
if ((0, serial_1.gotDeserializationOptions)(options)) {
|
|
18
17
|
throw new core_1.ZWaveError(`${this.constructor.name}: deserialization not implemented`, core_1.ZWaveErrorCodes.Deserialization_NotImplemented);
|
|
19
18
|
}
|
|
20
19
|
else {
|
|
@@ -37,14 +36,14 @@ let ExtNVMReadLongByteRequest = class ExtNVMReadLongByteRequest extends Message_
|
|
|
37
36
|
}
|
|
38
37
|
};
|
|
39
38
|
ExtNVMReadLongByteRequest = __decorate([
|
|
40
|
-
(0,
|
|
41
|
-
(0,
|
|
42
|
-
(0,
|
|
39
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Request, serial_1.FunctionType.ExtNVMReadLongByte),
|
|
40
|
+
(0, serial_1.priority)(serial_1.MessagePriority.Controller),
|
|
41
|
+
(0, serial_1.expectedResponse)(serial_1.FunctionType.ExtNVMReadLongByte)
|
|
43
42
|
], ExtNVMReadLongByteRequest);
|
|
44
43
|
exports.ExtNVMReadLongByteRequest = ExtNVMReadLongByteRequest;
|
|
45
|
-
let ExtNVMReadLongByteResponse = class ExtNVMReadLongByteResponse extends
|
|
46
|
-
constructor(
|
|
47
|
-
super(
|
|
44
|
+
let ExtNVMReadLongByteResponse = class ExtNVMReadLongByteResponse extends serial_1.Message {
|
|
45
|
+
constructor(host, options) {
|
|
46
|
+
super(host, options);
|
|
48
47
|
this.byte = this.payload[0];
|
|
49
48
|
}
|
|
50
49
|
toLogEntry() {
|
|
@@ -55,7 +54,7 @@ let ExtNVMReadLongByteResponse = class ExtNVMReadLongByteResponse extends Messag
|
|
|
55
54
|
}
|
|
56
55
|
};
|
|
57
56
|
ExtNVMReadLongByteResponse = __decorate([
|
|
58
|
-
(0,
|
|
57
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Response, serial_1.FunctionType.ExtNVMReadLongByte)
|
|
59
58
|
], ExtNVMReadLongByteResponse);
|
|
60
59
|
exports.ExtNVMReadLongByteResponse = ExtNVMReadLongByteResponse;
|
|
61
60
|
//# sourceMappingURL=ExtNVMReadLongByteMessages.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtNVMReadLongByteMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMReadLongByteMessages.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yCAIwB;
|
|
1
|
+
{"version":3,"file":"ExtNVMReadLongByteMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMReadLongByteMessages.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yCAIwB;AAExB,6CAW0B;AAC1B,6CAA2C;AAS3C,IAAa,yBAAyB,GAAtC,MAAa,yBAA0B,SAAQ,gBAAO;IACrD,YACC,IAAe,EACf,OAEmC;QAEnC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACrB,IAAI,IAAA,kCAAyB,EAAC,OAAO,CAAC,EAAE;YACvC,MAAM,IAAI,iBAAU,CACnB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,mCAAmC,EAC3D,sBAAe,CAAC,8BAA8B,CAC9C,CAAC;SACF;aAAM;YACN,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,CAAC,MAAM,GAAG,QAAQ,EAAE;gBACpD,MAAM,IAAI,iBAAU,CACnB,qCA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Q,EAAE,qBAAY,CAAC,kBAAkB,CAAC;GACvD,0BAA0B,CAiBtC;AAjBY,gEAA0B"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { MessageOrCCLogEntry } from "@zwave-js/core";
|
|
3
|
-
import type {
|
|
4
|
-
import { Message, MessageBaseOptions, MessageDeserializationOptions } from "
|
|
3
|
+
import type { ZWaveHost } from "@zwave-js/host";
|
|
4
|
+
import { Message, MessageBaseOptions, MessageDeserializationOptions } from "@zwave-js/serial";
|
|
5
5
|
export interface ExtNVMWriteLongBufferRequestOptions extends MessageBaseOptions {
|
|
6
6
|
offset: number;
|
|
7
7
|
buffer: Buffer;
|
|
8
8
|
}
|
|
9
9
|
export declare class ExtNVMWriteLongBufferRequest extends Message {
|
|
10
|
-
constructor(
|
|
10
|
+
constructor(host: ZWaveHost, options: MessageDeserializationOptions | ExtNVMWriteLongBufferRequestOptions);
|
|
11
11
|
offset: number;
|
|
12
12
|
buffer: Buffer;
|
|
13
13
|
serialize(): Buffer;
|
|
14
14
|
toLogEntry(): MessageOrCCLogEntry;
|
|
15
15
|
}
|
|
16
16
|
export declare class ExtNVMWriteLongBufferResponse extends Message {
|
|
17
|
-
constructor(
|
|
17
|
+
constructor(host: ZWaveHost, options: MessageDeserializationOptions);
|
|
18
18
|
readonly success: boolean;
|
|
19
19
|
isOK(): boolean;
|
|
20
20
|
toLogEntry(): MessageOrCCLogEntry;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtNVMWriteLongBufferMessages.d.ts","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMWriteLongBufferMessages.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,mBAAmB,EAGnB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExtNVMWriteLongBufferMessages.d.ts","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMWriteLongBufferMessages.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,mBAAmB,EAGnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAIN,OAAO,EACP,kBAAkB,EAClB,6BAA6B,EAK7B,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,mCAChB,SAAQ,kBAAkB;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CACf;AAED,qBAGa,4BAA6B,SAAQ,OAAO;gBAEvD,IAAI,EAAE,SAAS,EACf,OAAO,EACJ,6BAA6B,GAC7B,mCAAmC;IA0BhC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,IAAI,MAAM;IAQnB,UAAU,IAAI,mBAAmB;CAWxC;AAED,qBACa,6BAA8B,SAAQ,OAAO;gBAExD,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,6BAA6B;IAMvC,SAAgB,OAAO,EAAE,OAAO,CAAC;IAE1B,IAAI,IAAI,OAAO;IAIf,UAAU,IAAI,mBAAmB;CAQxC"}
|
|
@@ -8,13 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.ExtNVMWriteLongBufferResponse = exports.ExtNVMWriteLongBufferRequest = void 0;
|
|
10
10
|
const core_1 = require("@zwave-js/core");
|
|
11
|
+
const serial_1 = require("@zwave-js/serial");
|
|
11
12
|
const shared_1 = require("@zwave-js/shared");
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
super(driver, options);
|
|
17
|
-
if ((0, Message_1.gotDeserializationOptions)(options)) {
|
|
13
|
+
let ExtNVMWriteLongBufferRequest = class ExtNVMWriteLongBufferRequest extends serial_1.Message {
|
|
14
|
+
constructor(host, options) {
|
|
15
|
+
super(host, options);
|
|
16
|
+
if ((0, serial_1.gotDeserializationOptions)(options)) {
|
|
18
17
|
throw new core_1.ZWaveError(`${this.constructor.name}: deserialization not implemented`, core_1.ZWaveErrorCodes.Deserialization_NotImplemented);
|
|
19
18
|
}
|
|
20
19
|
else {
|
|
@@ -46,14 +45,14 @@ let ExtNVMWriteLongBufferRequest = class ExtNVMWriteLongBufferRequest extends Me
|
|
|
46
45
|
}
|
|
47
46
|
};
|
|
48
47
|
ExtNVMWriteLongBufferRequest = __decorate([
|
|
49
|
-
(0,
|
|
50
|
-
(0,
|
|
51
|
-
(0,
|
|
48
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Request, serial_1.FunctionType.ExtNVMWriteLongBuffer),
|
|
49
|
+
(0, serial_1.priority)(serial_1.MessagePriority.Controller),
|
|
50
|
+
(0, serial_1.expectedResponse)(serial_1.FunctionType.ExtNVMWriteLongBuffer)
|
|
52
51
|
], ExtNVMWriteLongBufferRequest);
|
|
53
52
|
exports.ExtNVMWriteLongBufferRequest = ExtNVMWriteLongBufferRequest;
|
|
54
|
-
let ExtNVMWriteLongBufferResponse = class ExtNVMWriteLongBufferResponse extends
|
|
55
|
-
constructor(
|
|
56
|
-
super(
|
|
53
|
+
let ExtNVMWriteLongBufferResponse = class ExtNVMWriteLongBufferResponse extends serial_1.Message {
|
|
54
|
+
constructor(host, options) {
|
|
55
|
+
super(host, options);
|
|
57
56
|
this.success = this.payload[0] !== 0;
|
|
58
57
|
}
|
|
59
58
|
isOK() {
|
|
@@ -69,7 +68,7 @@ let ExtNVMWriteLongBufferResponse = class ExtNVMWriteLongBufferResponse extends
|
|
|
69
68
|
}
|
|
70
69
|
};
|
|
71
70
|
ExtNVMWriteLongBufferResponse = __decorate([
|
|
72
|
-
(0,
|
|
71
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Response, serial_1.FunctionType.ExtNVMWriteLongBuffer)
|
|
73
72
|
], ExtNVMWriteLongBufferResponse);
|
|
74
73
|
exports.ExtNVMWriteLongBufferResponse = ExtNVMWriteLongBufferResponse;
|
|
75
74
|
//# sourceMappingURL=ExtNVMWriteLongBufferMessages.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtNVMWriteLongBufferMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMWriteLongBufferMessages.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yCAIwB;
|
|
1
|
+
{"version":3,"file":"ExtNVMWriteLongBufferMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMWriteLongBufferMessages.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yCAIwB;AAExB,6CAW0B;AAC1B,6CAA2C;AAW3C,IAAa,4BAA4B,GAAzC,MAAa,4BAA6B,SAAQ,gBAAO;IACxD,YACC,IAAe,EACf,OAEsC;QAEtC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACrB,IAAI,IAAA,kCAAyB,EAAC,OAAO,CAAC,EAAE;YACvC,MAAM,IAAI,iBAAU,CACnB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,mCAAmC,EAC3D,sBAAe,CAAC,8BAA8B,CAC9C,CAAC;SACF;aAAM;YACN,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,CAAC,MAAM,GAAG,QAAQ,EAAE;gBACpD,MAAM,IAAI,iBAAU,CACnB,qCAAqC,EACrC,sBAAe,CAAC,gBAAgB,CAChC,CAAC;aACF;YACD,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE;gBAChE,MAAM,IAAI,iBAAU,CACnB,mDAAmD,EACnD,sBAAe,CAAC,gBAAgB,CAChC,CAAC;aACF;YACD,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;YAC7B,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;SAC7B;IACF,CAAC;IAKM,SAAS;QACf,I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tC,CAAC;IAIM,IAAI;QACV,OAAO,IAAI,CAAC,OAAO,CAAC;IACrB,CAAC;IAEM,UAAU;QAChB,OAAO;YACN,GAAG,KAAK,CAAC,UAAU,EAAE;YACrB,OAAO,EAAE;gBACR,OAAO,EAAE,IAAI,CAAC,OAAO;aACrB;SACD,CAAC;IACH,CAAC;CACD,CAAA;AAvBY,6BAA6B;IADzC,IAAA,qBAAY,EAAC,oBAAW,CAAC,QAAQ,EAAE,qBAAY,CAAC,qBAAqB,CAAC;GAC1D,6BAA6B,CAuBzC;AAvBY,sEAA6B"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { MessageOrCCLogEntry } from "@zwave-js/core";
|
|
3
|
-
import type {
|
|
4
|
-
import { Message, MessageBaseOptions, MessageDeserializationOptions } from "
|
|
3
|
+
import type { ZWaveHost } from "@zwave-js/host";
|
|
4
|
+
import { Message, MessageBaseOptions, MessageDeserializationOptions } from "@zwave-js/serial";
|
|
5
5
|
export interface ExtNVMWriteLongByteRequestOptions extends MessageBaseOptions {
|
|
6
6
|
offset: number;
|
|
7
7
|
byte: number;
|
|
8
8
|
}
|
|
9
9
|
export declare class ExtNVMWriteLongByteRequest extends Message {
|
|
10
|
-
constructor(
|
|
10
|
+
constructor(host: ZWaveHost, options: MessageDeserializationOptions | ExtNVMWriteLongByteRequestOptions);
|
|
11
11
|
offset: number;
|
|
12
12
|
byte: number;
|
|
13
13
|
serialize(): Buffer;
|
|
14
14
|
toLogEntry(): MessageOrCCLogEntry;
|
|
15
15
|
}
|
|
16
16
|
export declare class ExtNVMWriteLongByteResponse extends Message {
|
|
17
|
-
constructor(
|
|
17
|
+
constructor(host: ZWaveHost, options: MessageDeserializationOptions);
|
|
18
18
|
readonly success: boolean;
|
|
19
19
|
isOK(): boolean;
|
|
20
20
|
toLogEntry(): MessageOrCCLogEntry;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtNVMWriteLongByteMessages.d.ts","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMWriteLongByteMessages.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,mBAAmB,EAGnB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExtNVMWriteLongByteMessages.d.ts","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMWriteLongByteMessages.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,mBAAmB,EAGnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAIN,OAAO,EACP,kBAAkB,EAClB,6BAA6B,EAK7B,MAAM,kBAAkB,CAAC;AAG1B,MAAM,WAAW,iCAAkC,SAAQ,kBAAkB;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACb;AAED,qBAGa,0BAA2B,SAAQ,OAAO;gBAErD,IAAI,EAAE,SAAS,EACf,OAAO,EACJ,6BAA6B,GAC7B,iCAAiC;IA0B9B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IAEb,SAAS,IAAI,MAAM;IAOnB,UAAU,IAAI,mBAAmB;CASxC;AAED,qBACa,2BAA4B,SAAQ,OAAO;gBAEtD,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,6BAA6B;IAMvC,SAAgB,OAAO,EAAE,OAAO,CAAC;IAE1B,IAAI,IAAI,OAAO;IAIf,UAAU,IAAI,mBAAmB;CAQxC"}
|
|
@@ -8,13 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.ExtNVMWriteLongByteResponse = exports.ExtNVMWriteLongByteRequest = void 0;
|
|
10
10
|
const core_1 = require("@zwave-js/core");
|
|
11
|
+
const serial_1 = require("@zwave-js/serial");
|
|
11
12
|
const shared_1 = require("@zwave-js/shared");
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
super(driver, options);
|
|
17
|
-
if ((0, Message_1.gotDeserializationOptions)(options)) {
|
|
13
|
+
let ExtNVMWriteLongByteRequest = class ExtNVMWriteLongByteRequest extends serial_1.Message {
|
|
14
|
+
constructor(host, options) {
|
|
15
|
+
super(host, options);
|
|
16
|
+
if ((0, serial_1.gotDeserializationOptions)(options)) {
|
|
18
17
|
throw new core_1.ZWaveError(`${this.constructor.name}: deserialization not implemented`, core_1.ZWaveErrorCodes.Deserialization_NotImplemented);
|
|
19
18
|
}
|
|
20
19
|
else {
|
|
@@ -45,14 +44,14 @@ let ExtNVMWriteLongByteRequest = class ExtNVMWriteLongByteRequest extends Messag
|
|
|
45
44
|
}
|
|
46
45
|
};
|
|
47
46
|
ExtNVMWriteLongByteRequest = __decorate([
|
|
48
|
-
(0,
|
|
49
|
-
(0,
|
|
50
|
-
(0,
|
|
47
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Request, serial_1.FunctionType.ExtExtWriteLongByte),
|
|
48
|
+
(0, serial_1.priority)(serial_1.MessagePriority.Controller),
|
|
49
|
+
(0, serial_1.expectedResponse)(serial_1.FunctionType.ExtExtWriteLongByte)
|
|
51
50
|
], ExtNVMWriteLongByteRequest);
|
|
52
51
|
exports.ExtNVMWriteLongByteRequest = ExtNVMWriteLongByteRequest;
|
|
53
|
-
let ExtNVMWriteLongByteResponse = class ExtNVMWriteLongByteResponse extends
|
|
54
|
-
constructor(
|
|
55
|
-
super(
|
|
52
|
+
let ExtNVMWriteLongByteResponse = class ExtNVMWriteLongByteResponse extends serial_1.Message {
|
|
53
|
+
constructor(host, options) {
|
|
54
|
+
super(host, options);
|
|
56
55
|
this.success = this.payload[0] !== 0;
|
|
57
56
|
}
|
|
58
57
|
isOK() {
|
|
@@ -68,7 +67,7 @@ let ExtNVMWriteLongByteResponse = class ExtNVMWriteLongByteResponse extends Mess
|
|
|
68
67
|
}
|
|
69
68
|
};
|
|
70
69
|
ExtNVMWriteLongByteResponse = __decorate([
|
|
71
|
-
(0,
|
|
70
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Response, serial_1.FunctionType.ExtExtWriteLongByte)
|
|
72
71
|
], ExtNVMWriteLongByteResponse);
|
|
73
72
|
exports.ExtNVMWriteLongByteResponse = ExtNVMWriteLongByteResponse;
|
|
74
73
|
//# sourceMappingURL=ExtNVMWriteLongByteMessages.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtNVMWriteLongByteMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMWriteLongByteMessages.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yCAIwB;
|
|
1
|
+
{"version":3,"file":"ExtNVMWriteLongByteMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/ExtNVMWriteLongByteMessages.ts"],"names":[],"mappings":";;;;;;;;;AAAA,yCAIwB;AAExB,6CAW0B;AAC1B,6CAA2C;AAU3C,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,gBAAO;IACtD,YACC,IAAe,EACf,OAEoC;QAEpC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACrB,IAAI,IAAA,kCAAyB,EAAC,OAAO,CAAC,EAAE;YACvC,MAAM,IAAI,iBAAU,CACnB,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,mCAAmC,EAC3D,sBAAe,CAAC,8BAA8B,CAC9C,CAAC;SACF;aAAM;YACN,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,CAAC,MAAM,GAAG,QAAQ,EAAE;gBACpD,MAAM,IAAI,iBAAU,CACnB,qCAAqC,EACrC,sBAAe,CAAC,gBAAgB,CAChC,CAAC;aACF;YACD,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,OAAO,CAAC,IAAI,EAAE;gBAC3C,MAAM,IAAI,iBAAU,CAC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I,CAAC,OAAO,CAAC;IACrB,CAAC;IAEM,UAAU;QAChB,OAAO;YACN,GAAG,KAAK,CAAC,UAAU,EAAE;YACrB,OAAO,EAAE;gBACR,OAAO,EAAE,IAAI,CAAC,OAAO;aACrB;SACD,CAAC;IACH,CAAC;CACD,CAAA;AAvBY,2BAA2B;IADvC,IAAA,qBAAY,EAAC,oBAAW,CAAC,QAAQ,EAAE,qBAAY,CAAC,mBAAmB,CAAC;GACxD,2BAA2B,CAuBvC;AAvBY,kEAA2B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MessageOrCCLogEntry } from "@zwave-js/core";
|
|
2
|
-
import type {
|
|
3
|
-
import { Message, MessageDeserializationOptions } from "
|
|
2
|
+
import type { ZWaveHost } from "@zwave-js/host";
|
|
3
|
+
import { Message, MessageDeserializationOptions } from "@zwave-js/serial";
|
|
4
4
|
export declare enum NVMType {
|
|
5
5
|
Flash = 128,
|
|
6
6
|
DataFlash = 129,
|
|
@@ -25,7 +25,7 @@ export declare type NVMId = Pick<GetNVMIdResponse, "nvmManufacturerId" | "memory
|
|
|
25
25
|
export declare class GetNVMIdRequest extends Message {
|
|
26
26
|
}
|
|
27
27
|
export declare class GetNVMIdResponse extends Message {
|
|
28
|
-
constructor(
|
|
28
|
+
constructor(host: ZWaveHost, options: MessageDeserializationOptions);
|
|
29
29
|
readonly nvmManufacturerId: number;
|
|
30
30
|
readonly memoryType: NVMType;
|
|
31
31
|
readonly memorySize: NVMSize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetNVMIdMessages.d.ts","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/GetNVMIdMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"GetNVMIdMessages.d.ts","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/GetNVMIdMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAGN,OAAO,EACP,6BAA6B,EAK7B,MAAM,kBAAkB,CAAC;AAG1B,oBAAY,OAAO;IAClB,KAAK,MAAO;IACZ,SAAS,MAAO;IAChB,MAAM,MAAO;CACb;AAED,oBAAY,OAAO;IAClB,MAAM,KAAO;IACb,MAAM,KAAO;IACb,MAAM,KAAO;IACb,OAAO,KAAO;IACd,OAAO,KAAO;IACd,OAAO,KAAO;IACd,KAAK,KAAO;IACZ,KAAK,KAAO;IACZ,KAAK,KAAO;IACZ,KAAK,KAAO;IACZ,MAAM,KAAO;IACb,OAAO,MAAO;CACd;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CA2BrE;AAED,oBAAY,KAAK,GAAG,IAAI,CACvB,gBAAgB,EAChB,mBAAmB,GAAG,YAAY,GAAG,YAAY,CACjD,CAAC;AAEF,qBAGa,eAAgB,SAAQ,OAAO;CAAG;AAE/C,qBACa,gBAAiB,SAAQ,OAAO;gBAE3C,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,6BAA6B;IAQvC,SAAgB,iBAAiB,EAAE,MAAM,CAAC;IAC1C,SAAgB,UAAU,EAAE,OAAO,CAAC;IACpC,SAAgB,UAAU,EAAE,OAAO,CAAC;IAE7B,UAAU,IAAI,mBAAmB;CAUxC"}
|
|
@@ -7,9 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.GetNVMIdResponse = exports.GetNVMIdRequest = exports.nvmSizeToBufferSize = exports.NVMSize = exports.NVMType = void 0;
|
|
10
|
+
const serial_1 = require("@zwave-js/serial");
|
|
10
11
|
const shared_1 = require("@zwave-js/shared");
|
|
11
|
-
const Constants_1 = require("../../message/Constants");
|
|
12
|
-
const Message_1 = require("../../message/Message");
|
|
13
12
|
var NVMType;
|
|
14
13
|
(function (NVMType) {
|
|
15
14
|
NVMType[NVMType["Flash"] = 128] = "Flash";
|
|
@@ -60,17 +59,17 @@ function nvmSizeToBufferSize(size) {
|
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
exports.nvmSizeToBufferSize = nvmSizeToBufferSize;
|
|
63
|
-
let GetNVMIdRequest = class GetNVMIdRequest extends
|
|
62
|
+
let GetNVMIdRequest = class GetNVMIdRequest extends serial_1.Message {
|
|
64
63
|
};
|
|
65
64
|
GetNVMIdRequest = __decorate([
|
|
66
|
-
(0,
|
|
67
|
-
(0,
|
|
68
|
-
(0,
|
|
65
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Request, serial_1.FunctionType.GetNVMId),
|
|
66
|
+
(0, serial_1.expectedResponse)(serial_1.FunctionType.GetNVMId),
|
|
67
|
+
(0, serial_1.priority)(serial_1.MessagePriority.Controller)
|
|
69
68
|
], GetNVMIdRequest);
|
|
70
69
|
exports.GetNVMIdRequest = GetNVMIdRequest;
|
|
71
|
-
let GetNVMIdResponse = class GetNVMIdResponse extends
|
|
72
|
-
constructor(
|
|
73
|
-
super(
|
|
70
|
+
let GetNVMIdResponse = class GetNVMIdResponse extends serial_1.Message {
|
|
71
|
+
constructor(host, options) {
|
|
72
|
+
super(host, options);
|
|
74
73
|
this.nvmManufacturerId = this.payload[1];
|
|
75
74
|
this.memoryType = this.payload[2];
|
|
76
75
|
this.memorySize = this.payload[3];
|
|
@@ -87,7 +86,7 @@ let GetNVMIdResponse = class GetNVMIdResponse extends Message_1.Message {
|
|
|
87
86
|
}
|
|
88
87
|
};
|
|
89
88
|
GetNVMIdResponse = __decorate([
|
|
90
|
-
(0,
|
|
89
|
+
(0, serial_1.messageTypes)(serial_1.MessageType.Response, serial_1.FunctionType.GetNVMId)
|
|
91
90
|
], GetNVMIdResponse);
|
|
92
91
|
exports.GetNVMIdResponse = GetNVMIdResponse;
|
|
93
92
|
//# sourceMappingURL=GetNVMIdMessages.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetNVMIdMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/GetNVMIdMessages.ts"],"names":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"GetNVMIdMessages.js","sourceRoot":"","sources":["../../../../src/lib/serialapi/nvm/GetNVMIdMessages.ts"],"names":[],"mappings":";;;;;;;;;AAEA,6CAS0B;AAC1B,6CAA8D;AAE9D,IAAY,OAIX;AAJD,WAAY,OAAO;IAClB,yCAAY,CAAA;IACZ,iDAAgB,CAAA;IAChB,2CAAa,CAAA;AACd,CAAC,EAJW,OAAO,GAAP,eAAO,KAAP,eAAO,QAIlB;AAED,IAAY,OAaX;AAbD,WAAY,OAAO;IAClB,sCAAa,CAAA;IACb,sCAAa,CAAA;IACb,sCAAa,CAAA;IACb,wCAAc,CAAA;IACd,wCAAc,CAAA;IACd,wCAAc,CAAA;IACd,oCAAY,CAAA;IACZ,oCAAY,CAAA;IACZ,oCAAY,CAAA;IACZ,oCAAY,CAAA;IACZ,sCAAa,CAAA;IACb,6CAAc,CAAA;AACf,CAAC,EAbW,OAAO,GAAP,eAAO,KAAP,eAAO,QAalB;AAED,SAAgB,mBAAmB,CAAC,IAAa;IAChD,QAAQ,IAAI,EAAE;QACb,KAAK,OAAO,CAAC,MAAM,CAAC;YACnB,OAAO,EAAE,GAAG,IAAI,CAAC;QAClB,KAAK,OAAO,CAAC,MAAM,CAAC;YACnB,OAAO,EAAE,GAAG,IAAI,CAAC;QAClB,KAAK,OAAO,CAAC,MAAM,CAAC;YACnB,OAAO,EAAE,GAAG,IAAI,CAAC;QAClB,KAAK,OAAO,CAAC,OAAO,CAAC;YACpB,OAAO,GAAG,GAAG,IAAI,CAAC;QACnB,KAAK,OAAO,CAAC,OAAO,CAAC;YACpB,OAAO,GAAG,GAAG,IAAI,CA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