mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Updated the nimble instructions for ESP32.
This commit is contained in:
parent
5524c772e6
commit
07f860d7e1
@ -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``
|
||||
|
Loading…
x
Reference in New Issue
Block a user