From 3b792eaee038953bb9d73f29a80aaebcf6399655 Mon Sep 17 00:00:00 2001 From: travisutk Date: Fri, 23 Dec 2011 14:32:58 +0000 Subject: [PATCH] Bluetooth stuff. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1072 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/GoodFET.py | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.20.1