From 41404cbdfc23f33e37c7e790df4aeb519cea6bac Mon Sep 17 00:00:00 2001 From: Oskar Pearson Date: Sun, 5 Jun 2016 00:00:15 +0100 Subject: [PATCH] Added suggestion about running 'export RFSPY_RTSCTS=0' --- tools/serial_rf_spy.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tools/serial_rf_spy.py b/tools/serial_rf_spy.py index f24d609..5c2b996 100755 --- a/tools/serial_rf_spy.py +++ b/tools/serial_rf_spy.py @@ -51,14 +51,13 @@ def sync(self): data = self.get_response(1) if data == "OK": print "RileyLink " + data - break - print "retry", len(data), str(data).encode('hex') - + break + print "retry", len(data), str(data).encode('hex'), "(Do you need to run 'export RFSPY_RTSCTS=0' first?)" + while 1: self.send_command(self.CMD_GET_VERSION) data = self.get_response(1) if len(data) >= 3: print "Version: " + data - break - print "retry", len(data), str(data).encode('hex') - + break + print "retry", len(data), str(data).encode('hex'), "(Do you need to run 'export RFSPY_RTSCTS=0' first?)"