From bde8a2947340275fc023b631c24f32e63f035570 Mon Sep 17 00:00:00 2001 From: Ulrich Mohr Date: Wed, 18 May 2022 16:41:10 +0200 Subject: [PATCH] added TODO --- pus_tm/tm_tcp_server.py | 1 + 1 file changed, 1 insertion(+) 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: