blueblue, distributing files via bluetooth!
From some time ago we wanted a program to broadcast files using bluetooth.
There are many bluetooth marketing tools that does the job, but only a few of them are free. One of them worked almost well:
There are many bluetooth marketing tools that does the job, but only a few of them are free. One of them worked almost well:
- Bluezspammer¹
blueblue
As we couldn't find a better tool that worked fine, we started to develop our own tool. That is how blueblue was born.
We needed a tool that perform some simple actions:
Libraries
We used some libraries and programs to deal with the communication between computer and device.
We needed a tool that perform some simple actions:
- Discover near devices with bluetooth activated
- Try to send each of them a given file
- Repeat the process ignoring those devices to whom succeeded to send the file.
Libraries
We used some libraries and programs to deal with the communication between computer and device.
- Python library bluetooth.
We use this library to do the discovering of near devices. - sdptool², a linux tool to get information from bluetooth devices.
We use this tool to extract the channel in which the device is communicating. - obexftp³.
We use this tool to transfer files to the devices
Usage
Usage: blueblue.py <options>
Options:
-h, --help Show this help message and exit
-V, --version Output version information and exit
-v, --verbose Be verbose
-D, --debug Debug
-f, --filename Filename to send.
-l, --listdevices Just list devices, no send any file.
Usage: blueblue.py <options>
Options:
-h, --help Show this help message and exit
-V, --version Output version information and exit
-v, --verbose Be verbose
-D, --debug Debug
-f, --filename Filename to send.
-l, --listdevices Just list devices, no send any file.
Download
Blueblue can be downloaded from the link below:
blueblue.py | |
File Size: | 7 kb |
File Type: | py |