+ if (!this._heartbeatInterval) {
+ // Send BootNotification
+ try {
+ this.sendMessage(Utils.generateUUID(), this._bootNotificationMessage, Constants.OCPP_JSON_CALL_MESSAGE, 'BootNotification');
+ } catch (error) {
+ logger.error(this._basicFormatLog() + ' Send boot notification error: ' + error);
+ }
+ }