Commit b5d7e57
committed
Add quirks flag MODBUS_QUIRK_IGNORE_RTU_SLAVE_CHECK.
The Modbus RTU mode currently only allows a single slave,
the message is ignored when not from the expected slave.
The MODBUS_QUIRK_IGNORE_RTU_SLAVE_CHECK flag allow ignore the
Modbus unit identifier (slave) checking, in this way, the RTU
slave device can acts as a multi-channels gateway, receive the
request messages for different slave from upstream channel,
then forward those to the downstream channel in transparent mode.1 parent cef86fc commit b5d7e57
3 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
| 359 | + | |
359 | 360 | | |
360 | 361 | | |
361 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
0 commit comments