esp_nimble_hci_init() function
Initialize VHCI transport layer between NimBLE Host and ESP Bluetooth controller This function initializes the transport buffers to be exchanged between NimBLE host and ESP controller. It also registers required host callbacks with the controller.
Return value
- ESP_OK if the initialization is successful - Appropriate error code from esp_err_t in case of an error
![]()
if(esp_nimble_hci_init() != ESP_OK) {
esp_nimble_hci_init() is called by 1 function and calls 6 functions:
![]()
esp_nimble_hci_init()
esp_nimble_hci_init() reads 1 variable and writes 1 variable:
![]()
esp_nimble_hci_init()