diff -r 7448b8dd4288 -r ec5c7794dcd6 main/config.h --- a/main/config.h Sun Apr 16 12:27:12 2023 +0200 +++ b/main/config.h Mon Apr 17 14:54:35 2023 +0200 @@ -40,6 +40,7 @@ #include "esp_gatts_api.h" #include "esp_bt_defs.h" #include "esp_bt_main.h" +#include "esp_gatt_common_api.h" #endif #include "nvs_flash.h" #include "lwip/err.h" @@ -62,6 +63,9 @@ #include "task_apds9930.h" #ifdef CONFIG_ENABLE_BLE_GATT #include "task_ble.h" +#include "ble_adv.h" +#include "ble_gap.h" +#include "ble_gatts.h" #endif #include "task_wifi.h" #include "task_mqtt.h"