aes70 1.3.8 → 1.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/Changelog +14 -1
- package/dist/AES70.es5.js +1 -1
- package/package.json +1 -1
- package/src/OCP1/OcaBlockMember.js +1 -1
- package/src/OCP1/OcaClassAuthorityID.js +1 -1
- package/src/OCP1/OcaClassIdentification.js +1 -1
- package/src/OCP1/OcaDBr.js +1 -1
- package/src/OCP1/OcaDelayValue.js +1 -1
- package/src/OCP1/OcaEvent.js +1 -1
- package/src/OCP1/OcaEventID.js +1 -1
- package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
- package/src/OCP1/OcaGrouperCitizen.js +1 -1
- package/src/OCP1/OcaGrouperEnrollment.js +1 -1
- package/src/OCP1/OcaGrouperGroup.js +1 -1
- package/src/OCP1/OcaGrouperStatusChangeEventData.js +1 -3
- package/src/OCP1/OcaImpedance.js +1 -1
- package/src/OCP1/OcaLibParamSetAssignment.js +1 -1
- package/src/OCP1/OcaLibVol.js +1 -1
- package/src/OCP1/OcaLibVolChangedEventData.js +1 -3
- package/src/OCP1/OcaLibVolData_ParamSet.js +1 -1
- package/src/OCP1/OcaLibVolIdentifier.js +1 -1
- package/src/OCP1/OcaLibVolMetadata.js +1 -1
- package/src/OCP1/OcaLibVolType.js +1 -1
- package/src/OCP1/OcaLibraryIdentifier.js +1 -1
- package/src/OCP1/OcaManagerDescriptor.js +1 -1
- package/src/OCP1/OcaMediaClockRate.js +1 -1
- package/src/OCP1/OcaMediaCoding.js +1 -1
- package/src/OCP1/OcaMediaConnection.js +1 -1
- package/src/OCP1/OcaMediaConnectorElement.js +2 -2
- package/src/OCP1/OcaMediaConnectorStatus.js +1 -1
- package/src/OCP1/OcaMediaConnectorStatusChangedEventData.js +1 -3
- package/src/OCP1/OcaMediaSinkConnector.js +1 -1
- package/src/OCP1/OcaMediaSinkConnectorChangedEventData.js +1 -3
- package/src/OCP1/OcaMediaSourceConnector.js +1 -1
- package/src/OCP1/OcaMediaSourceConnectorChangedEventData.js +1 -3
- package/src/OCP1/OcaMethod.js +1 -1
- package/src/OCP1/OcaMethodID.js +1 -1
- package/src/OCP1/OcaModelDescription.js +1 -1
- package/src/OCP1/OcaModelGUID.js +1 -1
- package/src/OCP1/OcaNetworkStatistics.js +1 -1
- package/src/OCP1/OcaNetworkSystemInterfaceDescriptor.js +1 -1
- package/src/OCP1/OcaNetworkSystemInterfaceID.js +1 -1
- package/src/OCP1/OcaOPath.js +1 -1
- package/src/OCP1/OcaObjectIdentification.js +1 -1
- package/src/OCP1/OcaObjectListEventData.js +1 -3
- package/src/OCP1/OcaObjectSearchResult.js +1 -1
- package/src/OCP1/OcaObservationEventData.js +1 -3
- package/src/OCP1/OcaObservationListEventData.js +1 -3
- package/src/OCP1/OcaParameterMask.js +3 -0
- package/src/OCP1/OcaPilotToneDetectorSpec.js +1 -1
- package/src/OCP1/OcaPort.js +1 -1
- package/src/OCP1/OcaPortID.js +1 -1
- package/src/OCP1/OcaPositionDescriptor.js +3 -3
- package/src/OCP1/OcaPositionDescriptorFieldFlags.js +3 -0
- package/src/OCP1/OcaProperty.js +1 -1
- package/src/OCP1/OcaPropertyDescriptor.js +1 -1
- package/src/OCP1/OcaPropertyID.js +1 -1
- package/src/OCP1/OcaProtoObjectIdentification.js +1 -1
- package/src/OCP1/OcaProtoPort.js +1 -1
- package/src/OCP1/OcaProtoPortID.js +1 -1
- package/src/OCP1/OcaProtoSignalPath.js +1 -1
- package/src/OCP1/OcaSignalPath.js +1 -1
- package/src/OCP1/OcaStream.js +1 -1
- package/src/OCP1/OcaStreamConnectorIdentification.js +1 -1
- package/src/OCP1/OcaTask.js +1 -1
- package/src/OCP1/OcaTaskStateChangedEventData.js +1 -1
- package/src/OCP1/OcaTaskStatus.js +1 -1
- package/src/OCP1/OcaTimePTP.js +1 -1
- package/src/OCP1/OcaTransferFunction.js +1 -1
- package/src/OCP1/OcaVersion.js +1 -1
- package/src/controller/ControlClasses/OcaActuator.d.ts +3 -1
- package/src/controller/ControlClasses/OcaActuator.js +3 -1
- package/src/controller/ControlClasses/OcaAgent.d.ts +10 -7
- package/src/controller/ControlClasses/OcaAgent.js +12 -8
- package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +35 -21
- package/src/controller/ControlClasses/OcaApplicationNetwork.js +43 -32
- package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +14 -8
- package/src/controller/ControlClasses/OcaAudioLevelSensor.js +13 -9
- package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +3 -2
- package/src/controller/ControlClasses/OcaAudioProcessingManager.js +3 -2
- package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +11 -8
- package/src/controller/ControlClasses/OcaBitstringActuator.js +13 -9
- package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +7 -5
- package/src/controller/ControlClasses/OcaBitstringSensor.js +9 -6
- package/src/controller/ControlClasses/OcaBlock.d.ts +88 -74
- package/src/controller/ControlClasses/OcaBlock.js +80 -63
- package/src/controller/ControlClasses/OcaBlockFactory.d.ts +73 -29
- package/src/controller/ControlClasses/OcaBlockFactory.js +69 -42
- package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +5 -4
- package/src/controller/ControlClasses/OcaBooleanActuator.js +6 -4
- package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +3 -3
- package/src/controller/ControlClasses/OcaBooleanSensor.js +4 -3
- package/src/controller/ControlClasses/OcaCodingManager.d.ts +10 -7
- package/src/controller/ControlClasses/OcaCodingManager.js +17 -13
- package/src/controller/ControlClasses/OcaControlNetwork.d.ts +4 -5
- package/src/controller/ControlClasses/OcaControlNetwork.js +5 -6
- package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaCurrentSensor.js +4 -3
- package/src/controller/ControlClasses/OcaDelay.d.ts +6 -5
- package/src/controller/ControlClasses/OcaDelay.js +6 -4
- package/src/controller/ControlClasses/OcaDelayExtended.d.ts +18 -15
- package/src/controller/ControlClasses/OcaDelayExtended.js +17 -12
- package/src/controller/ControlClasses/OcaDeviceManager.d.ts +56 -31
- package/src/controller/ControlClasses/OcaDeviceManager.js +75 -51
- package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +33 -16
- package/src/controller/ControlClasses/OcaDeviceTimeManager.js +36 -18
- package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +6 -3
- package/src/controller/ControlClasses/OcaDiagnosticManager.js +8 -5
- package/src/controller/ControlClasses/OcaDynamics.d.ts +89 -61
- package/src/controller/ControlClasses/OcaDynamics.js +101 -79
- package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +77 -30
- package/src/controller/ControlClasses/OcaDynamicsCurve.js +85 -37
- package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +30 -22
- package/src/controller/ControlClasses/OcaDynamicsDetector.js +36 -24
- package/src/controller/ControlClasses/OcaEventHandler.d.ts +8 -6
- package/src/controller/ControlClasses/OcaEventHandler.js +9 -6
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +13 -9
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +15 -12
- package/src/controller/ControlClasses/OcaFilterClassical.d.ts +43 -30
- package/src/controller/ControlClasses/OcaFilterClassical.js +40 -31
- package/src/controller/ControlClasses/OcaFilterFIR.d.ts +12 -8
- package/src/controller/ControlClasses/OcaFilterFIR.js +19 -14
- package/src/controller/ControlClasses/OcaFilterParametric.d.ts +34 -25
- package/src/controller/ControlClasses/OcaFilterParametric.js +39 -33
- package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +6 -6
- package/src/controller/ControlClasses/OcaFilterPolynomial.js +11 -10
- package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +71 -21
- package/src/controller/ControlClasses/OcaFirmwareManager.js +71 -22
- package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFloat32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFloat32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFloat64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFloat64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFrequencyActuator.js +6 -4
- package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFrequencySensor.js +4 -3
- package/src/controller/ControlClasses/OcaGain.d.ts +6 -5
- package/src/controller/ControlClasses/OcaGain.js +6 -4
- package/src/controller/ControlClasses/OcaGainSensor.d.ts +6 -5
- package/src/controller/ControlClasses/OcaGainSensor.js +6 -4
- package/src/controller/ControlClasses/OcaGrouper.d.ts +138 -58
- package/src/controller/ControlClasses/OcaGrouper.js +139 -61
- package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +9 -10
- package/src/controller/ControlClasses/OcaIdentificationActuator.js +10 -10
- package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +6 -4
- package/src/controller/ControlClasses/OcaIdentificationSensor.js +5 -3
- package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +8 -8
- package/src/controller/ControlClasses/OcaImpedanceSensor.js +7 -6
- package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt16Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt16Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt8Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt8Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaLevelSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaLevelSensor.js +4 -3
- package/src/controller/ControlClasses/OcaLibrary.d.ts +50 -25
- package/src/controller/ControlClasses/OcaLibrary.js +54 -26
- package/src/controller/ControlClasses/OcaLibraryManager.d.ts +22 -16
- package/src/controller/ControlClasses/OcaLibraryManager.js +22 -17
- package/src/controller/ControlClasses/OcaManager.d.ts +4 -1
- package/src/controller/ControlClasses/OcaManager.js +4 -1
- package/src/controller/ControlClasses/OcaMatrix.d.ts +69 -20
- package/src/controller/ControlClasses/OcaMatrix.js +86 -38
- package/src/controller/ControlClasses/OcaMediaClock.d.ts +33 -19
- package/src/controller/ControlClasses/OcaMediaClock.js +30 -19
- package/src/controller/ControlClasses/OcaMediaClock3.d.ts +37 -22
- package/src/controller/ControlClasses/OcaMediaClock3.js +39 -27
- package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +15 -9
- package/src/controller/ControlClasses/OcaMediaClockManager.js +28 -23
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +106 -74
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +121 -111
- package/src/controller/ControlClasses/OcaMute.d.ts +7 -7
- package/src/controller/ControlClasses/OcaMute.js +7 -5
- package/src/controller/ControlClasses/OcaNetwork.d.ts +38 -20
- package/src/controller/ControlClasses/OcaNetwork.js +58 -42
- package/src/controller/ControlClasses/OcaNetworkManager.d.ts +20 -9
- package/src/controller/ControlClasses/OcaNetworkManager.js +33 -23
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.d.ts +43 -19
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +67 -44
- package/src/controller/ControlClasses/OcaNumericObserver.d.ts +77 -38
- package/src/controller/ControlClasses/OcaNumericObserver.js +95 -59
- package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +96 -45
- package/src/controller/ControlClasses/OcaNumericObserverList.js +129 -80
- package/src/controller/ControlClasses/OcaPanBalance.d.ts +10 -7
- package/src/controller/ControlClasses/OcaPanBalance.js +14 -11
- package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +31 -18
- package/src/controller/ControlClasses/OcaPhysicalPosition.js +43 -18
- package/src/controller/ControlClasses/OcaPolarity.d.ts +10 -7
- package/src/controller/ControlClasses/OcaPolarity.js +7 -5
- package/src/controller/ControlClasses/OcaPowerManager.d.ts +20 -14
- package/src/controller/ControlClasses/OcaPowerManager.js +27 -21
- package/src/controller/ControlClasses/OcaPowerSupply.d.ts +24 -15
- package/src/controller/ControlClasses/OcaPowerSupply.js +31 -23
- package/src/controller/ControlClasses/OcaRamper.d.ts +55 -34
- package/src/controller/ControlClasses/OcaRamper.js +58 -37
- package/src/controller/ControlClasses/OcaRoot.d.ts +28 -14
- package/src/controller/ControlClasses/OcaRoot.js +32 -24
- package/src/controller/ControlClasses/OcaSecurityManager.d.ts +29 -13
- package/src/controller/ControlClasses/OcaSecurityManager.js +31 -14
- package/src/controller/ControlClasses/OcaSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSensor.js +6 -5
- package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +48 -38
- package/src/controller/ControlClasses/OcaSignalGenerator.js +57 -46
- package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -1
- package/src/controller/ControlClasses/OcaSignalInput.js +4 -1
- package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -1
- package/src/controller/ControlClasses/OcaSignalOutput.js +4 -1
- package/src/controller/ControlClasses/OcaStreamConnector.d.ts +59 -24
- package/src/controller/ControlClasses/OcaStreamConnector.js +80 -48
- package/src/controller/ControlClasses/OcaStreamNetwork.d.ts +100 -27
- package/src/controller/ControlClasses/OcaStreamNetwork.js +124 -54
- package/src/controller/ControlClasses/OcaStringActuator.d.ts +5 -4
- package/src/controller/ControlClasses/OcaStringActuator.js +7 -5
- package/src/controller/ControlClasses/OcaStringSensor.d.ts +7 -5
- package/src/controller/ControlClasses/OcaStringSensor.js +10 -7
- package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +73 -46
- package/src/controller/ControlClasses/OcaSubscriptionManager.js +78 -51
- package/src/controller/ControlClasses/OcaSummingPoint.d.ts +2 -1
- package/src/controller/ControlClasses/OcaSummingPoint.js +2 -1
- package/src/controller/ControlClasses/OcaSwitch.d.ts +23 -15
- package/src/controller/ControlClasses/OcaSwitch.js +31 -23
- package/src/controller/ControlClasses/OcaTaskManager.d.ts +47 -38
- package/src/controller/ControlClasses/OcaTaskManager.js +48 -37
- package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaTemperatureActuator.js +6 -4
- package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaTemperatureSensor.js +4 -3
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +4 -3
- package/src/controller/ControlClasses/OcaTimeSource.d.ts +38 -22
- package/src/controller/ControlClasses/OcaTimeSource.js +41 -27
- package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint16Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint16Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint8Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint8Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaVoltageSensor.js +4 -3
- package/src/controller/ControlClasses/OcaWorker.d.ts +38 -28
- package/src/controller/ControlClasses/OcaWorker.js +50 -40
- package/src/controller/abstract_udp_connection.js +11 -7
- package/src/controller/client_connection.d.ts +1 -1
- package/src/controller/node_udp.js +2 -3
- package/src/controller/property_event.js +1 -1
- package/src/types/OcaBlockMember.d.ts +1 -2
- package/src/types/OcaClassAuthorityID.d.ts +14 -3
- package/src/types/OcaClassAuthorityID.js +8 -2
- package/src/types/OcaClassIdentification.d.ts +4 -3
- package/src/types/OcaClassIdentification.js +2 -2
- package/src/types/OcaComponent.d.ts +3 -1
- package/src/types/OcaComponent.js +3 -1
- package/src/types/OcaDBr.d.ts +6 -4
- package/src/types/OcaDBr.js +3 -2
- package/src/types/OcaDelayValue.d.ts +1 -2
- package/src/types/OcaDeviceState.d.ts +4 -1
- package/src/types/OcaDeviceState.js +4 -1
- package/src/types/OcaDynamicsFunction.d.ts +2 -1
- package/src/types/OcaDynamicsFunction.js +2 -1
- package/src/types/OcaEvent.d.ts +3 -3
- package/src/types/OcaEvent.js +2 -1
- package/src/types/OcaEventID.d.ts +3 -1
- package/src/types/OcaEventID.js +3 -1
- package/src/types/OcaGlobalTypeIdentifier.d.ts +10 -4
- package/src/types/OcaGlobalTypeIdentifier.js +5 -2
- package/src/types/OcaGrouperCitizen.d.ts +7 -5
- package/src/types/OcaGrouperCitizen.js +4 -2
- package/src/types/OcaGrouperEnrollment.d.ts +8 -4
- package/src/types/OcaGrouperEnrollment.js +4 -2
- package/src/types/OcaGrouperGroup.d.ts +4 -2
- package/src/types/OcaGrouperGroup.js +2 -1
- package/src/types/OcaGrouperMode.d.ts +1 -1
- package/src/types/OcaGrouperMode.js +1 -1
- package/src/types/OcaGrouperStatusChangeEventData.d.ts +7 -19
- package/src/types/OcaGrouperStatusChangeEventData.js +5 -8
- package/src/types/OcaGrouperStatusChangeType.d.ts +2 -1
- package/src/types/OcaGrouperStatusChangeType.js +2 -1
- package/src/types/OcaLevelDetectionLaw.d.ts +2 -1
- package/src/types/OcaLevelDetectionLaw.js +2 -1
- package/src/types/OcaLibParamSetAssignment.d.ts +3 -3
- package/src/types/OcaLibParamSetAssignment.js +2 -1
- package/src/types/OcaLibVol.d.ts +3 -3
- package/src/types/OcaLibVol.js +3 -2
- package/src/types/OcaLibVolChangedEventData.d.ts +4 -21
- package/src/types/OcaLibVolChangedEventData.js +3 -7
- package/src/types/OcaLibVolData_ParamSet.d.ts +13 -3
- package/src/types/OcaLibVolData_ParamSet.js +11 -3
- package/src/types/OcaLibVolMetadata.d.ts +4 -5
- package/src/types/OcaLibVolMetadata.js +1 -1
- package/src/types/OcaLibVolType.d.ts +12 -4
- package/src/types/OcaLibVolType.js +6 -2
- package/src/types/OcaLibraryIdentifier.d.ts +3 -3
- package/src/types/OcaLibraryIdentifier.js +2 -1
- package/src/types/OcaManagerDefaultObjectNumbers.d.ts +58 -116
- package/src/types/OcaManagerDefaultObjectNumbers.js +2 -2
- package/src/types/OcaManagerDescriptor.d.ts +4 -0
- package/src/types/OcaManagerDescriptor.js +2 -0
- package/src/types/OcaMediaClockRate.d.ts +12 -6
- package/src/types/OcaMediaClockRate.js +6 -3
- package/src/types/OcaMediaCoding.d.ts +4 -2
- package/src/types/OcaMediaCoding.js +2 -1
- package/src/types/OcaMediaConnection.d.ts +21 -8
- package/src/types/OcaMediaConnection.js +18 -5
- package/src/types/OcaMediaConnectorStatus.d.ts +5 -4
- package/src/types/OcaMediaConnectorStatus.js +2 -1
- package/src/types/OcaMediaConnectorStatusChangedEventData.d.ts +2 -17
- package/src/types/OcaMediaConnectorStatusChangedEventData.js +1 -7
- package/src/types/OcaMediaSinkConnector.d.ts +43 -15
- package/src/types/OcaMediaSinkConnector.js +23 -7
- package/src/types/OcaMediaSinkConnectorChangedEventData.d.ts +20 -30
- package/src/types/OcaMediaSinkConnectorChangedEventData.js +8 -11
- package/src/types/OcaMediaSourceConnector.d.ts +33 -13
- package/src/types/OcaMediaSourceConnector.js +17 -7
- package/src/types/OcaMediaSourceConnectorChangedEventData.d.ts +20 -30
- package/src/types/OcaMediaSourceConnectorChangedEventData.js +8 -11
- package/src/types/OcaMethod.d.ts +8 -5
- package/src/types/OcaMethod.js +5 -2
- package/src/types/OcaMethodID.d.ts +3 -1
- package/src/types/OcaMethodID.js +3 -1
- package/src/types/OcaModelGUID.d.ts +4 -2
- package/src/types/OcaModelGUID.js +5 -4
- package/src/types/OcaNetworkMediaSourceOrSink.d.ts +2 -1
- package/src/types/OcaNetworkMediaSourceOrSink.js +2 -1
- package/src/types/OcaNetworkSystemInterfaceDescriptor.d.ts +2 -1
- package/src/types/OcaNetworkSystemInterfaceDescriptor.js +3 -2
- package/src/types/OcaNetworkSystemInterfaceID.d.ts +2 -1
- package/src/types/OcaNetworkSystemInterfaceID.js +3 -2
- package/src/types/OcaNotificationDeliveryMode.d.ts +2 -1
- package/src/types/OcaNotificationDeliveryMode.js +2 -1
- package/src/types/OcaOPath.d.ts +2 -1
- package/src/types/OcaOPath.js +2 -1
- package/src/types/OcaObjectIdentification.d.ts +3 -3
- package/src/types/OcaObjectIdentification.js +2 -1
- package/src/types/OcaObjectListEventData.d.ts +3 -16
- package/src/types/OcaObjectListEventData.js +4 -8
- package/src/types/OcaObjectSearchResult.d.ts +5 -3
- package/src/types/OcaObjectSearchResult.js +4 -1
- package/src/types/OcaObjectSearchResultFlags.d.ts +1 -1
- package/src/types/OcaObjectSearchResultFlags.js +1 -1
- package/src/types/OcaObservationEventData.d.ts +8 -16
- package/src/types/OcaObservationEventData.js +8 -7
- package/src/types/OcaObservationListEventData.d.ts +8 -16
- package/src/types/OcaObservationListEventData.js +9 -8
- package/src/types/OcaParameterMask.d.ts +13 -0
- package/src/types/OcaParameterMask.js +11 -0
- package/src/types/OcaPilotToneDetectorSpec.d.ts +1 -2
- package/src/types/OcaPort.d.ts +3 -3
- package/src/types/OcaPort.js +2 -1
- package/src/types/OcaPortID.d.ts +4 -3
- package/src/types/OcaPortID.js +3 -1
- package/src/types/OcaPositionCoordinateSystem.d.ts +2 -1
- package/src/types/OcaPositionCoordinateSystem.js +2 -1
- package/src/types/OcaPositionDescriptor.d.ts +21 -20
- package/src/types/OcaPositionDescriptor.js +12 -14
- package/src/types/OcaPositionDescriptorFieldFlags.d.ts +13 -0
- package/src/types/OcaPositionDescriptorFieldFlags.js +11 -0
- package/src/types/OcaPowerState.d.ts +2 -1
- package/src/types/OcaPowerState.js +2 -1
- package/src/types/OcaPresentationUnit.d.ts +8 -1
- package/src/types/OcaPresentationUnit.js +8 -1
- package/src/types/OcaProperty.d.ts +3 -3
- package/src/types/OcaProperty.js +2 -1
- package/src/types/OcaPropertyDescriptor.d.ts +9 -9
- package/src/types/OcaPropertyDescriptor.js +4 -3
- package/src/types/OcaPropertyID.d.ts +3 -1
- package/src/types/OcaPropertyID.js +3 -1
- package/src/types/OcaProtoObjectIdentification.d.ts +3 -3
- package/src/types/OcaProtoObjectIdentification.js +2 -1
- package/src/types/OcaProtoPort.d.ts +9 -5
- package/src/types/OcaProtoPort.js +5 -2
- package/src/types/OcaProtoPortID.d.ts +4 -3
- package/src/types/OcaProtoPortID.js +3 -1
- package/src/types/OcaProtoSignalPath.d.ts +1 -2
- package/src/types/OcaRamperCommand.d.ts +1 -1
- package/src/types/OcaRamperCommand.js +1 -1
- package/src/types/OcaRamperState.d.ts +15 -10
- package/src/types/OcaRamperState.js +15 -10
- package/src/types/OcaSensorReadingState.d.ts +2 -1
- package/src/types/OcaSensorReadingState.js +2 -1
- package/src/types/OcaSignalPath.d.ts +1 -2
- package/src/types/OcaStream.d.ts +23 -10
- package/src/types/OcaStream.js +17 -5
- package/src/types/OcaStreamConnectorIdentification.d.ts +17 -7
- package/src/types/OcaStreamConnectorIdentification.js +15 -6
- package/src/types/OcaSubscriptionManagerState.d.ts +1 -1
- package/src/types/OcaSubscriptionManagerState.js +1 -1
- package/src/types/OcaTask.d.ts +27 -13
- package/src/types/OcaTask.js +14 -6
- package/src/types/OcaTaskManagerState.d.ts +13 -9
- package/src/types/OcaTaskManagerState.js +13 -9
- package/src/types/OcaTaskState.d.ts +3 -1
- package/src/types/OcaTaskState.js +3 -1
- package/src/types/OcaTaskStateChangedEventData.d.ts +6 -6
- package/src/types/OcaTaskStateChangedEventData.js +2 -2
- package/src/types/OcaTaskStatus.d.ts +6 -5
- package/src/types/OcaTaskStatus.js +5 -3
- package/src/types/OcaTimeMode.d.ts +1 -1
- package/src/types/OcaTimeMode.js +1 -1
- package/src/types/OcaTimePTP.d.ts +8 -3
- package/src/types/OcaTimePTP.js +6 -2
- package/src/types/OcaTransferFunction.js +3 -3
- package/src/types/OcaUnitOfMeasure.d.ts +5 -1
- package/src/types/OcaUnitOfMeasure.js +5 -1
- package/src/types/OcaVersion.d.ts +7 -5
- package/src/types/OcaVersion.js +4 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaActuator } from './OcaActuator.js';
|
|
3
|
-
import { OcaBitSet16 } from '../../OCP1/OcaBitSet16.js';
|
|
4
1
|
import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
|
|
2
|
+
import { OcaParameterMask } from '../../OCP1/OcaParameterMask.js';
|
|
5
3
|
import { OcaParametricEQShape } from '../../OCP1/OcaParametricEQShape.js';
|
|
4
|
+
import { make_control_class } from '../make_control_class.js';
|
|
5
|
+
import { OcaActuator } from './OcaActuator.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* A parametric equalizer section with various shape options.
|
|
@@ -31,7 +31,7 @@ export const OcaFilterParametric = make_control_class(
|
|
|
31
31
|
4,
|
|
32
32
|
11,
|
|
33
33
|
[
|
|
34
|
-
|
|
34
|
+
OcaParameterMask,
|
|
35
35
|
OcaFloat32,
|
|
36
36
|
OcaParametricEQShape,
|
|
37
37
|
OcaFloat32,
|
|
@@ -52,7 +52,8 @@ export const OcaFilterParametric = make_control_class(
|
|
|
52
52
|
);
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Gets the equalizer frequency setpoint. The return value indicates whether the
|
|
55
|
+
* Gets the equalizer frequency setpoint. The return value indicates whether the
|
|
56
|
+
* data was successfully retrieved.
|
|
56
57
|
* The return values of this method are
|
|
57
58
|
*
|
|
58
59
|
* - Frequency of type ``number``
|
|
@@ -63,7 +64,8 @@ export const OcaFilterParametric = make_control_class(
|
|
|
63
64
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
64
65
|
*/
|
|
65
66
|
/**
|
|
66
|
-
* Sets the equalizer frequency. The return value indicates whether the value
|
|
67
|
+
* Sets the equalizer frequency. The return value indicates whether the value
|
|
68
|
+
* was successfully set.
|
|
67
69
|
*
|
|
68
70
|
* @method OcaFilterParametric#SetFrequency
|
|
69
71
|
* @param {number} Frequency
|
|
@@ -71,22 +73,25 @@ export const OcaFilterParametric = make_control_class(
|
|
|
71
73
|
* @returns {Promise<void>}
|
|
72
74
|
*/
|
|
73
75
|
/**
|
|
74
|
-
* Gets the curve shape of the equalizer. The return value indicates whether the
|
|
76
|
+
* Gets the curve shape of the equalizer. The return value indicates whether the
|
|
77
|
+
* data was successfully retrieved.
|
|
75
78
|
*
|
|
76
79
|
* @method OcaFilterParametric#GetShape
|
|
77
80
|
* @returns {Promise<OcaParametricEQShape>}
|
|
78
81
|
* A promise which resolves to a single value of type :class:`OcaParametricEQShape`.
|
|
79
82
|
*/
|
|
80
83
|
/**
|
|
81
|
-
* Sets the curve shape shape of the equalizer. The return value indicates
|
|
84
|
+
* Sets the curve shape shape of the equalizer. The return value indicates
|
|
85
|
+
* whether the shape was successfully set.
|
|
82
86
|
*
|
|
83
87
|
* @method OcaFilterParametric#SetShape
|
|
84
|
-
* @param {
|
|
88
|
+
* @param {IOcaParametricEQShape} type
|
|
85
89
|
*
|
|
86
90
|
* @returns {Promise<void>}
|
|
87
91
|
*/
|
|
88
92
|
/**
|
|
89
|
-
* Gets the width parameter property of the equalizer. The return value
|
|
93
|
+
* Gets the width parameter property of the equalizer. The return value
|
|
94
|
+
* indicates whether the data was successfully retrieved.
|
|
90
95
|
* The return values of this method are
|
|
91
96
|
*
|
|
92
97
|
* - Width of type ``number``
|
|
@@ -97,7 +102,8 @@ export const OcaFilterParametric = make_control_class(
|
|
|
97
102
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
98
103
|
*/
|
|
99
104
|
/**
|
|
100
|
-
* Sets the width parameter property of the equalizer. The return value
|
|
105
|
+
* Sets the width parameter property of the equalizer. The return value
|
|
106
|
+
* indicates whether the Q was successfully set.
|
|
101
107
|
*
|
|
102
108
|
* @method OcaFilterParametric#SetWidthParameter
|
|
103
109
|
* @param {number} Width
|
|
@@ -105,7 +111,8 @@ export const OcaFilterParametric = make_control_class(
|
|
|
105
111
|
* @returns {Promise<void>}
|
|
106
112
|
*/
|
|
107
113
|
/**
|
|
108
|
-
* Returns the in-band gain of the equalizer. The return value indicates whether
|
|
114
|
+
* Returns the in-band gain of the equalizer. The return value indicates whether
|
|
115
|
+
* the data was successfully retrieved.
|
|
109
116
|
* The return values of this method are
|
|
110
117
|
*
|
|
111
118
|
* - gain of type ``number``
|
|
@@ -116,7 +123,8 @@ export const OcaFilterParametric = make_control_class(
|
|
|
116
123
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
117
124
|
*/
|
|
118
125
|
/**
|
|
119
|
-
* Sets the in-band gain of the equalizer. The return value indicates whether
|
|
126
|
+
* Sets the in-band gain of the equalizer. The return value indicates whether
|
|
127
|
+
* the gain was successfully set.
|
|
120
128
|
*
|
|
121
129
|
* @method OcaFilterParametric#SetInbandGain
|
|
122
130
|
* @param {number} gain
|
|
@@ -124,7 +132,8 @@ export const OcaFilterParametric = make_control_class(
|
|
|
124
132
|
* @returns {Promise<void>}
|
|
125
133
|
*/
|
|
126
134
|
/**
|
|
127
|
-
* Returns the shape parameter of the equalizer. The return value indicates
|
|
135
|
+
* Returns the shape parameter of the equalizer. The return value indicates
|
|
136
|
+
* whether the data was successfully retrieved.
|
|
128
137
|
* The return values of this method are
|
|
129
138
|
*
|
|
130
139
|
* - shape of type ``number``
|
|
@@ -135,7 +144,8 @@ export const OcaFilterParametric = make_control_class(
|
|
|
135
144
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
136
145
|
*/
|
|
137
146
|
/**
|
|
138
|
-
* Sets the shape parameter of the equalizer. The return value indicates whether
|
|
147
|
+
* Sets the shape parameter of the equalizer. The return value indicates whether
|
|
148
|
+
* the parameter was successfully set.
|
|
139
149
|
*
|
|
140
150
|
* @method OcaFilterParametric#SetShapeParameter
|
|
141
151
|
* @param {number} shape
|
|
@@ -143,58 +153,54 @@ export const OcaFilterParametric = make_control_class(
|
|
|
143
153
|
* @returns {Promise<void>}
|
|
144
154
|
*/
|
|
145
155
|
/**
|
|
146
|
-
* Sets some or all filter parameters. The return value indicates if the
|
|
156
|
+
* Sets some or all filter parameters. The return value indicates if the
|
|
157
|
+
* parameters were successfully set. The action of this method is atomic - if
|
|
158
|
+
* any of the value changes fails, none of the changes are made.
|
|
147
159
|
*
|
|
148
160
|
* @method OcaFilterParametric#SetMultiple
|
|
149
|
-
* @param {
|
|
150
|
-
*
|
|
161
|
+
* @param {IOcaParameterMask} Mask
|
|
151
162
|
* @param {number} Frequency
|
|
152
|
-
*
|
|
153
|
-
* @param {OcaParametricEQShape} Shape
|
|
154
|
-
*
|
|
163
|
+
* @param {IOcaParametricEQShape} Shape
|
|
155
164
|
* @param {number} WidthParameter
|
|
156
|
-
*
|
|
157
165
|
* @param {number} InBandGain
|
|
158
|
-
*
|
|
159
166
|
* @param {number} ShapeParameter
|
|
160
167
|
*
|
|
161
168
|
* @returns {Promise<void>}
|
|
162
169
|
*/
|
|
163
170
|
/**
|
|
164
|
-
* This event is emitted when the property Frequency changes in the remote object.
|
|
171
|
+
* This event is emitted when the property ``Frequency`` changes in the remote object.
|
|
165
172
|
* The property ``Frequency`` is described in the AES70 standard as follows.
|
|
166
173
|
* The frequency setpoint of the parametric filter.
|
|
167
174
|
*
|
|
168
175
|
* @member {PropertyEvent<number>} OcaFilterParametric#OnFrequencyChanged
|
|
169
176
|
*/
|
|
170
177
|
/**
|
|
171
|
-
* This event is emitted when the property Shape changes in the remote object.
|
|
178
|
+
* This event is emitted when the property ``Shape`` changes in the remote object.
|
|
172
179
|
* The property ``Shape`` is described in the AES70 standard as follows.
|
|
173
180
|
* The shape of the parametric filter - peak, shelf, etc.
|
|
174
181
|
*
|
|
175
182
|
* @member {PropertyEvent<OcaParametricEQShape>} OcaFilterParametric#OnShapeChanged
|
|
176
183
|
*/
|
|
177
184
|
/**
|
|
178
|
-
* This event is emitted when the property WidthParameter changes in the remote object.
|
|
185
|
+
* This event is emitted when the property ``WidthParameter`` changes in the remote object.
|
|
179
186
|
* The property ``WidthParameter`` is described in the AES70 standard as follows.
|
|
180
|
-
* Width parameter. For normal parametric implementations, this is the Q
|
|
181
|
-
*
|
|
187
|
+
* Width parameter. For normal parametric implementations, this is the Q of the
|
|
188
|
+
* filter.
|
|
182
189
|
*
|
|
183
190
|
* @member {PropertyEvent<number>} OcaFilterParametric#OnWidthParameterChanged
|
|
184
191
|
*/
|
|
185
192
|
/**
|
|
186
|
-
* This event is emitted when the property InbandGain changes in the remote object.
|
|
193
|
+
* This event is emitted when the property ``InbandGain`` changes in the remote object.
|
|
187
194
|
* The property ``InbandGain`` is described in the AES70 standard as follows.
|
|
188
195
|
* In-band gain of the parametric filter.
|
|
189
196
|
*
|
|
190
197
|
* @member {PropertyEvent<number>} OcaFilterParametric#OnInbandGainChanged
|
|
191
198
|
*/
|
|
192
199
|
/**
|
|
193
|
-
* This event is emitted when the property ShapeParameter changes in the remote object.
|
|
200
|
+
* This event is emitted when the property ``ShapeParameter`` changes in the remote object.
|
|
194
201
|
* The property ``ShapeParameter`` is described in the AES70 standard as follows.
|
|
195
|
-
* Width parameter. For certain filter types, this parameter may be used
|
|
196
|
-
*
|
|
197
|
-
* function.
|
|
202
|
+
* Width parameter. For certain filter types, this parameter may be used to
|
|
203
|
+
* represent extra information about the shape of the transfer function.
|
|
198
204
|
*
|
|
199
205
|
* @member {PropertyEvent<number>} OcaFilterParametric#OnShapeParameterChanged
|
|
200
206
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaActuator } from './OcaActuator';
|
|
3
1
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
2
|
import { PropertyEvent } from '../property_event';
|
|
3
|
+
import { RemoteDevice } from '../remote_device';
|
|
4
|
+
import { OcaActuator } from './OcaActuator';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
|
-
* A generic Z-domain rational polynomial filter section:
|
|
7
|
+
* A generic Z-domain rational polynomial filter section: A(0) + A(1)z + A(2)z^2
|
|
8
|
+
* + A(3)z^3 + ... B(0) + B(1)z + B(2)z^2 + B(3)z^3 + ...
|
|
9
9
|
* @extends OcaActuator
|
|
10
10
|
* @class OcaFilterPolynomial
|
|
11
11
|
*/
|
|
@@ -44,7 +44,6 @@ export declare class OcaFilterPolynomial extends OcaActuator {
|
|
|
44
44
|
*
|
|
45
45
|
* @method OcaFilterPolynomial#SetCoefficients
|
|
46
46
|
* @param {number[]} A
|
|
47
|
-
*
|
|
48
47
|
* @param {number[]} B
|
|
49
48
|
*
|
|
50
49
|
* @returns {Promise<void>}
|
|
@@ -75,7 +74,8 @@ export declare class OcaFilterPolynomial extends OcaActuator {
|
|
|
75
74
|
SetSampleRate(Rate: number): Promise<void>;
|
|
76
75
|
|
|
77
76
|
/**
|
|
78
|
-
* Gets the maximum allowable order (= max number of array elements in
|
|
77
|
+
* Gets the maximum allowable order (= max number of array elements in
|
|
78
|
+
* numerator and for denominator arrays)
|
|
79
79
|
*
|
|
80
80
|
* @method OcaFilterPolynomial#GetMaxOrder
|
|
81
81
|
* @returns {Promise<number>}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaActuator } from './OcaActuator.js';
|
|
3
1
|
import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
|
|
4
2
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
5
3
|
import { OcaUint8 } from '../../OCP1/OcaUint8.js';
|
|
4
|
+
import { make_control_class } from '../make_control_class.js';
|
|
5
|
+
import { OcaActuator } from './OcaActuator.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* A generic Z-domain rational polynomial filter section:
|
|
8
|
+
* A generic Z-domain rational polynomial filter section: A(0) + A(1)z + A(2)z^2
|
|
9
|
+
* + A(3)z^3 + ... B(0) + B(1)z + B(2)z^2 + B(3)z^3 + ...
|
|
9
10
|
* @extends OcaActuator
|
|
10
11
|
* @class OcaFilterPolynomial
|
|
11
12
|
*/
|
|
@@ -46,7 +47,6 @@ export const OcaFilterPolynomial = make_control_class(
|
|
|
46
47
|
*
|
|
47
48
|
* @method OcaFilterPolynomial#SetCoefficients
|
|
48
49
|
* @param {number[]} A
|
|
49
|
-
*
|
|
50
50
|
* @param {number[]} B
|
|
51
51
|
*
|
|
52
52
|
* @returns {Promise<void>}
|
|
@@ -71,31 +71,32 @@ export const OcaFilterPolynomial = make_control_class(
|
|
|
71
71
|
* @returns {Promise<void>}
|
|
72
72
|
*/
|
|
73
73
|
/**
|
|
74
|
-
* Gets the maximum allowable order (= max number of array elements in numerator
|
|
74
|
+
* Gets the maximum allowable order (= max number of array elements in numerator
|
|
75
|
+
* and for denominator arrays)
|
|
75
76
|
*
|
|
76
77
|
* @method OcaFilterPolynomial#GetMaxOrder
|
|
77
78
|
* @returns {Promise<number>}
|
|
78
79
|
* A promise which resolves to a single value of type ``number``.
|
|
79
80
|
*/
|
|
80
81
|
/**
|
|
81
|
-
* This event is emitted when the property A changes in the remote object.
|
|
82
|
+
* This event is emitted when the property ``A`` changes in the remote object.
|
|
82
83
|
* The property ``A`` is described in the AES70 standard as follows.
|
|
83
84
|
* Numerator - "A"
|
|
84
85
|
*
|
|
85
86
|
* @member {PropertyEvent<number[]>} OcaFilterPolynomial#OnAChanged
|
|
86
87
|
*/
|
|
87
88
|
/**
|
|
88
|
-
* This event is emitted when the property B changes in the remote object.
|
|
89
|
+
* This event is emitted when the property ``B`` changes in the remote object.
|
|
89
90
|
* The property ``B`` is described in the AES70 standard as follows.
|
|
90
91
|
* Denominator - "B"
|
|
91
92
|
*
|
|
92
93
|
* @member {PropertyEvent<number[]>} OcaFilterPolynomial#OnBChanged
|
|
93
94
|
*/
|
|
94
95
|
/**
|
|
95
|
-
* This event is emitted when the property SampleRate changes in the remote object.
|
|
96
|
+
* This event is emitted when the property ``SampleRate`` changes in the remote object.
|
|
96
97
|
* The property ``SampleRate`` is described in the AES70 standard as follows.
|
|
97
|
-
* Sample rate inside the filter. We can't assume it's the same as the
|
|
98
|
-
*
|
|
98
|
+
* Sample rate inside the filter. We can't assume it's the same as the device
|
|
99
|
+
* input or output rate.
|
|
99
100
|
*
|
|
100
101
|
* @member {PropertyEvent<number>} OcaFilterPolynomial#OnSampleRateChanged
|
|
101
102
|
*/
|
|
@@ -1,18 +1,33 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaManager } from './OcaManager';
|
|
3
|
-
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
1
|
import { IOcaComponent } from '../../types/OcaComponent';
|
|
6
2
|
import { OcaVersion } from '../../types/OcaVersion';
|
|
3
|
+
import { PropertyEvent } from '../property_event';
|
|
4
|
+
import { RemoteDevice } from '../remote_device';
|
|
5
|
+
import { OcaManager } from './OcaManager';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
|
-
* Optional manager that manages versions of the different firmware and software
|
|
8
|
+
* Optional manager that manages versions of the different firmware and software
|
|
9
|
+
* images of the device.
|
|
10
10
|
*
|
|
11
11
|
* - May be instantiated at most once in any device.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
13
|
* - If instantiated, must have object number 3.
|
|
15
|
-
*
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* A device that does not support firmware updating may support the subset of
|
|
17
|
+
* this class's functions needed to report firmware version numbers to inquiring
|
|
18
|
+
* controllers. This firmware manager offers a generic interface for updating
|
|
19
|
+
* OCA devices. The actual robustness of the update process is left up to the
|
|
20
|
+
* implementer. The interface allows for any of: - Fully transactional based
|
|
21
|
+
* uploads (i.e. only committing to the newly uploaded images after all
|
|
22
|
+
* component uploads have succeeded, and reverting back to the old images if any
|
|
23
|
+
* step fails) - Partly transactional based uploads (i.e. committing to a newly
|
|
24
|
+
* uploaded image after each individual component upload succeeds, possibly
|
|
25
|
+
* leading to a device containing a mix of old and new images) -
|
|
26
|
+
* Non-transactional based uploads guarded by golden images (i.e. accepting a
|
|
27
|
+
* 'weak' spot in the upload process where interruption may lead to a corrupt
|
|
28
|
+
* regular image, which is solved by loading a read-only failsafe ("golden")
|
|
29
|
+
* image in such cases that will allow recovery of the regular image) -
|
|
30
|
+
* Non-transactional based uploads that may lead to bricked devices
|
|
16
31
|
* @extends OcaManager
|
|
17
32
|
* @class OcaFirmwareManager
|
|
18
33
|
*/
|
|
@@ -25,16 +40,22 @@ export declare class OcaFirmwareManager extends OcaManager {
|
|
|
25
40
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
26
41
|
|
|
27
42
|
/**
|
|
28
|
-
* Gets the value of the ComponentVersions property. The return value
|
|
43
|
+
* Gets the value of the ComponentVersions property. The return value
|
|
44
|
+
* indicates whether the property was successfully retrieved.
|
|
29
45
|
*
|
|
30
46
|
* @method OcaFirmwareManager#GetComponentVersions
|
|
31
47
|
* @returns {Promise<OcaVersion[]>}
|
|
32
|
-
* A promise which resolves to a single value of type
|
|
48
|
+
* A promise which resolves to a single value of type :class:`OcaVersion[]`.
|
|
33
49
|
*/
|
|
34
50
|
GetComponentVersions(): Promise<OcaVersion[]>;
|
|
35
51
|
|
|
36
52
|
/**
|
|
37
|
-
* Marks the start of the update process of an OCA device, meaning one or more
|
|
53
|
+
* Marks the start of the update process of an OCA device, meaning one or more
|
|
54
|
+
* components will be updated. If the method succeeds the device will be in
|
|
55
|
+
* state 'Updating'. One or more active or passive updates can then follow,
|
|
56
|
+
* after which the update process is ended by calling the '03m08
|
|
57
|
+
* EndUpdateProcess' method. The return value indicates if starting the update
|
|
58
|
+
* process succeeded.
|
|
38
59
|
*
|
|
39
60
|
* @method OcaFirmwareManager#StartUpdateProcess
|
|
40
61
|
* @returns {Promise<void>}
|
|
@@ -42,21 +63,33 @@ export declare class OcaFirmwareManager extends OcaManager {
|
|
|
42
63
|
StartUpdateProcess(): Promise<void>;
|
|
43
64
|
|
|
44
65
|
/**
|
|
45
|
-
* Starts an active update of a software/firmware image on the device. This
|
|
66
|
+
* Starts an active update of a software/firmware image on the device. This
|
|
67
|
+
* generic interface can be used to update any component which can be updated
|
|
68
|
+
* actively, i.e. where the upload tool actively pushes the software/firmware
|
|
69
|
+
* image to the firmware manager. The actual firmware manager implementation
|
|
70
|
+
* may implement separate processes for different components, but in each case
|
|
71
|
+
* the interface is the same. The active interface consists of this method and
|
|
72
|
+
* the methods 03m03 AddImageData, 03m04 VerifyImage and 03m05
|
|
73
|
+
* EndActiveImageUpdate. The return value indicates if starting the active
|
|
74
|
+
* update succeeded.
|
|
46
75
|
*
|
|
47
76
|
* @method OcaFirmwareManager#BeginActiveImageUpdate
|
|
48
|
-
* @param {
|
|
77
|
+
* @param {IOcaComponent} component
|
|
49
78
|
*
|
|
50
79
|
* @returns {Promise<void>}
|
|
51
80
|
*/
|
|
52
81
|
BeginActiveImageUpdate(component: IOcaComponent): Promise<void>;
|
|
53
82
|
|
|
54
83
|
/**
|
|
55
|
-
* Adds a new part of the software/firmware image to the upgrade memory as
|
|
84
|
+
* Adds a new part of the software/firmware image to the upgrade memory as
|
|
85
|
+
* part of the active update. Where this data is stored, is up to the
|
|
86
|
+
* implementation of the manager. It can either be stored in RAM to be written
|
|
87
|
+
* to Flash later, or directly to Flash, dependent on the chosen architecture
|
|
88
|
+
* and requirements. The return value indicates whether the data is correctly
|
|
89
|
+
* received and the data is not out of order.
|
|
56
90
|
*
|
|
57
91
|
* @method OcaFirmwareManager#AddImageData
|
|
58
92
|
* @param {number} id
|
|
59
|
-
*
|
|
60
93
|
* @param {Uint8Array} imageData
|
|
61
94
|
*
|
|
62
95
|
* @returns {Promise<void>}
|
|
@@ -64,7 +97,8 @@ export declare class OcaFirmwareManager extends OcaManager {
|
|
|
64
97
|
AddImageData(id: number, imageData: Uint8Array): Promise<void>;
|
|
65
98
|
|
|
66
99
|
/**
|
|
67
|
-
* Verifies the entire host processor image using the passed verification
|
|
100
|
+
* Verifies the entire host processor image using the passed verification
|
|
101
|
+
* data.
|
|
68
102
|
*
|
|
69
103
|
* @method OcaFirmwareManager#VerifyImage
|
|
70
104
|
* @param {Uint8Array} verifyData
|
|
@@ -74,7 +108,11 @@ export declare class OcaFirmwareManager extends OcaManager {
|
|
|
74
108
|
VerifyImage(verifyData: Uint8Array): Promise<void>;
|
|
75
109
|
|
|
76
110
|
/**
|
|
77
|
-
* Ends the active software/firmware image update. This is needed to let the
|
|
111
|
+
* Ends the active software/firmware image update. This is needed to let the
|
|
112
|
+
* device know that the current active component has finished, and therefore a
|
|
113
|
+
* new active or passive update can be started (or the upload process can be
|
|
114
|
+
* ended by invoking the '03m08 EndUpdateProcess' method). The return value
|
|
115
|
+
* indicates if ending the active update succeeded.
|
|
78
116
|
*
|
|
79
117
|
* @method OcaFirmwareManager#EndActiveImageUpdate
|
|
80
118
|
* @returns {Promise<void>}
|
|
@@ -82,13 +120,20 @@ export declare class OcaFirmwareManager extends OcaManager {
|
|
|
82
120
|
EndActiveImageUpdate(): Promise<void>;
|
|
83
121
|
|
|
84
122
|
/**
|
|
85
|
-
* Begin a passive software/firmware component update. This generic interface
|
|
123
|
+
* Begin a passive software/firmware component update. This generic interface
|
|
124
|
+
* can be used for any component that can be passively updated, i.e. where the
|
|
125
|
+
* device requests the actual software/firmware image from an external server.
|
|
126
|
+
* In the function the component type, details of the server and the filename
|
|
127
|
+
* of the file containing the component software/firmware image needs to be
|
|
128
|
+
* passed. The device will try to retrieve the new software/firmware image
|
|
129
|
+
* from the server and update its component using this image. The actual
|
|
130
|
+
* method for retrieving the image (e.g. TFTP) and the underlying update
|
|
131
|
+
* technique (e.g. netflash) depend on the implementation and may differ
|
|
132
|
+
* between components. Just the interface is standardized.
|
|
86
133
|
*
|
|
87
134
|
* @method OcaFirmwareManager#BeginPassiveComponentUpdate
|
|
88
|
-
* @param {
|
|
89
|
-
*
|
|
135
|
+
* @param {IOcaComponent} component
|
|
90
136
|
* @param {Uint8Array} serverAddress
|
|
91
|
-
*
|
|
92
137
|
* @param {string} updateFileName
|
|
93
138
|
*
|
|
94
139
|
* @returns {Promise<void>}
|
|
@@ -100,7 +145,12 @@ export declare class OcaFirmwareManager extends OcaManager {
|
|
|
100
145
|
): Promise<void>;
|
|
101
146
|
|
|
102
147
|
/**
|
|
103
|
-
* Ends the current update process in which one or more components haven been
|
|
148
|
+
* Ends the current update process in which one or more components haven been
|
|
149
|
+
* updated (actively or passively). This action will trigger the device to
|
|
150
|
+
* start using the new images. This should bring the device back into standard
|
|
151
|
+
* operational mode (e.g. rebooting the device, this however depends on the
|
|
152
|
+
* implementation of the upgrade process). As it will usually trigger a reset
|
|
153
|
+
* of the device in some cases no response parameter is used for this method.
|
|
104
154
|
*
|
|
105
155
|
* @method OcaFirmwareManager#EndUpdateProcess
|
|
106
156
|
* @returns {Promise<void>}
|
|
@@ -1,20 +1,36 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaManager } from './OcaManager.js';
|
|
3
1
|
import { OcaBlob } from '../../OCP1/OcaBlob.js';
|
|
4
2
|
import { OcaComponent } from '../../OCP1/OcaComponent.js';
|
|
5
3
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
6
4
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
7
5
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
8
6
|
import { OcaVersion } from '../../OCP1/OcaVersion.js';
|
|
7
|
+
import { make_control_class } from '../make_control_class.js';
|
|
8
|
+
import { OcaManager } from './OcaManager.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Optional manager that manages versions of the different firmware and software
|
|
11
|
+
* Optional manager that manages versions of the different firmware and software
|
|
12
|
+
* images of the device.
|
|
12
13
|
*
|
|
13
14
|
* - May be instantiated at most once in any device.
|
|
14
15
|
*
|
|
15
|
-
*
|
|
16
16
|
* - If instantiated, must have object number 3.
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
|
+
*
|
|
19
|
+
* A device that does not support firmware updating may support the subset of
|
|
20
|
+
* this class's functions needed to report firmware version numbers to inquiring
|
|
21
|
+
* controllers. This firmware manager offers a generic interface for updating
|
|
22
|
+
* OCA devices. The actual robustness of the update process is left up to the
|
|
23
|
+
* implementer. The interface allows for any of: - Fully transactional based
|
|
24
|
+
* uploads (i.e. only committing to the newly uploaded images after all
|
|
25
|
+
* component uploads have succeeded, and reverting back to the old images if any
|
|
26
|
+
* step fails) - Partly transactional based uploads (i.e. committing to a newly
|
|
27
|
+
* uploaded image after each individual component upload succeeds, possibly
|
|
28
|
+
* leading to a device containing a mix of old and new images) -
|
|
29
|
+
* Non-transactional based uploads guarded by golden images (i.e. accepting a
|
|
30
|
+
* 'weak' spot in the upload process where interruption may lead to a corrupt
|
|
31
|
+
* regular image, which is solved by loading a read-only failsafe ("golden")
|
|
32
|
+
* image in such cases that will allow recovery of the regular image) -
|
|
33
|
+
* Non-transactional based uploads that may lead to bricked devices
|
|
18
34
|
* @extends OcaManager
|
|
19
35
|
* @class OcaFirmwareManager
|
|
20
36
|
*/
|
|
@@ -45,32 +61,49 @@ export const OcaFirmwareManager = make_control_class(
|
|
|
45
61
|
);
|
|
46
62
|
|
|
47
63
|
/**
|
|
48
|
-
* Gets the value of the ComponentVersions property. The return value indicates
|
|
64
|
+
* Gets the value of the ComponentVersions property. The return value indicates
|
|
65
|
+
* whether the property was successfully retrieved.
|
|
49
66
|
*
|
|
50
67
|
* @method OcaFirmwareManager#GetComponentVersions
|
|
51
68
|
* @returns {Promise<OcaVersion[]>}
|
|
52
|
-
* A promise which resolves to a single value of type
|
|
69
|
+
* A promise which resolves to a single value of type :class:`OcaVersion[]`.
|
|
53
70
|
*/
|
|
54
71
|
/**
|
|
55
|
-
* Marks the start of the update process of an OCA device, meaning one or more
|
|
72
|
+
* Marks the start of the update process of an OCA device, meaning one or more
|
|
73
|
+
* components will be updated. If the method succeeds the device will be in
|
|
74
|
+
* state 'Updating'. One or more active or passive updates can then follow,
|
|
75
|
+
* after which the update process is ended by calling the '03m08
|
|
76
|
+
* EndUpdateProcess' method. The return value indicates if starting the update
|
|
77
|
+
* process succeeded.
|
|
56
78
|
*
|
|
57
79
|
* @method OcaFirmwareManager#StartUpdateProcess
|
|
58
80
|
* @returns {Promise<void>}
|
|
59
81
|
*/
|
|
60
82
|
/**
|
|
61
|
-
* Starts an active update of a software/firmware image on the device. This
|
|
83
|
+
* Starts an active update of a software/firmware image on the device. This
|
|
84
|
+
* generic interface can be used to update any component which can be updated
|
|
85
|
+
* actively, i.e. where the upload tool actively pushes the software/firmware
|
|
86
|
+
* image to the firmware manager. The actual firmware manager implementation may
|
|
87
|
+
* implement separate processes for different components, but in each case the
|
|
88
|
+
* interface is the same. The active interface consists of this method and the
|
|
89
|
+
* methods 03m03 AddImageData, 03m04 VerifyImage and 03m05 EndActiveImageUpdate.
|
|
90
|
+
* The return value indicates if starting the active update succeeded.
|
|
62
91
|
*
|
|
63
92
|
* @method OcaFirmwareManager#BeginActiveImageUpdate
|
|
64
|
-
* @param {
|
|
93
|
+
* @param {IOcaComponent} component
|
|
65
94
|
*
|
|
66
95
|
* @returns {Promise<void>}
|
|
67
96
|
*/
|
|
68
97
|
/**
|
|
69
|
-
* Adds a new part of the software/firmware image to the upgrade memory as part
|
|
98
|
+
* Adds a new part of the software/firmware image to the upgrade memory as part
|
|
99
|
+
* of the active update. Where this data is stored, is up to the implementation
|
|
100
|
+
* of the manager. It can either be stored in RAM to be written to Flash later,
|
|
101
|
+
* or directly to Flash, dependent on the chosen architecture and requirements.
|
|
102
|
+
* The return value indicates whether the data is correctly received and the
|
|
103
|
+
* data is not out of order.
|
|
70
104
|
*
|
|
71
105
|
* @method OcaFirmwareManager#AddImageData
|
|
72
106
|
* @param {number} id
|
|
73
|
-
*
|
|
74
107
|
* @param {Uint8Array} imageData
|
|
75
108
|
*
|
|
76
109
|
* @returns {Promise<void>}
|
|
@@ -84,35 +117,51 @@ export const OcaFirmwareManager = make_control_class(
|
|
|
84
117
|
* @returns {Promise<void>}
|
|
85
118
|
*/
|
|
86
119
|
/**
|
|
87
|
-
* Ends the active software/firmware image update. This is needed to let the
|
|
120
|
+
* Ends the active software/firmware image update. This is needed to let the
|
|
121
|
+
* device know that the current active component has finished, and therefore a
|
|
122
|
+
* new active or passive update can be started (or the upload process can be
|
|
123
|
+
* ended by invoking the '03m08 EndUpdateProcess' method). The return value
|
|
124
|
+
* indicates if ending the active update succeeded.
|
|
88
125
|
*
|
|
89
126
|
* @method OcaFirmwareManager#EndActiveImageUpdate
|
|
90
127
|
* @returns {Promise<void>}
|
|
91
128
|
*/
|
|
92
129
|
/**
|
|
93
|
-
* Begin a passive software/firmware component update. This generic interface
|
|
130
|
+
* Begin a passive software/firmware component update. This generic interface
|
|
131
|
+
* can be used for any component that can be passively updated, i.e. where the
|
|
132
|
+
* device requests the actual software/firmware image from an external server.
|
|
133
|
+
* In the function the component type, details of the server and the filename of
|
|
134
|
+
* the file containing the component software/firmware image needs to be passed.
|
|
135
|
+
* The device will try to retrieve the new software/firmware image from the
|
|
136
|
+
* server and update its component using this image. The actual method for
|
|
137
|
+
* retrieving the image (e.g. TFTP) and the underlying update technique (e.g.
|
|
138
|
+
* netflash) depend on the implementation and may differ between components.
|
|
139
|
+
* Just the interface is standardized.
|
|
94
140
|
*
|
|
95
141
|
* @method OcaFirmwareManager#BeginPassiveComponentUpdate
|
|
96
|
-
* @param {
|
|
97
|
-
*
|
|
142
|
+
* @param {IOcaComponent} component
|
|
98
143
|
* @param {Uint8Array} serverAddress
|
|
99
|
-
*
|
|
100
144
|
* @param {string} updateFileName
|
|
101
145
|
*
|
|
102
146
|
* @returns {Promise<void>}
|
|
103
147
|
*/
|
|
104
148
|
/**
|
|
105
|
-
* Ends the current update process in which one or more components haven been
|
|
149
|
+
* Ends the current update process in which one or more components haven been
|
|
150
|
+
* updated (actively or passively). This action will trigger the device to start
|
|
151
|
+
* using the new images. This should bring the device back into standard
|
|
152
|
+
* operational mode (e.g. rebooting the device, this however depends on the
|
|
153
|
+
* implementation of the upgrade process). As it will usually trigger a reset of
|
|
154
|
+
* the device in some cases no response parameter is used for this method.
|
|
106
155
|
*
|
|
107
156
|
* @method OcaFirmwareManager#EndUpdateProcess
|
|
108
157
|
* @returns {Promise<void>}
|
|
109
158
|
*/
|
|
110
159
|
/**
|
|
111
|
-
* This event is emitted when the property ComponentVersions changes in the remote object.
|
|
160
|
+
* This event is emitted when the property ``ComponentVersions`` changes in the remote object.
|
|
112
161
|
* The property ``ComponentVersions`` is described in the AES70 standard as follows.
|
|
113
|
-
* List of the versions of the components of the device. As of version 2
|
|
114
|
-
*
|
|
115
|
-
*
|
|
162
|
+
* List of the versions of the components of the device. As of version 2 of this
|
|
163
|
+
* class, component numbers are of datatype** OcaEnum,** rather than the
|
|
164
|
+
* previous **OcaUint16.**
|
|
116
165
|
*
|
|
117
166
|
* @member {PropertyEvent<OcaVersion[]>} OcaFirmwareManager#OnComponentVersionsChanged
|
|
118
167
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaBasicActuator } from './OcaBasicActuator';
|
|
3
1
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
2
|
import { PropertyEvent } from '../property_event';
|
|
3
|
+
import { RemoteDevice } from '../remote_device';
|
|
4
|
+
import { OcaBasicActuator } from './OcaBasicActuator';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Basic float32 actuator.
|
|
@@ -18,7 +17,8 @@ export declare class OcaFloat32Actuator extends OcaBasicActuator {
|
|
|
18
17
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
|
-
* Gets the value and limits of the
|
|
20
|
+
* Gets the value and limits of the **Setting** property. The return value
|
|
21
|
+
* indicates whether the data was successfully retrieved.
|
|
22
22
|
* The return values of this method are
|
|
23
23
|
*
|
|
24
24
|
* - Setting of type ``number``
|
|
@@ -31,7 +31,8 @@ export declare class OcaFloat32Actuator extends OcaBasicActuator {
|
|
|
31
31
|
GetSetting(): Promise<Arguments<[number, number, number]>>;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Sets the
|
|
34
|
+
* Sets the **Setting** property. The return value indicates whether the
|
|
35
|
+
* property was successfully set.
|
|
35
36
|
*
|
|
36
37
|
* @method OcaFloat32Actuator#SetSetting
|
|
37
38
|
* @param {number} Setting
|