/* * 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__cplusplusextern"C"{#endif#defineBLE_HCI_UART_H4_NONE0x00#defineBLE_HCI_UART_H4_CMD0x01#defineBLE_HCI_UART_H4_ACL0x02#defineBLE_HCI_UART_H4_SCO0x03#defineBLE_HCI_UART_H4_EVT0x045 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_tesp_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_tesp_nimble_hci_deinit(void);#ifdef__cplusplus}{...}#endif/* ... */#endif/* __ESP_NIMBLE_HCI_H__ */
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.