mirror of
https://github.com/SantaSpeen/winConnect.git
synced 2026-02-16 02:20:58 +00:00
Remove header setting)
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
from winConnect import WinConnectDaemon
|
||||
|
||||
connector = WinConnectDaemon('test')
|
||||
# Set header settings
|
||||
# see: https://docs.python.org/3.13/library/struct.html#format-characters
|
||||
# Default: ">H" - Big-endian unsigned short integer (header_size: 2 bytes, max_size: 65535)
|
||||
connector.set_header_settings(">H")
|
||||
|
||||
for data in connector.listen():
|
||||
print(f"({type(data)}) {data=}")
|
||||
|
||||
Reference in New Issue
Block a user