don't set encryption level on device as it's set on each characteristic

Tento commit je obsažen v:
liamcottle
2025-02-26 20:24:14 +13:00
rodič 64ccc4e289
revize abb2dea321
-1
Zobrazit soubor
@@ -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);