I would like to load/unload my BT driver whenever the BT icon is enabled/disabled from the UI. Where do I need to add code to do this? Can someone help me with this?
PS: I am obviously using the Bluedroid stack.
What Android BSP are you using?, is the bluetooth a USB dongle?, or what type is it?
I am using the Android BSP downloaded from the freescale site for my imx6 SoloLite platform. The bluetooth device is a USB dongle.