yostlabs 2025.1.10__py3-none-any.whl → 2025.2.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yostlabs/communication/base.py +3 -2
- yostlabs/tss3/api.py +710 -684
- yostlabs/tss3/consts.py +40 -1
- {yostlabs-2025.1.10.dist-info → yostlabs-2025.2.10.dist-info}/METADATA +3 -1
- {yostlabs-2025.1.10.dist-info → yostlabs-2025.2.10.dist-info}/RECORD +7 -7
- {yostlabs-2025.1.10.dist-info → yostlabs-2025.2.10.dist-info}/WHEEL +0 -0
- {yostlabs-2025.1.10.dist-info → yostlabs-2025.2.10.dist-info}/licenses/LICENSE +0 -0
yostlabs/communication/base.py
CHANGED
|
@@ -23,10 +23,11 @@ class ThreespaceInputStream:
|
|
|
23
23
|
raise NotImplementedError()
|
|
24
24
|
|
|
25
25
|
def readline(self) -> bytes:
|
|
26
|
-
return self.read_until(b"\n")
|
|
26
|
+
return self.read_until(b"\r\n")
|
|
27
27
|
|
|
28
28
|
def peekline(self, max_length: int = None) -> bytes:
|
|
29
|
-
|
|
29
|
+
#Lines from the sensor are defined to have a \r\n not just a \n
|
|
30
|
+
return self.peek_until(b"\r\n", max_length=max_length)
|
|
30
31
|
|
|
31
32
|
@property
|
|
32
33
|
def length(self) -> int:
|