add physical unit serial numbers

This commit is contained in:
wp
2025-08-06 17:34:13 -05:00
parent c68d43e343
commit c73fd73f51

View File

@@ -19,7 +19,9 @@ The problem occurs because the default format for USB device descriptor STRINGs
For example, the serial bString from a Dymo 450 is received as `b'\x31\x00\x37\x00\x31\x00\x30\x00\x30\x00\x36\x00\x31\x00\x36\x00\x31\x00\x38\x00\x34\x00\x32\x00\x33\x00\x30\x00'`.
However, an example from the Dymo-TT is `b'\x30\x30\x00\x36\x00\x31\x00\x30\x00\x33\x00\x30\x00\x31\x00\x30\x00\x31\x00\x36\x00\x31\x00\x35\x00\x37\x00\x35'`.
Decoding the Dymo 450 string using uint-16-le yields "17100616184230", whereas the Dymo-TT string yields `b''`
Decoding the Dymo 450 string using uint-16-le yields "17100616184230", whereas the Dymo-TT string yields gibberish values.
The physical labels found on the Dymo 450 include "1740021750110" and another "1750110". The physical labels on the Dymo-TT are "93085-2053234" and "06440293085". It seems the digital "serial" numbers don't match the physical serial numbers marked. However, the digital serial ID is still unique for each device.
```python