esp_bt_controller_init() function
Initialize the Bluetooth Controller to allocate tasks and other resources
Arguments
cfg
Initial Bluetooth Controller configuration
Return value
- ESP_OK: Success - ESP_ERR_INVALID_STATE: Invalid Bluetooth Controller state - ESP_ERR_INVALID_ARG: Invalid arguments - ESP_ERR_NO_MEM: Out of memory
Notes
This function should be called only once, before any other Bluetooth functions.
Examples
esp_bt_controller_init() is referenced by 45 libraries and example projects: