Closed EmileSpecialProducts closed 1 week ago
This is linked to this issue BLE the resolvement is to add this to the Code BLEAdvertising *pAdvertising = pServer->getAdvertising(); pAdvertising->start(); to the BleConnectionStatus::onDisconnect
void BleConnectionStatus::onDisconnect(BLEServer pServer) { this->connected = false; BLE2902 desc = (BLE2902*)this->inputMouse->getDescriptorByUUID(BLEUUID((uint16_t)0x2902)); desc->setNotifications(false);
BLEAdvertising *pAdvertising = pServer->getAdvertising(); pAdvertising->start(); }
Resolved the Issue #1 Resume advertising after the disconnect. For this I needed to make a fork form the T-vK/ESP32-BLE-Mouse
This is linked to this issue BLE the resolvement is to add this to the Code BLEAdvertising *pAdvertising = pServer->getAdvertising(); pAdvertising->start(); to the BleConnectionStatus::onDisconnect
void BleConnectionStatus::onDisconnect(BLEServer pServer) { this->connected = false; BLE2902 desc = (BLE2902*)this->inputMouse->getDescriptorByUUID(BLEUUID((uint16_t)0x2902)); desc->setNotifications(false);
BLEAdvertising *pAdvertising = pServer->getAdvertising(); pAdvertising->start(); }