X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=client%2FGoodFET.py;h=d5e132f6c59956e1644132153725fc00396f5e52;hb=3b792eaee038953bb9d73f29a80aaebcf6399655;hp=9bf627ca2d14d68670658b8c3f9695f021eadf77;hpb=9ba7e4f5ec74d83c1c167655dbd0de02db15e9f9;p=goodfet diff --git a/client/GoodFET.py b/client/GoodFET.py index 9bf627c..d5e132f 100755 --- a/client/GoodFET.py +++ b/client/GoodFET.py @@ -58,8 +58,12 @@ class GoodFETbtser: print "found %d devices" % len(nearby_devices) for addr, name in nearby_devices: print " %s - '%s'" % (addr, name) + #TODO switch to wildcards. if name=='FireFly-A6BD': btaddr=addr; + if name=='RN42-A94A': + btaddr=addr; + print "Please set $GOODFET to the address of your device."; sys.exit(); print "Identified GoodFET at %s" % btaddr;