mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
29 lines
660 B
C
29 lines
660 B
C
/*
|
|
* SPDX-FileCopyrightText: 2017-2023 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include "sdkconfig.h"
|
|
|
|
#if CONFIG_BT_NIMBLE_ENABLED
|
|
/**
|
|
* @brief Open BlueTooth HID Device using BlueDroid
|
|
* @param bda : BT Device Address
|
|
* @param transport : BT Device Protocol (Classic/HID)
|
|
* @param remote_addr_type : BLE Remote address type
|
|
*
|
|
* @return: ESP_OK on success
|
|
*/
|
|
esp_hidh_dev_t *esp_hidh_dev_open(uint8_t *bda, esp_hid_transport_t transport, uint8_t remote_addr_type);
|
|
#endif /* CONFIG_BT_NIMBLE_ENABLED */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|