adapter can now handle partial alphabet testing
authorcharlie <charlie@gerhardus.com>
Mon, 25 Jan 2016 13:31:38 +0000 (14:31 +0100)
committercharlie <charlie@gerhardus.com>
Mon, 25 Jan 2016 13:31:38 +0000 (14:31 +0100)
a4/tcp/adapter/listener.py

index a6d8999..121442e 100644 (file)
@@ -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':