From 2af9974865351540070a2764941c4ae278603d7e Mon Sep 17 00:00:00 2001 From: charlie Date: Mon, 25 Jan 2016 14:31:38 +0100 Subject: [PATCH] adapter can now handle partial alphabet testing --- a4/tcp/adapter/listener.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/a4/tcp/adapter/listener.py b/a4/tcp/adapter/listener.py index a6d8999..121442e 100644 --- a/a4/tcp/adapter/listener.py +++ b/a4/tcp/adapter/listener.py @@ -84,7 +84,8 @@ if __name__ == "__main__": break if response == 'Timeout': - data = 'TO' + data = 'ERR' + has_error = True elif response[0] == 'A': data = 'ACK' elif response[0] == 'PA': -- 2.20.1