Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: auto-detect serial interface of sdwire #334

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

fmoessbauer
Copy link
Member

The serial of the sdwire interface depends on the physical device it is attached to. This makes it impossible to pre-configure multiple MTDA devices for a mass deployment.

This patch auto-detects the serial of an sdwire in case it is not specified in the configuration. This simplifies the default configuration and also enables pre-configuration of MTDA devices.

Note: This has been tested on multiple nanopi-neo boards with sdwire interfaces.

cc @bovi

The serial of the sdwire interface depends on the physical device it is
attached to. This makes it impossible to pre-configure multiple MTDA
devices for a mass deployment.

This patch auto-detects the serial of an sdwire in case it is not
specified in the configuration. This simplifies the default
configuration and also enables pre-configuration of MTDA devices.

Signed-off-by: Felix Moessbauer <[email protected]>
@chombourger
Copy link
Collaborator

that's a good idea. this will definitely improve the "out-of-the-box" experience. thank you!

@chombourger chombourger merged commit 6f79d5f into siemens:master Sep 13, 2023
5 checks passed
@fmoessbauer fmoessbauer deleted the fm/sdwire-auto-detect branch September 13, 2023 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants