static WS_UNSUPPORTED_DATA = 1007;
+ static OCPP_RESPONSE_ACCEPTED = {status: 'Accepted'};
+ static OCPP_RESPONSE_REJECTED = {status: 'Rejected'};
static OCPP_SOCKET_TIMEOUT = 60000; // 60 sec
static OCPP_JSON_CALL_MESSAGE = 2; // Client-to-Server
static OCPP_JSON_CALL_RESULT_MESSAGE = 3; // Server-to-Client
static OCPP_VERSION_15 = '1.5';
static OCPP_VERSION_16 = '1.6';
static OCPP_VERSION_20 = '2.0';
+
+ static STATUS_NOTIFICATION_TIMEOUT = 500;
+ static START_TRANSACTION_TIMEOUT = 500;
}
module.exports = Constants;