Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
} does not match firmware version pattern '${stationInfo.firmwareVersionPattern}'`
)
}
- stationInfo.firmwareUpgrade = mergeDeepRight(
- {
- versionUpgrade: {
- step: 1
- },
- reset: true
- },
- stationTemplate.firmwareUpgrade ?? {}
- )
if (stationTemplate.resetTime != null) {
stationInfo.resetTime = secondsToMilliseconds(stationTemplate.resetTime)
}
useConnectorId0: true,
ocppVersion: OCPPVersion.VERSION_16,
firmwareVersionPattern: Constants.SEMVER_PATTERN,
+ firmwareUpgrade: {
+ versionUpgrade: {
+ step: 1
+ },
+ reset: true
+ },
ocppPersistentConfiguration: true,
stationInfoPersistentConfiguration: true,
automaticTransactionGeneratorPersistentConfiguration: true,