Friday, March 16, 2007
An Introduction to Bluetooth programming in Linux with Python part 1
I discover this excellent "Introduction to Bluetooth programming in GNU/Linux" ( with C and Python ) by Albert Huang - An Introduction to Bluetooth programming in GNU/Linux
I'm more familiar with Python and this first part will tell how to install needed libraries ( PyBluez library ) and get started with simple find-my-phone script.
Two ways to install PyBluez
>>> import python
If there is no errors, you can start to write findmyphone.py script, it's very simple and gives you basic understanding about Python & Bluetooth.
Part two will be simple GUI and I will define how to use wxPython and Py2EXe .
I'm more familiar with Python and this first part will tell how to install needed libraries ( PyBluez library ) and get started with simple find-my-phone script.
Two ways to install PyBluez
- Download, untar and in folder where you unpacked it write python setup.py install See PyBluez Docs
- I was lazy when I installed the library and I just typed in terminal sudo apt-get install bluez*
>>> import python
If there is no errors, you can start to write findmyphone.py script, it's very simple and gives you basic understanding about Python & Bluetooth.
Part two will be simple GUI and I will define how to use wxPython and Py2EXe .
Labels: Python