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

이 커밋은 다음에 포함됨:
liamcottle
2025-02-26 20:24:14 +13:00
부모 64ccc4e289
커밋 abb2dea321
-1
파일 보기
@@ -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);