Cant find my bluetooth device while serching on my app

Hi Anke,
I can't find my Nokia E1200 headset in the list, but I tried it with my friend's AirPods, and the app managed to find them (as shown in the first line of the screenshot).

Please see the screenshot below after connecting:

Does this mean that my Nokia headset doesn't use BLE, even though it has Bluetooth 5.0?

Another question: After connecting with your app, am I supposed to hear audio on the AirPods when I play it using my phone, or do I need play music only trough the mit app for it to work with my headphones?

Thank you.

Hmm, I don't think so, but
"I have never and will never use Bluetooth headphones (for very good reasons)."

Try this BluetoothClient test app:

I tried it and I got the same 507 error that i wrote earlier

Blockquote
To clarify, the problem is that I can't detect any new devices. I have to initially connect them through the phone settings, unpair, and only then do they show up in the scan list of the MIT app. Even then, when I attempt to connect to the headset, it returns an 'error 507: unable to connect.'

I'm trying to play some audio with this app.

Bluetooth.aia (1017.1 KB)

The connection seems successful (the light on the AirPods case turns green when 'connected' is displayed on the app), but when I press play sound, it plays through my phone and not the AirPods.

I'm attempting to create an audio player app for a school project.

I think it is because you have to tell the app that it needs to play through the AirPods.

You must give permission in the app to access the Bluetooth interface.
See "Screen.PermissionGranted". (Required from Android 12/13)
Example:

  1. getpermissionName = BLUETOOTH_CONNECT
  2. call Screen1.AskForPermission permissionName "BLUETOOTH_CONNECT"
  3. call Screen1.AskForPermission permissionName "BLUETOOTH_SCAN"
  4. call Screen1.AskForPermission permissionName Permission.WriteExternalSorage
  5. call Screen1.AskForPermission permissionName Permission.ReadExternalSorage
  6. call Screen1.AskForPermission permissionName Permission.ResdMediaImages

I gave the app the search near by devices and use gps through the settings, it not the same?

If I will use your suggestion it will play music through the headset?

Because I saw somewhere in the forum that the mit BLE extansion is not supporting audio.