Questions tagged [bluez]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
30 views

HELP - Bluetoothctl Scan in Python3

I'm new to python and with bluetoothctl and I need to automate the bluetoothcl scan on process in python so that I just need to open the python file and start scanning right away. I've been doing a ...
1
vote
1answer
93 views

RPi 3b+; updating bluez to 5.50-1.2~deb10u2 fails/hangs/

As topic says, after running apt update the OS (running Raspbian GNU/Linux 10 (buster) on kernel 5.10.52-v7+) wants me to update bluez and its dependencies. The version it's trying to update to is 5....
0
votes
0answers
11 views

How to list only valid bluetooth devices?

I have setup a Pi4 using PyBluez to create a Bluetooth server. The client is on an Android phone using Android Studio. So far it is working the way I need to except that I wish to automate the first ...
1
vote
0answers
26 views

BlueZ 5.58 Connection Fail

I am working on the BlueZ 5.58 library using the Raspberry Pi 4. So far, I am able to install an updated version of the BlueZ 5.58 & making sample test cases. (refrance BLE GATT Server) While ...
0
votes
0answers
22 views

BlueZ 5.58 Authentication using Public & Private key

I am working on the BlueZ 5.58 library using the Raspberry Pi 4 module on Raspbian OS. I have found that the agent.py application has implemented the public-private key & fixed key authentication. ...
1
vote
0answers
70 views

Raspberry Pi Pre-Installed BlueZ

I am working on the Raspberry Pi 4 board with the Raspbian Buster OS. I have found that the BlueZ library Pre-Installed on the Raspbian Buster OS. pi@raspberrypi:~ $ bluetoothd -v 5.50 pi@raspberrypi:~...
1
vote
0answers
225 views

How to make sure BlueZ NoInputNoOutput agent does not ask for user authorization?

I am trying to pair my custom made BLE device with a Raspberry Pi 4, using the bluepy library, programmatically. I do not want to press "accept" or type "yes" whenever I try to ...
0
votes
2answers
157 views

bluetooth is not working after updation

am using pi 4 8GB for last 6 months everything was going well. Last week i updated my OS(raspbian). After that bluetooth is not working properly. i can able to pair a device successfully, but am not ...
-1
votes
1answer
57 views

Raspberrypi4B: Unable to establish a BLE connection between RPi4B and Ubuntu Laptop

I am unable to establish an ble connection between my Raspberrypi4B and Laptop. Configuration is as below: Laptop: Ubuntu-20.04.2 LTS, bluez version: 5.53 Raspberrypi4B: Ubuntu-21.04 bluez version: 5....
0
votes
0answers
69 views

Cannot find any devices when using BlueZ as bluetooth mesh provisioner

I am currently trying to setup a bluetooth mesh network using 5 raspberry pi 4's using BlueZ's solution to do. After having setup the device to act as a provisioner I have issues when trying to scan ...
0
votes
1answer
79 views

How to get Bluetooth back in panel?

After install the drivers and stuff for a 3.5 inch LCD screen, my RPis Bluetooth seems to be disabled... The applet doesn't show in the panel like the wifi and volume does. Before the installation ...
0
votes
0answers
35 views

How to apply authentication pin while making BLE connection using Bluez5.60

I'm trying to connect my Raspberry Pi 3B+ over BLE GATT Server using the Bluez5.6 library. I have successfully tested the BLE server application. Able to connect & communicate over the GATT ...
0
votes
0answers
19 views

RPi Zero Wireless Bluetooth unable or missing to receive 6 bytes of data

I am using pydbus to receive 6 digit value from keypad. When i execute in RPi 3B+, it works fine. When i repeat the same in RPi Zero wireless, it seems not working. I have checked from every angle and ...
0
votes
2answers
773 views

Trouble connecting to bluetooth device

I'm a little confused on how I would interact with a bluetooth device on my Raspberry Pi 4. I have a four probe cooking thermometer that I'd like to read tempatures from and then make a web interface ...
0
votes
2answers
494 views

How would I send files to Raspberry Pi through bluetooth without touching the Pi?

I want to be able to send code files to my Raspberry Pi Zero W from my Mac or Android phone, without needing to go do anything on the Pi itself. I was able to pair and connect to my devices with ...
3
votes
3answers
4k views

Bluetooth status: inactive (dead)

I have uninstalled BlueZ from my raspberry pi. sudo apt-get --purge remove bluez Then, I reinstalled it using this tutorial: wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.47.tar.xz tar -xvf ...
1
vote
1answer
249 views

BlueZ with Raspberry Pi 3

I'm working on a project that involves interfacing a PC (windows based) with a raspberry pi 3 using Bluetooth with c++. I've done some research and found that the library BlueZ is one of the best ...
0
votes
1answer
82 views

Unable to broadcast string as beacon

this question is a continuation of the previous one on "How to read a string from a file and advertise as a beacon?". Link here: How to read a string from a file and advertise as a beacon? ...
0
votes
1answer
168 views

How to read a string from a file and advertise as a beacon?

I am using Raspberry Pi to advertise a string stored in a text file on Desktop. I am very new to the concepts of GATT services and characteristics and reading the BlueZ documentation caused me ...
1
vote
0answers
108 views

Using PyDBUS to read BLE battery service

I tried to read battery service (0x180F) using pydbus and also via term but unable to find, setNotify or read the value. I tried to register-service under Menu GATT in Terminal running Bluetoothctl ...
0
votes
0answers
38 views

Reading, converting Object Array

I am trying to compile : new_value = int(1500).to_bytes(2, byteorder='little') but it throws error in Python 3.5 and 3.8. I am new in python and couldn't find an explanation on this. And also how to ...
0
votes
1answer
576 views

Raspberry pi 4 bluetooth file transfer rate [closed]

I am new to raspberry pi so please forgive me if I ask a silly question. What I am trying to do is send files from my windows 10 laptop to raspberry pi with raspbian OS, I was able to send some data (...
1
vote
2answers
1k views

BlueZ BTGATT-client.py WriteValue

I had a successful attempts with BlueZ-5.50 > test > example-gatt-client.py with ESP32 set as HeartRate Sensor Server.I am able to read from ESP32 which i modified to suit the BlueZ example. ...
2
votes
1answer
597 views

Scripting bluetoothctl causes it to fail after connection

I'm connecting to a custom BLE enabled board. Running bluetoothctl, I can pair and connect no problem from the command line. I've been attempting to script it using Python and pexpect. Pexpect spawns ...
1
vote
1answer
287 views

Not getting an "Enter Pin" prompt when pairing with BLE device

I have a custom board that uses BLE to get Wifi credentials. I'm trying to pair with the board using my Pi. I'm using bluetoothctl. Here's what I get when I try to pair: [bluetooth]# agent on Agent is ...
0
votes
1answer
549 views

BLE data receive and send from arduino HC08 to raspberry pi

I have noticed that there are lots of topics about classic BT connect to arduino and send data to raspberry pi by creating virtual port (using rfcomm) I have tried this method for BLE Device. However ...
0
votes
1answer
364 views

Unable to locate package python3-bluez

I'm stuck at the installation process for openhabian , I realized I couldn't get package python3-bluez to install. script ran : needed_packages() { # Install apt-transport-https - update ...
1
vote
1answer
338 views

Raspberry Pi Bluetooth HCI Event Code Meaning

I am recently playing with Bluetooth on my Raspberry Pi. I understand the code such as: sudo hcitool -i hci0 cmd 0x08 0x0008 1e 02 01 1a 1a ff 4c 00 02 15 e2 c5 6d b5 df fb 48 d2 b0 60 d0 f5 a7 10 ...
0
votes
1answer
998 views

How to restart/release rfcomm for bluetooth communication?

I am trying to connect raspberry pi to my galaxy note to use it for serial communication. I have somewhat succeeded at that. First I paired it and trusted through bluetoothctl. Then I run sudo rfcomm ...
0
votes
1answer
40 views

How to set up bluetooth broadcasting on a pi 3 b v1.2

um new to working with bluetooth on linux or on a raspberry pi but i have managed to set up the controllers. What i want to accomplish now is using python to connect or broadcast my raspberry pi as a ...
1
vote
0answers
50 views

RPi3 Bluetooth Tethering Setup

I'm trying to setup automatic Bluetooth Tethering without a GUI, and I can't find anything that works online. A lot of forums just end at the mention of "Blueman." The only way I could even find to ...
0
votes
0answers
1k views

Bluetooth hci0 device suddenly missing on 4B

After a recent reboot of my 4B I noticed that my bluetooth connections had stopped working. I noticed that bluetoothctl reported no device, and further that sudo hciconfig hci0 up indicates Can't get ...
1
vote
0answers
30 views

What is this prompt saying about bluetooth?

I tried to fix some problems with the bluetooth and uninstall pi-bluetooth. Also installed it .But the problems are bigger now. What is this prompt saying.
1
vote
1answer
1k views

Can Raspberry Pi use ANT+ as well as Bluetooth?

Since ANT+ and Bluetooth/BLE all use 2.4 GHz radio-waves, and most Raspberry Pi models can use Bluetooth, is it possible to communicate through the ANT+ protocol from a Raspberry Pi without adding any ...
0
votes
0answers
58 views

MFRC522 and Bluetooth not work together

I have a program in which I use pyqt5, MFRC522 and bluetooth. I have 3 threads, one for the interface, one for the MFRC522 and one for the bluetooth. If I run the MFRC522 and the bluetooth separately ...
0
votes
1answer
88 views

obexd - Receive files error

I am facing the below error while trying to receive files via bluetooth. The pairing is successful and sending files from the board to the phone is also successful. But receiving files from phone to ...
3
votes
4answers
747 views

Raspberry Pi 3B+ BLE peripheral : Android can't retrieve services list, OK with iPhone and Win10

I try to make a Raspberry Pi 3B+ act as a BLE peripheral. I downloaded latest version (5.50) of bluez stack here : https://git.kernel.org/pub/scm/bluetooth/bluez.git. I execute provided examples in /...
1
vote
1answer
1k views

bluez - failure to pair bluetooth remote

I'm trying to pair my PS3 remote with my RPi 3, through bluetoothctl. The steps I'm attempting: place the remote in pair mode run bluetoothctl [bluetooth]# devices Device 00:19:C1:5A:24:7B BD Remote ...
1
vote
1answer
929 views

Develop a communicattion between a Raspberry with BLE server and a Raspberry with BLE client

I have been developing an small project which requieres a communication between two Raspberries, the first one acts as a Beacon and the second one tries to connect to that beacon and obtain the RSSI ...
-1
votes
1answer
4k views

Rpi Bluetooth Android Device Connection Pairing Problem

I'm trying to connect my rpi0 w to any android device via Bluetooth LE(low energy) , i can pair but i can't connect them ,an error always showed (Connection failed,No usable services on this device ) ...
2
votes
1answer
456 views

Rpi Zero W - How to automatically accept bluetooth pairing and log mac and info request?

I am using Raspbian Stretch 9.4 on a Zero W. The goal is to deploy it headless for long periods of time where it will broadcast a specified bluetooth signal. When someone tries to connect to it, it ...
2
votes
0answers
494 views

BLE Connect fails with page timeout

I've got a custom BLE 4.1 device and I'm trying to connect it to Raspberry PI 3 B+ using hcitool, gatttool, bluetoothctl, ..., without success. The device is an NRF BLE chip with the Nordic UART ...
4
votes
1answer
965 views

Bluetooth Blues

I've discovered again that cursing and swearing at inanimate objects doesn't actually improve things, so I'll try posting a question. A couple of months ago I attempted a fairly ambitious project (...
0
votes
0answers
933 views

hcitool does not find devices despite GUI showing multiple

I'm trying to better understand C (and bluetooth) using a Raspberry Pi 3 b+ as the testing grounds. I started by writing a C program that uses BlueZ to scan for bluetooth devices (script pretty common ...
1
vote
1answer
813 views

Connecting a new Bluetooth device without monitor?

We are trying to connect a Bluetooth device without a passkey and trusting default yes in Python. I am running a headless Raspberry PI 3, and I want it to automatically accept pairings from any ...
0
votes
0answers
1k views

Pi zero as bluetooth keyboard?

I am attempting to use a Pi as a bluetooth keyboard. There are several guides I have found for this, such as this on from impythonist. However, they seem to be outdated, and so far as I can tell ...
0
votes
0answers
38 views

RPi 3B+ won't discover PC on bluetooth

I am trying to connect my Windows 10 PC and RPi via Bluetooth, but my RPi doesn't show my PC as an available device. My PC also does not show my RPi as available. It is weird because my phone can ...
0
votes
1answer
547 views

Pulseaudio module-combine-sink always throws Failure

I am new to pulseaudio. As per my requirement, I need my audio output to be routed to either connected speaker, bluetooth speaker, or both. I am able to play the media file on speaker, or bluetooth ...
4
votes
2answers
18k views

How to stream sound to a bluetooth device from a raspberry pi zero

I have a raspberry pi zero W and I would like to stream sound over bluetooth to a bluetooth-enabled speaker / headphone. So how to achieve this with alsa?