Skip to content

1kko/blueproximity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

blueproximity

Bash version of blueproximity

Many codes are from Internet. Only thing I did was copy and paste and scrub some things off.

once you have run the script, default configuration is stored in "/.blueproximity/blueproximity.conf"

Requirement

  • hcitool
  • rfcomm
  • l2ping

Configuration

turn on your bluetooth device and set to pairing mode.

run blueproximity in prompt ./blueproximity

it scan near bluetooth devices, and display mac address. when script prompts enter your Phone's bluetooth MAC address in the format of 00:12:34:56:78:9A Please Enter your Device's Bluetooth MAC Address: 00:12:34:56:78:9A

it will generate configuration file to /.blueproximity/blueproximity.conf

your config is stored to /.blueproximity/blueproximity.conf

to check out configuration, type:

cat /.blueproximity/blueproximity.conf

now you can either run again to see if it works, or you can edit configuration file and script itself for your taste.

Installation

you can make run the script when you login. If you are using Ubuntu: go to System Setting > Start Up Applications > Add

Troubleshooting

Ubuntu 12.04 I have to run rfcomm in root mode, so I have changed rfcomm's priviledge mode in running.

sudo chmod 6755 /usr/bin/rfcomm

About

bash version of blueproximity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages