Select one of the symbols to view example projects that use it.
 
Outline
#define __ESP_NIMBLE_HCI_H__
#include "nimble/transport.h"
#define BLE_HCI_UART_H4_NONE
#define BLE_HCI_UART_H4_CMD
#define BLE_HCI_UART_H4_ACL
#define BLE_HCI_UART_H4_SCO
#define BLE_HCI_UART_H4_EVT
esp_nimble_hci_init();
esp_nimble_hci_deinit();
Files
loading (4/5)...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/bt/host/nimble/esp-hci/include/esp_nimble_hci.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #ifndef __ESP_NIMBLE_HCI_H__ #define __ESP_NIMBLE_HCI_H__ #include "nimble/transport.h" #ifdef __cplusplus extern "C" { #endif #define BLE_HCI_UART_H4_NONE 0x00 #define BLE_HCI_UART_H4_CMD 0x01 #define BLE_HCI_UART_H4_ACL 0x02 #define BLE_HCI_UART_H4_SCO 0x03 #define BLE_HCI_UART_H4_EVT 0x045 defines /** * @brief 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 * - ESP_OK if the initialization is successful * - Appropriate error code from esp_err_t in case of an error *//* ... */ esp_err_t esp_nimble_hci_init(void); /** * @brief Deinitialize VHCI transport layer between NimBLE Host and * ESP Bluetooth controller * * @note This function should be called after the NimBLE host is deinitialized. * * @return * - ESP_OK if the deinitialization is successful * - Appropriate error codes from esp_err_t in case of an error *//* ... */ esp_err_t esp_nimble_hci_deinit(void); #ifdef __cplusplus }{...} #endif /* ... */ #endif /* __ESP_NIMBLE_HCI_H__ */
Details
Show:
from
Types: Columns: