NimBLE-Arduino 2.1.3
Loading...
Searching...
No Matches
esp_nimble_hci.h
1/*
2 * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef __ESP_NIMBLE_HCI_H__
8#define __ESP_NIMBLE_HCI_H__
9
10#include "nimble/nimble/transport/include/nimble/transport.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#define BLE_HCI_UART_H4_NONE 0x00
17#define BLE_HCI_UART_H4_CMD 0x01
18#define BLE_HCI_UART_H4_ACL 0x02
19#define BLE_HCI_UART_H4_SCO 0x03
20#define BLE_HCI_UART_H4_EVT 0x04
21
34esp_err_t esp_nimble_hci_init(void);
35
46esp_err_t esp_nimble_hci_deinit(void);
47
48#ifdef __cplusplus
49}
50#endif
51
52#endif /* __ESP_NIMBLE_HCI_H__ */