Skip to content

Tag: bluetooth

How do i get the debug/return strings out of bluethootctl

How can i retrieve those two lines: Changing discoverable off succeeded [CHG] Controller 64:6E:69:F4:9E:72 Discoverable: no Basically grabbing the output or other possible error outputs and discarding the rest of the garbage I’m attempting to do a fork of a very simple bluethooth dmenu bash script, and …

Read battery status bluetooth headset linux

I use Bluetooth headset that use Bluetooth version 4.1. When I connect with android it shows the battery status. But with Linux (Ubuntu 18.04) I cannot get battery status. I tried with bluetoothctl, looking file in /sys/class/power_supply as in other questions, But they didn’t help me. askubuntu.com/que…

Prevent bluetooth driver actions?

I want to controll my bluetooth controller completely programmatically with HCI commands. (Basically mimic the behaviour of other bluetooth controllers, e.g. of android devices) However, with the driver running, there will always be unwanted commands sent automatically. Is it somehow possible to prevent this?…

QtBlueTooth not functional on Linux

I’m developing an embedded application with bluetooth LE function enabled using Qt 5.7. The device I’m developing are meant to act as peripheral role, it can broadcast advertising packets and let smartphones to connect to. The target board are running with Ubuntu Linux 14.04, with bluez version 5.…