]> code.delx.au - monosys/commitdiff
bt-dun-connect: Moved
authorJames Bunton <jamesbunton@delx.net.au>
Mon, 24 Mar 2014 06:28:40 +0000 (17:28 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Mon, 24 Mar 2014 06:28:40 +0000 (17:28 +1100)
scripts/bt-dun-connect [moved from scripts/bt-connect with 96% similarity]

similarity index 96%
rename from scripts/bt-connect
rename to scripts/bt-dun-connect
index 2003e8e7fc5db361a1769559d7bd8e405ff1859b..c0645d5db06208afea278bcca1b6285185efd14e 100755 (executable)
@@ -12,8 +12,8 @@ import time
 Instructions!
 1. Pair your bluetooth device, use bluetoothctl
 2. Use 'sdptool search DUN' to find the bluetooth channel
-3. Save your configuration to ~/.config/bt-connect.json
-4. Run bt-connect
+3. Save your configuration to ~/.config/bt-dun-connect.json
+4. Run bt-dun-connect
 
 
 Example configuration:
@@ -182,7 +182,7 @@ def read_config(filename):
 
 def main():
        rfcomm_id = get_next_rfcomm_id()
-       config = read_config("~/.config/bt-connect.json")
+       config = read_config("~/.config/bt-dun-connect.json")
        dialler = BluetoothDialler(
                rfcomm_id=rfcomm_id,
                bt_addr=config["bluetooth_addr"],