Kommunikation über Bluetooth mit python programmieren?

1 Antwort

Dazu muss man zuerst die PyBluez-Erweiterung für Python installieren:

  • pip3 install pybluez bzw. pip install pybluez

Für Windows, Mac und Linux verfügbar.

Windows Nutzer müssen sich noch vorher das Windows SDK installieren: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/

Hier ein Python Beispielcode dazu: https://github.com/pybluez/pybluez Scrolle runter bis Examples.