Skip to content

Instantly share code, notes, and snippets.

View thopiekar's full-sized avatar
🚀
Wruummm!

Thomas Karl Pietrowski thopiekar

🚀
Wruummm!
View GitHub Profile
@thopiekar
thopiekar / bluetooth.py
Created June 9, 2014 21:48 — forked from tito/bluetooth.py
Bluetooth in PythonForAndroid VM
'''
Bluetooth/Pyjnius example
=========================
This was used to send some bytes to an arduino via bluetooth.
The app must have BLUETOOTH and BLUETOOTH_ADMIN permissions (well, i didn't
tested without BLUETOOTH_ADMIN, maybe it works.)
Connect your device to your phone, via the bluetooth menu. After the
pairing is done, you'll be able to use it in the app.