Skip to content

Commit

Permalink
Added suggestion about running 'export RFSPY_RTSCTS=0'
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarpearson committed Jun 4, 2016
1 parent ef3b95a commit 41404cb
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 @@ -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?)"

0 comments on commit 41404cb

Please # to comment.