mirror of
https://github.com/SantaSpeen/winConnect.git
synced 2026-10-27 06:30:17 +00:00
Remove header setting)
This commit is contained in:
1 parent
91f882b494
commit
4a320155fe
1 file changed
-4
@@ -1,10 +1,6 @@
|
|||||||
from winConnect import WinConnectDaemon
|
from winConnect import WinConnectDaemon
|
||||||
|
|
||||||
connector = WinConnectDaemon('test')
|
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():
|
for data in connector.listen():
|
||||||
print(f"({type(data)}) {data=}")
|
print(f"({type(data)}) {data=}")
|
||||||
|
|||||||
Reference in new issue
Block a user