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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
1 deletions
-
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); |
|
|
|
|
|
|
|
|