|
@@ -278,6 +278,7 @@ static int OCPP16Callback(struct lws *wsi, enum lws_callback_reasons reason, voi
|
|
ConnectionEstablished=1;
|
|
ConnectionEstablished=1;
|
|
SetOcppConnStatus(TRUE);
|
|
SetOcppConnStatus(TRUE);
|
|
refreshStartTimer(&startTime.pingOn);
|
|
refreshStartTimer(&startTime.pingOn);
|
|
|
|
+ counterPingSend = 0;
|
|
queueOpInfo.TransactionMessageResend = 0;
|
|
queueOpInfo.TransactionMessageResend = 0;
|
|
break;
|
|
break;
|
|
case LWS_CALLBACK_CLIENT_CONNECTION_ERROR://1
|
|
case LWS_CALLBACK_CLIENT_CONNECTION_ERROR://1
|