Closed janandries closed 3 years ago
Thanks for your pull request.
I was not aware that there were devices which used 8bit path segments. Out of curiosity, what is the end device you're testing
I briefly looked at the code. I will test later tonight
We have a Miller Autocontiuum 350 weld source, that only works with 8 bit path segments.
also the issue that was made by Eske a while ago spoke of a device that only supports 8 bit path segments, the yaskawa/mp3300iec which is included in the vendor specific folder
Originally posted by @Eske in https://github.com/nimbuscontrols/EIPScanner/issues/30#issuecomment-674241247
Eske added a custom code to support this, basically by rewriting the EPath, MessageRouter, and MessageRouterRequest.
Tested this on my EIP device, and everything looks good
Merging this into master and creating a new release. Thanks for submitting the pull request
If there're any issues that arise from this pull request, we'll create another pull request to fix
There are EthernetIP devices that do not support 16 bit path segments. The library does not support selecting the path segments width. In this pullrequest this is addressed.
A
MessageRouter
object can now be supplied a flag during construction that indicates that 8 bit path segments should be used. ThisMessageRouter
can then be passed to theConnectionManager
and allEPath
s will be converted to 8 bit path segments when a request is being composed.