Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect and interact with Bluetooth LE devices on OSX [closed]

I'm hoping to find a Python interface for working with Bluetooth LE on OSX. I've found bluepy, but it uses bluez which seems to be designed specifically for Linux. As far as I know OSX has its own Bluetooth stack so bluez is no good there.

I've also found Adafruit's BluefruitLE which seems to support OSX.

What is the canonical approach for working with BLE devices on OSX in Python? Which library is recommended?

Thanks

like image 394
John M. Avatar asked Dec 16 '15 18:12

John M.


1 Answers

For Mac OS 10.12.X I'd recommend pybluez. I've had some issues in the past with installation on different hosts due to the scheme argument in setup.py, but commenting out that line if it fails tends to do the trick.

like image 172
Zach Zeleznick Avatar answered Oct 13 '22 00:10

Zach Zeleznick