Browse Source

Merge pull request #49 from liamcottle/main

Fix double pairing prompt for ESP32
pull/50/head
ripplebiz 1 year ago
committed by GitHub
parent
commit
c01c2ed3ac
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      src/helpers/esp32/SerialBLEInterface.cpp

1
src/helpers/esp32/SerialBLEInterface.cpp

@ -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);

Loading…
Cancel
Save