Skip to content
Advertisement

Tag: bluez

L2CAP IOS + Linux (Bluez)

I’m trying to make a simple L2CAP Socket communication between IOS and a Linux PC. I’ve been able to: Create an L2CAP connection between two Linux machines (using example code from https://github.com/atwilc3000/sample/tree/master/Bluetooth) Create an L2CAP connection between two Iphones (using example code from https://github.com/github-deden/iOS_L2Cap) On that IOS example they are using some PSM advertise in order to chose the correct

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/questions/53880/is-there-any-way-to-check-the-battery-percentage-of-apple-wireless-peripherals stackoverflow.com/questions/49078659/check-battery-level-of-connected-bluetooth-device-on-linux My bluetooth device don’t use GATT profile. It uses A2DP sink for

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.43 (the latest) Since Qt documentation says “In Qt 5.7, additional API supporting

Advertisement