Playing around with pybluez
We received our new laptops this week. Since they support Bluetooth (just as about any laptop these days), I decided to experiment a bit with detecting nearby Bluetooth devices. A while ago I discovered PyBluez, an easy-to-use Python Bluetooth library by MIT PhD student Albert Huang. The nice thing about it is that it works both on GNU/Linux and Windows.
One of the samples is the script inquiry.py which allowed me to detect nearby devices in just a few lines of code. Here it detected mine and Petr’s cell phones:
Tags: bluetooth, programming, python

Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)