2023-07-31 06:02:07 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2017-2023 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-04-29 05:24:01 -04:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "esp_hidd.h"
|
|
|
|
#include "esp_err.h"
|
|
|
|
#include "esp_hid_common.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2023-07-31 06:02:07 -04:00
|
|
|
#if CONFIG_GATTS_ENABLE || CONFIG_BT_NIMBLE_ENABLED
|
2020-04-29 05:24:01 -04:00
|
|
|
|
|
|
|
esp_err_t esp_ble_hidd_dev_init(esp_hidd_dev_t *dev, const esp_hid_device_config_t *config, esp_event_handler_t callback);
|
|
|
|
|
|
|
|
#endif /* CONFIG_GATTS_ENABLE */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|