From: travisutk Date: Fri, 23 Dec 2011 14:32:58 +0000 (+0000) Subject: Bluetooth stuff. X-Git-Url: http://git.rot13.org/?p=goodfet;a=commitdiff_plain;h=3b792eaee038953bb9d73f29a80aaebcf6399655;ds=sidebyside Bluetooth stuff. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1072 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- 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;