Hi @Giedrius, I also can’t connect .
Fresh install patchbox os bulleyes - updated + modep module 1.13. Raspberry Pi 3B+ with pisound version 1.0. Turning bluetooth to discoverable with the button, the two leds are flashing.
Android 13 on the phone with fresh app install.
After that I can see patchbox as a headset + mic in the phone bluetooth available devices but I can’t connect with the app
Did you permit location access to the Pisound App? It is required for Bluetooth Discovery on Android apps to work.
Hi ad thanks for the help.
No luck. I permit location access but it is not better.
All the permissions are granted. But I can’t connect the App to the Pi.
What is the output of
systemctl status pisound-ctl after you make a connection attempt from within the Pisound App?
This evening, I tried again and managed to connect the application.
One additional thing I’ve enabled is proximity sharing on my android phone.
I don’t know if this is what enabled the connection but I didn’t change anything else.
Here’s the feedback:
● pisound-ctl.service - Bluetooth service for Pisound companion app.
Loaded: loaded (/usr/lib/systemd/system/pisound-ctl.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2023-11-08 23:03:25 GMT; 7min ago
Main PID: 482 (pisound-ctl)
Tasks: 14 (limit: 1600)
├─866 /bin/sh /usr/bin/mec /etc/mec-blokas.json
├─873 mec-app /etc/mec-blokas.json
└─874 osc2midi pisound-ctl 127.0.0.1 35675
Nov 08 23:03:35 patchbox pisound-ctl: mec api initialise
Nov 08 23:03:35 patchbox pisound-ctl: mecapi_proc start
Nov 08 23:03:35 patchbox pisound-ctl: MecApi::MecApi
Nov 08 23:03:35 patchbox pisound-ctl: MecApi_Impl::init
Nov 08 23:03:35 patchbox pisound-ctl: KontrolDevice initialise
Nov 08 23:03:35 patchbox pisound-ctl: mec_app running
Nov 08 23:03:35 patchbox pisound-ctl: KontrolDevice::init
Nov 08 23:03:35 patchbox pisound-ctl: kontrol device : listening on 6050
Nov 08 23:03:35 patchbox pisound-ctl: KontrolDevice::init - complete
Nov 08 23:03:37 patchbox pisound-ctl: KontrolDevice::new client 127.0.0.1 : 46450 KA = 5
I will try to disable the proximity sharing (it’s “partage de proximité” in french).
Thanks a lot for your help anyway !
It could be related.
Personally I’m not a fan of how Bluetooth discovery is handled by Android, with all the proximity / location permission requirements, which immediately make users raise questions why such things could be necessary for an app like Pisound App.
The reason for such requirement by the OS seems to be that this is seen as some sort of a user’s security vulnerability, as (only during the BT device discovery process) the user’s phone would become ‘visible’ to all of the nearby Bluetooth devices, and such other devices might predict your phone’s approximate location, based on the Mac address of the BT on your phone. If I remember it right, I think Apple phones use a randomized Mac address each time which probably makes such location approximation nearly useless. Android seems to have an option to enable / disable Mac address randomization.
So anyway, this obscure way of approximating someone’s position with nearby devices manifested itself with requiring permissions for Android apps that don’t make sense for the kind of app requesting them. Kind of like GDPR ruined the internet with all those annoying cookie notices.