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?)"