Hi Mike,
You helped me with some issue and now I got another one I hop you can resolve too
I got a serious problem with that lack of functionality of disconnected all services from Bluetooth, or even prevent connexion for some services.
I will try to explain.
We use a device (I will call it Hal) integrating Bluesoleil that doesn't provide a user interface to administrate Bluesoleil.
So we really need to deactivate all unused services and mostly those which are connected by bluesoleil itself, even we doesn't call a function to do that.
Here is a catastrophic scenario a user can experiment:
User switch on Hal, my application using WCL runs and the user paired his device and connected it.
Suddenly my application crashed. My application does all right disposes but I can't disconnect all services. And as I can't disconnect all services I can't unpaired user's device. So the user's device belongs paired and connected to BlueSoleil.
The user has run again my application. My application detects user's paired device. But I can't get which service is connected. And even I could, you explain to me that I could not get the handles. And all this situation is really bad. To work around it, I have to find a way to switch off the Bluetooth to kill that connection!
Mike I need a function to programmatically stop BlueSoleil to connect to its AVRCP profile by itself and even all other services I don't need or i need to programmatically switch off the Bluetooth or simply disconnect all services. This can help too.
Can you help me with that:
- programmatically stop BlueSoleil to connect to its AVRCP profile by itself or
- programmatically switch off the Bluetooth or
- programmatically simply disconnect all services.
Thank you for your help.
Mariluz