BOOT_NOTIFICATION = 'BootNotification',
HEARTBEAT = 'Heartbeat',
STATUS_NOTIFICATION = 'StatusNotification',
- CHANGE_CONFIGURATION = 'ChangeConfiguration',
AUTHORIZE = 'Authorize',
START_TRANSACTION = 'StartTransaction',
STOP_TRANSACTION = 'StopTransaction',
METER_VALUES = 'MeterValues',
- DIAGNOSTICS_STATUS_NOTIFICATION = 'DiagnosticsStatusNotification'
+ DIAGNOSTICS_STATUS_NOTIFICATION = 'DiagnosticsStatusNotification',
}
export enum OCPP16IncomingRequestCommand {
REMOTE_START_TRANSACTION = 'RemoteStartTransaction',
REMOTE_STOP_TRANSACTION = 'RemoteStopTransaction',
GET_DIAGNOSTICS = 'GetDiagnostics',
- TRIGGER_MESSAGE = 'TriggerMessage'
+ TRIGGER_MESSAGE = 'TriggerMessage',
}
-export type HeartbeatRequest = EmptyObject;
+export type OCPP16HeartbeatRequest = EmptyObject;
export interface OCPP16BootNotificationRequest extends JsonType {
chargeBoxSerialNumber?: string;
meterType?: string;
}
-export interface StatusNotificationRequest extends JsonType {
+export interface OCPP16StatusNotificationRequest extends JsonType {
connectorId: number;
errorCode: OCPP16ChargePointErrorCode;
info?: string;
export enum ResetType {
HARD = 'Hard',
- SOFT = 'Soft'
+ SOFT = 'Soft',
}
export interface ResetRequest extends JsonType {
export enum OCPP16AvailabilityType {
INOPERATIVE = 'Inoperative',
- OPERATIVE = 'Operative'
+ OPERATIVE = 'Operative',
}
export interface ChangeAvailabilityRequest extends JsonType {
}
export interface DiagnosticsStatusNotificationRequest extends JsonType {
- status: OCPP16DiagnosticsStatus
+ status: OCPP16DiagnosticsStatus;
}
export enum MessageTrigger {
FirmwareStatusNotification = 'FirmwareStatusNotification',
Heartbeat = 'Heartbeat',
MeterValues = 'MeterValues',
- StatusNotification = 'StatusNotification'
+ StatusNotification = 'StatusNotification',
}
export interface OCPP16TriggerMessageRequest extends JsonType {
requestedMessage: MessageTrigger;
- connectorId?: number
+ connectorId?: number;
}