diff options
Diffstat (limited to '.pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/BleConnectionStatus.cpp')
| -rw-r--r-- | .pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/BleConnectionStatus.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/.pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/BleConnectionStatus.cpp b/.pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/BleConnectionStatus.cpp deleted file mode 100644 index 83d3539..0000000 --- a/.pio/libdeps/esp32-s3-n16r8/ESP32 BLE Mouse/BleConnectionStatus.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "BleConnectionStatus.h" - -BleConnectionStatus::BleConnectionStatus(void) {} - -void BleConnectionStatus::onConnect(BLEServer *pServer) { - this->connected = true; - BLE2902 *desc = (BLE2902 *)this->inputMouse->getDescriptorByUUID( - BLEUUID((uint16_t)0x2902)); - desc->setNotifications(true); -} - -void BleConnectionStatus::onDisconnect(BLEServer *pServer) { - this->connected = false; - BLE2902 *desc = (BLE2902 *)this->inputMouse->getDescriptorByUUID( - BLEUUID((uint16_t)0x2902)); - desc->setNotifications(false); -} |
