chrisdutz commented on issue #1234: URL: https://github.com/apache/plc4x/issues/1234#issuecomment-1837443249
As there are multiple drivers affected by similar issues, I was planning on addressing this differently. All serial-transport protocols can only have one connection using them and all RawSocket transports, as that currently get's an exclusive lock on the serial port. PROFINET would currently only allow talking to one device at a time as having multiple raw-socket channels doesn't seem to be possible. Same with BacNET, as this opens a listening UDP-Port of a fixed port number (I think). So we generally need to come up with a way to distinguish between exclusive transports (TCP, UDP without a fixed local port number) and shared transports (Serial, UDP with fixed local port number, Raw-Sockets). As soon as that's solved, I think we should stick with the "multiple connections" approach, even for Modbus, as the alternative would be to add a device-id to every address. As I think ModbusTCP is the by far most used Modbus variant, I wouldn't want to add this to every modbus address. An alternative would be to make it optional in the modbus addresses ... so if there is no deviceId provided, it uses a default. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org