Skip to content

rs485test: some small improvements for the tool - #33

Open
mhei wants to merge 4 commits into
phytec:masterfrom
chargebyte:rs485test
Open

rs485test: some small improvements for the tool#33
mhei wants to merge 4 commits into
phytec:masterfrom
chargebyte:rs485test

Conversation

@mhei

@mhei mhei commented Aug 5, 2026

Copy link
Copy Markdown

This are some small improvements, including version bump to 0.3.

mhei added 4 commits August 5, 2026 15:57
When using the tool with e.g. /dev/serial/by-id/... pathnames, then
the limit of 64 byte might be too less space.
Increase it by using the pre-defined PATH_MAX define.

Signed-off-by: Michael Heimpold <michael.heimpold@chargebyte.com>
Using the unchecked value can lead to out-of-bound access.

Signed-off-by: Michael Heimpold <michael.heimpold@chargebyte.com>
If - for some reason - the calls fail, then exit immediately.

Signed-off-by: Michael Heimpold <michael.heimpold@chargebyte.com>
Signed-off-by: Michael Heimpold <michael.heimpold@chargebyte.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant