All Questions
8 questions
0
votes
0
answers
79
views
Bluepy scan for devices and connect to them
My task is to search for some devices with Bluetooth with a Raspberry PI 4B and to connect to send some commands and disconnect. For this, I started using bluepy package and I was able to do the two ...
1
vote
1
answer
2k
views
Controlling raspberry pi bluetooth with a python script
I have a Raspberry Pi 4 Model B running Raspberry Pi OS Lite 64-bit with
Operating System: Debian GNU/Linux 12 (Bookworm)
Kernel: Linux 6.6.20+rpt-rpi-v8.
I have to control the Bluetooth of the ...
0
votes
1
answer
608
views
BluetoothError "Connection reset by peer" when trying to send audio file from Raspberry Pi4 to a smartphone
I get the error message:
Ausnahme: BluetoothError
[Errno 104] Connection reset by peer
File "<string>", line 3, in sendall
_bluetooth.error: (104, 'Connection reset by peer')
During ...
0
votes
1
answer
703
views
Get the values from the notify property with bluepy
I am creating a python program on raspberry pi 4 with ubuntu on it.
The program must connect to a well-specified BLE device and get the values of a certain NOTIFY property.
these are all services and ...
0
votes
1
answer
464
views
Making bluetooth scanning interface with tkinter?
I am using the Python bluetooth module with Tkinter to create an app where users can choose to connect to Bluetooth. Can anyone help me to make a bluetooth device scanning interface on raspberry pi ...
0
votes
1
answer
458
views
Receiving data from arduino with bluettoth HC-05 module to python - wierd numbers recived and conversion
I asked this question before to know how to convert the byes to ints here: and now I have a different situation.
Send data to from Arduino to Raspberry using bluetooth hc-05 and python - Byte ...
0
votes
0
answers
2k
views
Play MP3 file in python script to Raspberry Pi 4's connected bluetooth device
I need to play .mp3 file in a python script on a bluetooth device connected to my Raspberry Pi 4.
I managed to play the file through headphones connected directly to my Pi's 3.5mm jack audio port ...
0
votes
2
answers
7k
views
Get RSSI of non connected bluetooth device
I am currently using raspberry pi and want to get RSSI of a non-connected Bluetooth address.
I am using
import bluetooth
result=bluetooth.lookup_name('XX:XX:XX:XX:XX:XX',timeout=5)
if(result !=None):...