Disconnecting Bluetooth peripherals when making a phone call

I configured the application to support backgroud bluetooth-central mode, the application connects to the re-file and subscribes to one of its values.

The application works fine in the background, but after I got or made a phone call, the peripheral disconnect, but the application is still always in the background.

I do not perform any long-term actions in the background, but I manage to start the scan after disconnecting the peripherals.

I think maybe the phone ringtone is more powerful than Bluetooth, so it bothers him.

Does anyone know the real cause of the problem? Any suggestions!

+4
source share

Source: https://habr.com/ru/post/1622251/


All Articles