BR: BLE MIDI pairing of Android with MacOS not possible

I have been unable to pair an Android device with a MacOS computer. I have tested on several Android devices using the Demorunner. MacOS version is 14.6.1

Although the Android device can see the advertising computer, when one tries to connect, the dialog gets forever stuck on “connecting…”.

Connecting to devices such as electric pianos works fine, as connecting to an advertising iOS device.

I think the problem arises when a device requires a confirmation or entering a passcode. MIDI Commander, for example, can correctly connnect to MacOS: a dialog with a 6-figure passcode is displayed on the Android device, which one has to enter on the MacOS device.