You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not work with the HTTPClient library (when using the Lan8720). Every time I send an HTTP request, Modbus disconnects. Even if I call mb.connect(remote); again, I cannot read the data.
The text was updated successfully, but these errors were encountered:
// modbus conn code
while (!mb.isConnected(remote)) {
mb.connect(remote);
Serial.println("modbus reconn");
if(reconnTime++ > 10){
return res;
}
delay(2000);
}
can't run mb.readHreg(xxx); . after http.PUT(payload);
can run mb.readHreg(xxx); when i comment out http.PUT(payload);
It does not work with the HTTPClient library (when using the Lan8720). Every time I send an HTTP request, Modbus disconnects. Even if I call mb.connect(remote); again, I cannot read the data.
The text was updated successfully, but these errors were encountered: