MyTooliT / ICOc

ICOc is a tool to control the ICOtronic system, acquire data, and test stationary transceiver units and sensory tool holders.
https://mytoolit.github.io/ICOc/
2 stars 0 forks source link

Context Manager for Connection to STH #52

Open sanssecours opened 6 months ago

sanssecours commented 6 months ago

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.