Skip to content

A /very/ ugly project to demonstrate accessing the Cocoa API in Python and polling for Bluetooth devices.

License

Notifications You must be signed in to change notification settings

mhadam/PythonBluetoothDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PythonBluetoothDemo

A /very/ ugly hackathon project to demonstrate accessing the Cocoa API in Python and polling for Bluetooth devices.

A word of advice for any poor soul that decides to work with IOBluetooth (this is scarcely documented and wasn't obvious to me): IOBluetooth requires an active run loop to give asynchronous callbacks. Otherwise you won't get the results!

How to run:

pip -r requirements.txt
python3 demo.py

The project was developed with Python3.7, it'll require a Mac too.

About

A /very/ ugly project to demonstrate accessing the Cocoa API in Python and polling for Bluetooth devices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages