From 07f860d7e192960636d4def0204798cca586271f Mon Sep 17 00:00:00 2001 From: Geng Yuchao Date: Mon, 25 Jul 2022 14:26:32 +0800 Subject: [PATCH] Updated the nimble instructions for ESP32. --- docs/en/api-reference/bluetooth/nimble/index.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/en/api-reference/bluetooth/nimble/index.rst b/docs/en/api-reference/bluetooth/nimble/index.rst index 04b0a14e58..fb68debdd8 100644 --- a/docs/en/api-reference/bluetooth/nimble/index.rst +++ b/docs/en/api-reference/bluetooth/nimble/index.rst @@ -30,8 +30,7 @@ To begin with, make sure that the NimBLE stack is enabled from menuconfig :ref:` Typical programming sequence with NimBLE stack consists of the following steps: * Initialize NVS flash using :cpp:func:`nvs_flash_init` API. This is because ESP controller uses NVS during initialization. - * Call :cpp:func:`esp_nimble_hci_and_controller_init` to initialize ESP controller as well as transport layer. This will also link the host and controller modules together. Alternatively, if ESP controller is already initialized, then :cpp:func:`esp_nimble_hci_init` can be called for the remaining initialization. - * Initialize the host stack using ``nimble_port_init``. + * Initialize the host and controller stack using ``nimble_port_init``. * Initialize the required NimBLE host configuration parameters and callbacks * Perform application specific tasks/initialization * Run the thread for host stack using ``nimble_port_freertos_init``