forked from cwalter-at/freemodbus
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support quirk to reply to broadcast reads only.
Strict addressing bans replies to broadcast, and disabling it allows replies to all broadcast operations. This is helpful to find a single device of unknown address via broadcast reads. However, it's problematic when trying to use broadcast writes, where you do _not_ want to get a reply from each device. Defaults to off, for maximum out of the box compliance. define MB_QUIRK_REPLY_BROADCAST_READ 1 to enable this feature. Don't try and combine strict=0 and this quirk at the same time. Signed-off-by: Karl Palsson <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters