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

Context Manager for Connection to STH #52

Open
sanssecours opened this issue Feb 22, 2024 · 0 comments
Open

Context Manager for Connection to STH #52

sanssecours opened this issue Feb 22, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@sanssecours
Copy link
Member

Description

Currently we only provide a simple coroutine to connect to a sensor device (connect_sensor_device). In the future we should add a context manager for this method. This context manager should terminate the connection to the device at the end.

Implementation

The disconnect command should send the system command Reset to the sensor device.

@sanssecours sanssecours added this to the 2.0.0 milestone Feb 22, 2024
@sanssecours sanssecours mentioned this issue Feb 22, 2024
3 tasks
@sanssecours sanssecours added the enhancement New feature or request label Feb 22, 2024
@sanssecours sanssecours modified the milestones: 2.0.0, 3.0.0 Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant