Edit:
With bluetooth scanner app from google play I can see that the bluetooth protocal of the devide is BR/EDR.
It means that I can only connect it with the bluetooth client option in the app inventor?
Another question ,it has bluetooth 5.0 shouldnt it use BLE?
That is not exactly what I meant. My question is, whether the device has any API (application programming interface) information.
BT 5.0 should indeed be BLE. And, normally, you do not want to be a BL server.
Did you also try the BTClient for BT < 5?
What did the BT scanner app tell you? Could you connect to your headset with it?
I don't believe the device has an API; it's a standard headset.
I also tried to use the bluetooth client (with this tutorial ) and there in the listPicker i see only a list of old devices that my phone was connected to them in the past and it seems that the scan is not working.
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.'
Im able to connect the headset with the BTScanner from the google play
Any guidance or suggestions would be greatly appreciated.
People have arms and legs, devices have API’s. What I meant is that maybe the way to access most headsets is similar, and I do not know a thing about headsets.
Anyway, I will stop replying in this thread, too much confusion.
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).
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?
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.'
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.