From 35c4692d519a7f3b83be2f1d2a2c2093e63fd7bd Mon Sep 17 00:00:00 2001 From: Oleg Volkov Date: Mon, 29 Apr 2024 23:19:27 +0300 Subject: [PATCH] Use # as message start symnbol --- test/ble_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ble_test.py b/test/ble_test.py index 08b5029..3261646 100644 --- a/test/ble_test.py +++ b/test/ble_test.py @@ -39,7 +39,7 @@ def read_resp(com, tout=1): try: while True: s = random_str(random.randrange(1, max_len)) - msg = s + '_' + s + '#' + msg = '#' + s + '_' + s com.write(msg) resp = read_resp(com) total_bytes += len(msg) + len(resp)