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

Add helper to get fully qualified hub device name #91

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

glopesdev
Copy link
Collaborator

@glopesdev glopesdev commented May 14, 2024

On occasion it may be necessary to explicitly name devices in a hub using unique IDs other than their device type name.

To help make these explicit names more consistent, this PR introduces a new protected method GetFullDeviceName to the HubDeviceFactory class, which derived classes should use to assign full names to individually named devices.

In addition, the implementation is updated to use / instead of . to build the fully qualified device name.

Fixes #52

@glopesdev glopesdev added feature New planned feature fix Pull request that fixes an issue labels May 14, 2024
@glopesdev glopesdev added this to the 0.1.0 milestone May 14, 2024
@glopesdev glopesdev requested review from jonnew and aacuevas May 14, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace dots with forward slashes in fully qualified hub device names
1 participant