Open veaceslavgspot opened 7 months ago
run_classic_discoverable.py
only provides a fake SDP record, and there is no corresponding profile for it. To run speaker example, I suggest you to use apps/speaker.
https://github.com/google/bumble/blob/main/apps/speaker/speaker.py
NOTE: you will also see CONNECTION_REFUSED_PSM_NOT_SUPPORTED
when running the speaker app with Android as the client. This is perfectly normal: the speaker app doesn't (yet) implement AVRCP (remote control), which is a service on PSM 23. Somehow Android insists on connecting to AVRCP even though it's not advertised in the SDP. But that should not block anything else.
I am trying to run the speaker example and connect to it from an emulator:
python3 run_classic_discoverable.py speaker.json android-netsim
.The speaker appears in NetSim GUI and also it's discoverable in the emulator, but when attempting to pair with it connection seems to fail with
CONNECTION_REFUSED_PSM_NOT_SUPPORTED
. Any thoughts?Emulators: Pixel 7 API 34 and Pixel 8 API 34.
Here the full log: