14 questions
0
votes
0
answers
31
views
Difference between gatttool and bluetoothctl with BLE device
Currently, I am trying to connect to my Bluetti D100P using bluetti_mqtt. The problem is that bluetti_mqtt was unable to find the device name. So I thought, maybe it has another UUID. So I tried to ...
-1
votes
2
answers
972
views
Cannot pair Bluetooth device: Authentication problem
I'm trying to pair and eventually connect to the Bluetooth device using bluetoothctl, but unfortunately pairing always fails.
Device which initiates pairing (DeviceA) shows pin code and yes/no option ...
0
votes
0
answers
264
views
How to write to a local attribute using bluetoothctl?
I am trying to connect to an iPad app from a linux based system (PetaLinux to be presice) using bluetooth LE. The data exchange is raw binary data so vendor specific characteristic UUID is used. The ...
0
votes
1
answer
703
views
Reading and writing vendor-specific BLE characteristic values using bluetoothctl or gatttool
I am able to connect to and read vendor-specific characteristic values from a BLE device using gatttool on a Raspberry Pi 4B terminal command line, but I have a couple of issues.
A dialog appears, &...
0
votes
1
answer
348
views
bluetoothctl creating gatt server - cant write more than one byte
I've added a service and charecteristic with bluetoothctl (bluez v5.64). I have some issues:
I can only write one byte. attempting write "0x11 0x22" results in
"Unable to write local ...
0
votes
0
answers
490
views
How to access an bluetooth-agent with python script?
On a RPi4 with Debian I use
sudo bluetoothctl
power on
discoverable on
pairable on
agent NoInputNoOutput
default-agent
to be able to pair e.g. my smartphone to this Rpi. These steps are ...
0
votes
1
answer
940
views
bash script works from command line but returns "No default controller available" when started as cgi script via apache server
I'm trying to execute a script on a raspberry pi to control a bluetooth device via a url cgi (apache2) script. There may be other ways to do this, but I've struggled to get php installed without ...