ChangeAvailabilityResponse,
ChangeConfigurationResponse,
ClearChargingProfileResponse,
- DiagnosticsStatusNotificationResponse,
GetConfigurationResponse,
GetDiagnosticsResponse,
OCPP16BootNotificationResponse,
OCPP16DataTransferResponse,
+ OCPP16DiagnosticsStatusNotificationResponse,
+ OCPP16FirmwareStatusNotificationResponse,
OCPP16HeartbeatResponse,
OCPP16StatusNotificationResponse,
OCPP16TriggerMessageResponse,
[OCPP16RequestCommand.METER_VALUES, this.emptyResponseHandler.bind(this)],
[OCPP16RequestCommand.DIAGNOSTICS_STATUS_NOTIFICATION, this.emptyResponseHandler.bind(this)],
[OCPP16RequestCommand.DATA_TRANSFER, this.emptyResponseHandler.bind(this)],
+ [OCPP16RequestCommand.FIRMWARE_STATUS_NOTIFICATION, this.emptyResponseHandler.bind(this)],
]);
this.jsonSchemas = new Map<OCPP16RequestCommand, JSONSchemaType<JsonObject>>([
[
),
'utf8'
)
- ) as JSONSchemaType<DiagnosticsStatusNotificationResponse>,
+ ) as JSONSchemaType<OCPP16DiagnosticsStatusNotificationResponse>,
],
[
OCPP16RequestCommand.DATA_TRANSFER,
)
) as JSONSchemaType<OCPP16DataTransferResponse>,
],
+ [
+ OCPP16RequestCommand.FIRMWARE_STATUS_NOTIFICATION,
+ JSON.parse(
+ fs.readFileSync(
+ path.resolve(
+ path.dirname(fileURLToPath(import.meta.url)),
+ '../../../assets/json-schemas/ocpp/1.6/FirmwareStatusNotificationResponse.json'
+ ),
+ 'utf8'
+ )
+ ) as JSONSchemaType<OCPP16FirmwareStatusNotificationResponse>,
+ ],
]);
this.jsonIncomingRequestResponseSchemas = new Map([
[