Why do you want to shut off the BT. Maybe you use the following API to set the BT non-discoverable and un-connectable.
/* Disable discoverability */
wiced_bt_dev_set_discoverability( BTM_NON_DISCOVERABLE, BTM_DEFAULT_DISC_WINDOW, BTM_DEFAULT_DISC_INTERVAL );
/* Disable connectability */
wiced_bt_dev_set_connectability( WICED_FALSE, BTM_DEFAULT_CONN_WINDOW, BTM_DEFAULT_CONN_INTERVAL );
Actually，when I shut off it's discoverability and connectability the module （BCM20706）can also excute scan and other action.Is there other API like a bluetooth switch on moble phone shut down BT thoroughly？
Sorry, I am not familiar with Android or IOS development. I can find some code for Android on the internet as follows. The IOS may have different method.
bluetoothAdapter.enable(); //open the BT
bluetoothAdapter.disable(); //close the BT
I think you can find some introduction on the internet by yourself.
Haha，thanks！I try to understand it.