diff options
author | Neil Kolban <kolban1@kolban.com> | 2017-11-21 09:51:03 -0600 |
---|---|---|
committer | Neil Kolban <kolban1@kolban.com> | 2017-11-21 09:51:03 -0600 |
commit | 4a781e01832176d61af010669b8c362f5a777768 (patch) | |
tree | 6a7a16309d61c4728512f5eb632d3ad565288c36 /src/BLEDevice.h | |
parent | Fixes for #121 (diff) | |
download | thermostat-4a781e01832176d61af010669b8c362f5a777768.tar.gz thermostat-4a781e01832176d61af010669b8c362f5a777768.tar.bz2 thermostat-4a781e01832176d61af010669b8c362f5a777768.zip |
Updates 2017-11-21 0950
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 |