I have a raspberry pi 5 device, with rasbpian (debian bookworm). I bought a chinese led strip, with a bluetooth controller on it, and i would like to connect to it from the pi. Im using bluez 5.66, and with bluetoothctl i can discover the device, and can connect to it, but after a few seconds it is disconnected. With btmon, i can see the logs, and i see that my pi is trying to negotiate the mtu size, but the other device says it is not supported. After 2 tries, the remote device sends a disconnect request.
What else i can do to successfully connect to the device, and be able to control it from my raspberry?
I can connect this device with nrfConnect android app, reading services and characteristics, but in linux i cannot. I see that the raspberry is trying to request mtu size 256 and 512. I tried to change this to start with 23 (the default minimum), but i could not find anything to change this setting.
Laci Stiller is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.