X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FConstants.ts;h=2d66659889e3a5418d083b9b60b7cdeb8960a18c;hb=0acbf5e6ab020dda7ddc6785347c05c144de3bd9;hp=ea0ff8fca7dece1e9f88092664e698006724ae7a;hpb=09e5a7a8ed45886b6bf1434c4e49c945ded4c7d8;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Constants.ts b/src/utils/Constants.ts index ea0ff8fc..2d666598 100644 --- a/src/utils/Constants.ts +++ b/src/utils/Constants.ts @@ -34,6 +34,12 @@ export class Constants { useConnectorId0: true, ocppVersion: OCPPVersion.VERSION_16, firmwareVersionPattern: Constants.SEMVER_PATTERN, + firmwareUpgrade: { + versionUpgrade: { + step: 1 + }, + reset: true + }, ocppPersistentConfiguration: true, stationInfoPersistentConfiguration: true, automaticTransactionGeneratorPersistentConfiguration: true, @@ -61,7 +67,7 @@ export class Constants { stopAbsoluteDuration: false }) - static readonly DEFAULT_CIRCULAR_BUFFER_CAPACITY = 4096 + static readonly DEFAULT_CIRCULAR_BUFFER_CAPACITY = 386 static readonly DEFAULT_HASH_ALGORITHM = 'sha384' @@ -85,7 +91,7 @@ export class Constants { | RequestCommand | IncomingRequestCommand - static readonly MAX_RANDOM_INTEGER = 281474976710654 + static readonly MAX_RANDOM_INTEGER = 281474976710655 static readonly STOP_CHARGING_STATIONS_TIMEOUT = 60000 // Ms