diff options
Diffstat (limited to 'src/BLEDevice.h')
-rw-r--r-- | src/BLEDevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/BLEDevice.h b/src/BLEDevice.h index eb9fdaa..acf20f3 100644 --- a/src/BLEDevice.h +++ b/src/BLEDevice.h @@ -13,6 +13,7 @@ #include <esp_gattc_api.h> // ESP32 BLE #include <map> // Part of C++ STL #include <string> +#include <bt.h> #include "BLEServer.h" #include "BLEClient.h" @@ -52,6 +53,9 @@ private: esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t* param); +public: + static void setPower(esp_power_level_t powerLevel); + }; // class BLE #endif // CONFIG_BT_ENABLED |