mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
Updated the nimble instructions for ESP32.
This commit is contained in:
parent
0a1d8c1e09
commit
98c0481914
@ -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:
|
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.
|
* 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 and controller stack using ``nimble_port_init``.
|
||||||
* Initialize the host stack using ``nimble_port_init``.
|
|
||||||
* Initialize the required NimBLE host configuration parameters and callbacks
|
* Initialize the required NimBLE host configuration parameters and callbacks
|
||||||
* Perform application specific tasks/initialization
|
* Perform application specific tasks/initialization
|
||||||
* Run the thread for host stack using ``nimble_port_freertos_init``
|
* Run the thread for host stack using ``nimble_port_freertos_init``
|
||||||
|
Loading…
Reference in New Issue
Block a user