Skip to content

Commit

Permalink
Merge pull request #28 from oskarpearson/add_rts_cts_suggestion
Browse files Browse the repository at this point in the history
Added suggestion about running 'export RFSPY_RTSCTS=0'
  • Loading branch information
ps2 authored Jan 9, 2017
2 parents eda58d8 + af1b563 commit 28b742e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tools/serial_rf_spy.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,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?)"

0 comments on commit 28b742e

Please # to comment.