diff --git a/pus_tm/tm_tcp_server.py b/pus_tm/tm_tcp_server.py index acd5d9f..bc4dfd5 100644 --- a/pus_tm/tm_tcp_server.py +++ b/pus_tm/tm_tcp_server.py @@ -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: