From 34e23934b05b05f60f4b5c1618c2de691d76f2b7 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 5 Dec 2016 13:02:11 -0800 Subject: [PATCH] better bluetooth settings --- libs/bluetooth/pxt.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libs/bluetooth/pxt.json b/libs/bluetooth/pxt.json index 66e6dde0..ba33c009 100644 --- a/libs/bluetooth/pxt.json +++ b/libs/bluetooth/pxt.json @@ -46,7 +46,8 @@ "microbit-dal": { "bluetooth": { "open": 1, - "pairing_mode": null, + "pairing_mode": 0, + "white_list": 0, "security_level": null } } @@ -57,9 +58,10 @@ "config": { "microbit-dal": { "bluetooth": { - "open": 0, - "pairing_mode": 1, - "security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM" + "open": null, + "pairing_mode": null, + "white_list": null, + "security_level": null } } } @@ -71,6 +73,7 @@ "bluetooth": { "open": 0, "pairing_mode": 1, + "white_list": 1, "security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM" } }