summaryrefslogtreecommitdiff
path: root/bin
diff options
authorYung Shen <yung.shen@canonical.com>2016-04-01 19:44:36 +0800
committerYung Shen <yung.shen@canonical.com>2016-04-01 19:44:36 +0800
commit523a61bfd8ba3b90f88a64d651daec118c8357b9 (patch)
treeef208c72ac627ae31d5be0dc24bfa0a668381bb7 /bin
parent534f008a894110e909f390ed368c166571c35c81 (diff)
Update and simplify bluetooth4/HOGP-* jobs according to new bt_connect
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bt_connect6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/bt_connect b/bin/bt_connect
index 658dab6..bcb51b7 100755
--- a/bin/bt_connect
+++ b/bin/bt_connect
@@ -33,7 +33,7 @@
import sys
import time
-import pdb
+
import bt_helper
from argparse import ArgumentParser
@@ -121,15 +121,13 @@ def main():
chosen = False
while not chosen:
num = input('Which one would you like to connect to? (0 to exit) ')
- #TODO: enter to default
+ # TODO: enter as default to 1st device
if num == '0':
return 1
chosen = num.isnumeric() and int(num) in devices.keys()
print('{} chosen.'.format(devices[int(num)]))
print("Pairing selected device..")
- pdb.set_trace()
-
# TODO:
# capture .pair() is failing
# however it's only returning None even it's failing