baruchli
Posts: 7
Joined: Thu Dec 15, 2016 3:51 pm

Reading Bluetooth with Python

Thu Dec 15, 2016 3:59 pm

Hello,

I have brand new Pi 3 B (Linux version 4.4.34-v7+).
As a first stage I want to send to Pi some data via Bluetooth serial interface and read it with Python.
Apart form enabling BT interface, making PI discoverable and pairing it with sending device, what additional option I should enable/packages I should update?

Thank you in advance,
Baruch

User avatar
Douglas6
Posts: 4874
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Reading Bluetooth with Python

Thu Dec 15, 2016 4:45 pm

See this post regarding setting up the Serial Port Profile and creating a virtual serial port with rfcomm: viewtopic.php?p=947185#p947185

baruchli
Posts: 7
Joined: Thu Dec 15, 2016 3:51 pm

Re: Reading Bluetooth with Python

Fri Dec 16, 2016 5:15 am

Great, thank you!

Return to “Beginners”