Apollo3zehn / FluentModbus

Lightweight and fast client and server implementation of the Modbus protocol (TCP/RTU).
MIT License
211 stars 72 forks source link

Broadcast support for ModbusTcpClient and ModbusTcpClientAsync #107

Open mile-bkoos opened 8 months ago

mile-bkoos commented 8 months ago

Hello,

I had the problem that broadcast only worked via RTU but not via TCP. After looking at the FluentModbus code, I realized that the ModbusTcpClient and ModbusTcpClientAsync do not support this. So I took the code from the RTU classes and implemented it there and now it works fine.

I have already opened a pull request for it with the changes. It would be great if this could be included in the next release :)

Regards