revert BLE defaults

This commit is contained in:
Peli de Halleux 2018-10-16 08:54:43 -07:00
parent 2b504d863d
commit 62427152eb

View File

@ -57,9 +57,9 @@
"device_info_service": 1, "device_info_service": 1,
"eddystone_url": 1, "eddystone_url": 1,
"eddystone_uid": 1, "eddystone_uid": 1,
"open": 1, "open": 0,
"pairing_mode": 1, "pairing_mode": 1,
"whitelist": 0, "whitelist": 1,
"security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM", "security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM",
"partial_flashing": 1 "partial_flashing": 1
} }
@ -67,24 +67,24 @@
}, },
"userConfigs": [ "userConfigs": [
{ {
"description": "No Pairing Required (default): Anyone can connect via Bluetooth.", "description": "No Pairing Required: Anyone can connect via Bluetooth.",
"config": { "config": {
"microbit-dal": { "microbit-dal": {
"bluetooth": { "bluetooth": {
"open": null, "open": 1,
"whitelist": null, "whitelist": 0,
"security_level": null "security_level": null
} }
} }
} }
}, },
{ {
"description": "JustWorks pairing: Pairing is automatic once the pairing is initiated.", "description": "JustWorks pairing (default): Pairing is automatic once the pairing is initiated.",
"config": { "config": {
"microbit-dal": { "microbit-dal": {
"bluetooth": { "bluetooth": {
"open": 0, "open": null,
"whitelist": 1, "whitelist": null,
"security_level": null "security_level": null
} }
} }