diff --git a/libs/bluetooth/pxt.json b/libs/bluetooth/pxt.json index 680fc305..81b39877 100644 --- a/libs/bluetooth/pxt.json +++ b/libs/bluetooth/pxt.json @@ -17,9 +17,7 @@ "microbit-dal": { "bluetooth": { "enabled": 1, - "pairing_mode": 1, "private_addressing": 0, - "open": 0, "whitelist": 1, "advertising_timeout": 0, "tx_power": 6, @@ -31,6 +29,15 @@ }, "gatt_table_size": "0x700" } + }, + "optionalConfig": { + "microbit-dal": { + "bluetooth": { + "pairing_mode": 1, + "open": 0, + "security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM" + } + } } }, "installedVersion": "vzlhfd"