Improvements to Loop Mode and HK Parsing #73
@ -65,6 +65,7 @@ class TmTcpServer:
|
||||
# Taking a shortcut as json is inherently
|
||||
# not binary (we also encoded it as utf-8), so there
|
||||
# can not be any 0x02 or 0x03 be in there
|
||||
# TODO use dle encoder to be format compliant
|
||||
data_json_bytes = b'\x02' + data_json_bytes + b'\n' + b'\x03'
|
||||
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user