Find the answer to your Linux question:
Results 1 to 3 of 3
Hello everybody My latest project is a bluetooth script that will automatically download files from a bluetooth device. I'm at a point where I need testers to destroy what I ...
  1. #1
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845

    Testers for a bluetooth script

    Hello everybody

    My latest project is a bluetooth script that will automatically download files from a bluetooth device. I'm at a point where I need testers to destroy what I have worked so hard creating and tell me where it doesn't work

    The script is available in the link below (I'll keep it at the latest version) so if you could download it and give it a run I'd really appreciate it

    Once downloaded you will need to extract it with the command:

    Code:
    tar -zxf bluetooth.tar.gz
    You can then make it executable:

    Code:
    chmod a+x bluetooth
    You can then run the set up with the command:

    Code:
    ./bluetooth --setup
    The set up will search for bluetooth devices so make sure that your bluetooth device is in range, has bluetooth turned on and is set to discoverable

    Once you have selected your device you will then be able to navigate around your device. You will need to navigate to the directories that you want the script to download files from. Once there press the 'm' key to mark it - you can mark as many directories as you want

    When finished press the 'w' key to save your settings and quit. You can now re-run the script without the --setup flag and the script should bluetooth into the device and download all the files in the marked directories

    Any feedback or advice would be great, whether it is a comment about how much you hate the interface, an error you received or a security bug in the code

    Oh, before I forget to run the script you will need to install obexftp and hcitool

    http://www.ukdragon.com/projects/blu...uetooth.tar.gz

    Many thanks
    Kieren
    Linux User #453176

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Man I would love to try this, I love playing with bluetooth. Unfortunately Gnome bluetooth broke for me about two Ubuntu releases back. What's worse is that it broke for me on two machines with two different setups! I'm gonna go off now to see if I can bring it back to life so I can have a go of your script. If I don't get back then good luck anyway

  3. #3
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    Just to let anyone who is interested that I updated the script last night

    The next stage is to add functionality to upload the photos from the device to certain websites such as Facebook or MySpace. Are there any other sites that anyone would find useful?

    When the script is complete it is intended to be added to crontab to download the files from a phone and upload the photos to these sites automatically (say at 4am) so the user doesn’t have to manually process all the photos they take – anyone who has used bluetooth to download a few files will know why and anyone who has used the Facebook photo uploader will also have a good understanding
    Linux User #453176

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...