Questions tagged [bluez]

The tag has no usage guidance.

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
481 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
503 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 ...
1
vote
0answers
33 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
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 ...
1
vote
0answers
88 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
254 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 ...
1
vote
0answers
111 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 ...
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. ...
1
vote
0answers
51 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 ...
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.
0
votes
0answers
12 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 ...
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. ...
0
votes
0answers
79 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
82 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
36 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
20 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
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
558 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
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 ...
0
votes
0answers
59 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
0answers
960 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 ...
0
votes
0answers
2k 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 ...
-1
votes
1answer
66 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....
-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 ) ...