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
return0xFF; // reject: do nothing and return no error code
197
189
}
198
190
}
199
-
if (queueHeaders.isEmpty() == false && getSlaveResponding(address) == false) { // allow only one request to non responding slaves
200
-
for (byte j = queueHeaders.size(); j > 0; j--) { // start searching from tail because requests to non-responsive slaves are usually towards the tail of the queue
201
-
if (queueHeaders[j - 1].uid == address) {
202
-
return0x0B; // return modbus error 11 (Gateway Target Device Failed to Respond) - usually means that target device (address) is not present
0 commit comments