Merge pull request #49 from liamcottle/main

Fix double pairing prompt for ESP32
This commit is contained in:
ripplebiz 2025-02-26 18:35:45 +11:00 committed by GitHub
commit c01c2ed3ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,6 @@ void SerialBLEInterface::begin(const char* device_name, uint32_t pin_code) {
// Create the BLE Device
BLEDevice::init(device_name);
BLEDevice::setEncryptionLevel(ESP_BLE_SEC_ENCRYPT_MITM);
BLEDevice::setSecurityCallbacks(this);
BLEDevice::setMTU(MAX_FRAME_SIZE);