esp_bluedroid_detach_hci_driver() function
remove the operations of HCI transport layer. This API should only be used in Bluedroid Host-only mode before Bluedroid initialization.
Syntax
esp_err_t esp_bluedroid_detach_hci_driver(void); Return value
ESP_OK if get successfully, ESP_FAIL otherwise