Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bluez]

The tag has no usage guidance.

1
vote
0answers
388 views

How to connect to my phone via bluetooth serial

I am having trouble connecting to my phone via serial bluetooth on an embedded linux system. Here are the steps that I have taken to attempt a connection. (Note that I am able to pair and connect just ...
0
votes
0answers
433 views

How do I get Bluetooth working on Fedora Linux 20?

I am trying to get a HP Office 100 printer to work over Bluetooth from my LinuxFedora 20 PC. I have installed "blueman-0.19-all.tar.gz", I tried to install bluez... but got "Package bluez-5.18-1.fc20....
2
votes
0answers
474 views

Bluez Obex daemon not starting

my Bluez obexd daemon is not starting. I connect via: ssh -X something@something I have a running dbus user session and set the DISPLAY env var with DISPLAY=:0 like the www told me. My daemon.log ...
10
votes
3answers
2k views

Alternative to the now deprecated rfcomm binary in bluez

Since bluez 5.44, the rfcomm binaries contained in bluez-utils (amongst others like hcitool) are considered deprecated and are from now on only included in the bluez-utils-compat package provided by ...
6
votes
2answers
5k views

How to allow non-root systemd service to use dbus for BLE operation

I’ve been prototyping a BLE peripheral running as root on a small raspberry like board. Now I’m hardening things and partitioning the BLE app to a non-root user. So I've changed my systemd service ...
1
vote
1answer
3k views

Initiate bluetooth pairing from iPhone with PIN or other security

I have a raspberry pi 3 (raspbian jessie), which I can currently pair with my phone if I scan and initiate the pairing on the pi with bluetoothctl. I have two primary problems: The device does not ...
0
votes
0answers
300 views

Killer 1535 802.11 2×2 Wi-Fi + BT 4.1 controller can't discover MS Mobile Mouse 3600

I saw number of posts here about Mobile Mouse 3600 but sadly none of them helped me to debug the issue. I have Killer 1535 card on my Dell XPS 13. According to specs it's Bluetooth 4.1 device. Mobile ...
2
votes
0answers
2k views

How to configure bluez/kernel for Bluetooth keyboard peripheral

I am trying to bring up a custom ARM machine (similar to Raspberry Pi) to connect to a Bluetooth keyboard using a UART HCI interface (as opposed to a USB Bluetooth dongle). The device appears to pair ...
1
vote
1answer
346 views

How can I read the descriptor for the “Characteristic User Description”?

I am trying to get my Linux machine to communicate with several micro-controllers that have BLE chips. I am attempting to do this using the attributes that already come with the micro-controllers. The ...
3
votes
1answer
7k views

Can't connect RFCOMM socket: Host is down

I have bluez 5.4.3 and I am attempting to communicate with a ble device through minicom. These two deceives (my computer and a bluno nano) are alreadt paired and this has been my method so far. #...
2
votes
1answer
4k views

Is it possible to use the bluetoothctl write command to send serial data?

Is it possible to use the bluetoothctl write command to send serial data? For example, I know that I can not do this exactly but can I have something to the effect that writes btltoothctl write "...
1
vote
0answers
703 views

Bluetooth over uart using hciattach?

It am using QN9021 SoC working in controller mode (BLE Bluetooth core specification v4.0). It supports some standard HCI commands as well as some vendor specific commands. I am trying to attach it in ...
0
votes
1answer
586 views

bluetooth dongle not powered when plugged, only at boot

When executing sudo hcitool lescan I get: Set scan parameters failed: Input/output error Executing bluetoothctl and using the show command targetting the dongle's controller I noticed it's "Powered: ...
5
votes
1answer
5k views

how to use bluetooth device with HSP/HFP profile using pulseaudio >=6 and bluez >= 5.24

I'd like to receive/record audio from bluetooth device on my linux box. The one I have works properly as a headset (microphone works properly in particular) i.e. on macOS yet I cannot get it working ...
4
votes
1answer
2k views

How to get audio from BT headset mic?

I have BT headset with mic. It is connected to the Linux device as HSP (Pulseaudio 9.0 native) via Bluez5. I want to get sound from mic. How to do this? When I do parec -r --device="...." there ...
3
votes
0answers
377 views

Pulseaudio does not register HFP profile in SDP server

I need to pair a headset to a Linux based device over Bluetooth. Actually I want to have mic paired to the device to get raw audio from the mic. The device does not have a sound card. I have ...
0
votes
1answer
898 views

Gstreamer ' The stream is in the wrong format.'

I'm using a Raspberry pi zero with a Bluetooth dongle and I'm trying to play an mp3 file to a Bluetooth speaker. I managed to get them both connected after a lot of trying, this is the full list of ...
8
votes
1answer
14k views

How to set up automatic connection of bluetooth headset?

My bluetooth headset works fine. Audio sink works. Everything work. But the problem is that I need to connect it manually to the PC: click on bluetooth icon near the time on kde taskbar => known ...
14
votes
2answers
1k views

bluez: bluetooth headphones cannot reconnect after disconnecting

I can pair my bluetooth headset with my laptop once. But when I disconnect my headset, I cannot reconnect it again. The only way it works is to restart the bluetooth daemon: service bluetooth ...
3
votes
1answer
339 views

Interfacing BlueZ without HCI?

Background I'm trying to get a BlueZ based userspace app running on a embedded Linux board to use nRF52832 as a Bluetooth connectivity chip. Seems like nRF52832 doesn't support the HCI interface. If ...
2
votes
1answer
4k views

Bluetooth controller profiles

In bluetoothctl, if I run show on my default bluetooth controller, I get the following: Controller XX:XX:XX:XX:XX:XX Name: computer-name Alias: computer-name Class: 0x00010c ...
1
vote
2answers
1k views

Downgrade bluez to version 4

I've got Nokia BH-105 headset, that I want to use with my PC. I can pair, but cannot connect to BH-105: [bluetooth]# connect 00:1C:EF:CA:B3:D0 Attempting to connect to 00:1C:EF:CA:B3:D0 [CHG] Device ...
3
votes
0answers
987 views

Very low volume audio through Bluetooth since networking restart

I'm running Debian 8, and I've been successfully using Pulseaudio/BlueZ to play audio through a Bluetooth speaker. Today I restarted my networking stack in order to try and fix a WiFi problem, and ...
8
votes
0answers
944 views

Sound playback over bluetooth lags

I followed the instructions on Arch Linux Wiki and managed to set up sound playback thorugh bluetooth. However, there is a serious lag when using A2DP profile. No problems when using the headset ...
0
votes
1answer
3k views

Using microphone from bluetooth

I have a problem with bluetooth : I can connect to my handsfree device using bluetooth. By default it connects in A2DP mode (good audio quality, but no microphone available). However, when I try to ...
2
votes
1answer
3k views

Trying to connect bose quietcomfort 35 headset over bluetooth on arch linux

There is another question here, but i followed those instructions and it still didn't work. Here is the systemctl status Oct 06 10:02:38 TRAYUSH bluetoothd[376]: Bluetooth daemon 5.42 Oct 06 10:02:...
1
vote
0answers
2k views

Pulseaudio module-loopback problems

I'm trying to setup bluetooth audio sink using bluez + pulseaudio. The computer is running debian 7. I'm able to connect another device via bluetooth and I can see it in input devices. I've found ...
1
vote
1answer
948 views

Setup linux as bluetooth NAP and connect to windows over bluetooth ethernet (Bluez5)

I want to connect my linux laptop (debian 8) with my windows laptop (windows 10) with ethernet over bluetooth. (This is a must have setup.) On the linux side I have bluez5. I found out that there is a ...
1
vote
1answer
1k views

How to display ble device “Name” when running hcitool lescan and btmon?

I had it working once, but can't get it working again. I'm running: ./btmon & hcitool lescan And output is of the form: > HCI Event: LE Meta Event (0x3e) plen 43 [hci0] ...
2
votes
0answers
477 views

Bluez bluetoothd requires root for all processes interacting with it

I've upgraded my bluez installation to version 5.41 on my Ubuntu xenail box (16.04). I'm trying to do some testing with a piece of bluetooth low energy hardware so I'm staring bluetoothd with the ...
2
votes
0answers
331 views

Can bluez run hooks on connect/disconnect

Is it possible to get bluez to run hooks when a device connects/disconnects? I'm setting up a raspberry pi to broadcast sound from a TV to Bluetooth ear phones. I want to add a pulse audio lookback ...
0
votes
1answer
559 views

IOGear GBU521 Bluetooth adapter on Debian

I've been trying to install a GBU521 Bluetooth adapter on Debian. I've been following several guides, one for Raspbian (http://www.ioncannon.net/linux/1570/bluetooth-4-0-le-on-raspberry-pi-with-bluez-...
2
votes
0answers
548 views

Bluetooth Tethering, no IPv4 adresse at interface bnep0

I want to tether my mobile internet from my smartphone (OnePlus One, Android) to my Laptop (Debian 8). I want achieve this without using external tools. At the arch wiki page (https://wiki.archlinux....
25
votes
6answers
19k views

Pairing Bose QC 35 over Bluetooth on Fedora

I am running Fedora 24 with Gnome Shell. I try to pair my new Bose QuietComfort 35 over Bluetooth. I started using the Gnome interface. Unfortunately, the connection seems not to hold. It appears as ...
4
votes
2answers
826 views

Use Debian Laptop as Bluetooth headset?

I want to use my laptop (Debian 8.4) as a bluetooth headset for my smartphone (OnePlus One, Android). This means not just audio of my phone, also incoming calls. I already managed to play normal ...
0
votes
1answer
967 views

Laggy, hanging, unstable bluetooth keyboard with Linux only

I have a laptop with Bluetooth broadcom 43142 module, and i had to copy firmware for it from Windows. Also i have Samsung Bluetooth Keyboard BKB-10.. Itt worrrks fine with Windoows 10, but under ...
4
votes
1answer
898 views

How to configure a connection interval in a BLE connection?

I have been using tools (hcitool, gatttool etc) from the BlueZ bluetooth protocol stack to connect to my BLE device. I have been able to successfully connect to the device and obtain data off it. My ...
2
votes
1answer
917 views

How to use a bluetooth speaker?

I'm trying to use a bluetooth speaker, but don't get any sound. bluetoothctl shows the device as paired, trusted, and connected, and lists it as "serial port", "headset", "audio sink", and some ...
1
vote
0answers
466 views

How to pair and do data transfer to mobile from embedded linux board using bluez?

We are using Bluez stack in our our embedded linux boards for attached wifi chip on UART interface. Now we are able to scan and get the device name using hcitool. Now need to pair the device with the ...
1
vote
0answers
2k views

Barebone Linux Bluetooth pairing

I have a small embedded ARM box, without any KVM, just a serial console, Net and a Bluetooth USB dongle. System is autocompiled using Buildroot framework and reasonably working. I can access the box ...
1
vote
1answer
924 views

USB Bluetooth dongle not working

I am struggling to get my bluetooth adapter work on my Linux desktop. I see it when I plug it in, but basically, nothing else works correctly: $ lsusb Bus 002 Device 006: ID 0a12:0002 Cambridge ...
0
votes
3answers
2k views

apt-get install bluez only installing documentation

I've been struggling for the past two days to get my Bluetooth keyboard to work with my Raspberry Pi 2, with Kali 2.0 installed (I have gotten Adafruit's PiTFT software from http://adafruit-download....
5
votes
1answer
2k views

hcidump not acquiring data packets in Ubuntu 14.04?

I am trying to communicate between two bluetooth modules in two different Ubuntu 14.04 VMs. While the data is transmitted and received perfectly, the hcidump is not able to acquire that data. I also ...
1
vote
0answers
604 views

Emulate Bluetooth LE Adapter for Acceptance Testing

I'm developing an Android app that captures Bluetooth LE signals and I'm a big fan of test driven and behaviour driven development. So, I want to develop my app by using TDD and BDD. When it comes to ...
2
votes
0answers
1k views

bluez paired but disconnected

I'm running bluez=4.99-2 on a Raspberry with Raspian installed and an old usb dongle 0a5c:200a Broadcom Corp. BCM2035. I use an Android device to connect to it, the dongle doesn't support sspmode so ...
0
votes
2answers
394 views

Blueman: RecentConns 'NoneType' object is not iterable

The last update for manjaro, no longer allows me to enable blueman for some reason. Here is the error: Connection Failed: Traceback (most recent call last): File "/usr/lib/python3.4/site-...
2
votes
0answers
910 views

Send message to Android phone using bluetooth

I have a Raspberry Pi which you can assume to be just a Linux machine. It runs BlueZ and is successfully paired with my Android phone. What I want to do is, my Python program should be able to send a ...
7
votes
2answers
1k views

Bluez multiple audio sources

With the bluez stack, is it possible to connect multiple audio sources ? How ? If not is it possible by any other means ? If possible, is it possible to mix different bluetooth version like low-energy ...
1
vote
1answer
2k views

Do I need a modified kernel/module for bluetooth RSSI scan?

I want to write a scanner that shows nearby bluetooth devices with their RSSI values. I don't want to pair or even connect to the devices, it must be fully silent. From what I've seen unix bluetooth ...
0
votes
0answers
156 views

Which linux kernel options need to be enabled to support bluetooth low energy?

Which are the mandatory and optional options?