Python: bluetooth speaker for pair
Problem:
I have a Logitech BT adapter connected to a bunch of speakers at home. I have my address stored on my laptop and I want to use python to try and contact it.
What I tried:
I tried to use both RFCOMM and L2CAP using examples from this website.
Error messages:
When I tried to connect using RFCOMM on the port 0
:
Traceback (most re[...]bluetooth.btcommon.BluetoothError: (112, 'Host is down')
When I tried to connect using L2CAP on the port 0x1001
:
Traceback (most re[...]bluetooth.btcommon.BluetoothError: (111, 'Connection Refused')
I also have questions about:
-
Is there a specific port I should be using when trying to connect to my speaker?
-
Is there a way I can just "tell" my laptop via python to connect to the speaker?
source to share
No one has answered this question yet
Check out similar questions: