diff --git a/libs/bluetooth/pxt.json b/libs/bluetooth/pxt.json index 81b39877..43f75849 100644 --- a/libs/bluetooth/pxt.json +++ b/libs/bluetooth/pxt.json @@ -16,7 +16,13 @@ "config": { "microbit-dal": { "bluetooth": { - "enabled": 1, + "enabled": 1 + } + } + }, + "optionalConfig": { + "microbit-dal": { + "bluetooth": { "private_addressing": 0, "whitelist": 1, "advertising_timeout": 0, @@ -25,19 +31,13 @@ "event_service": 1, "device_info_service": 1, "eddystone_url": 1, - "eddystone_uid": 0 - }, - "gatt_table_size": "0x700" - } - }, - "optionalConfig": { - "microbit-dal": { - "bluetooth": { + "eddystone_uid": 0, "pairing_mode": 1, "open": 0, "security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM" } - } + }, + "gatt_table_size": "0x700" } }, "installedVersion": "vzlhfd" diff --git a/libs/core/pxt.json b/libs/core/pxt.json index b79d7634..bca70b9e 100644 --- a/libs/core/pxt.json +++ b/libs/core/pxt.json @@ -42,8 +42,7 @@ "public": true, "dependencies": {}, "yotta": { - "configIsJustDefaults": true, - "config": { + "optionalConfig": { "microbit-dal": { "bluetooth": { "enabled": 0