updated BLE settings

This commit is contained in:
Peli de Halleux 2016-12-07 08:07:08 -08:00
parent 9e5d9787c7
commit 91197c5cec

View File

@ -24,7 +24,6 @@
"microbit-dal": { "microbit-dal": {
"bluetooth": { "bluetooth": {
"private_addressing": 0, "private_addressing": 0,
"whitelist": 1,
"advertising_timeout": 0, "advertising_timeout": 0,
"tx_power": 6, "tx_power": 6,
"dfu_service": 1, "dfu_service": 1,
@ -32,8 +31,9 @@
"device_info_service": 1, "device_info_service": 1,
"eddystone_url": 1, "eddystone_url": 1,
"eddystone_uid": 0, "eddystone_uid": 0,
"pairing_mode": 1,
"open": 0, "open": 0,
"pairing_mode": 1,
"whitelist": 1,
"security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM" "security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM"
} }
}, },
@ -47,13 +47,14 @@
"bluetooth": { "bluetooth": {
"open": 1, "open": 1,
"pairing_mode": 0, "pairing_mode": 0,
"whitelist": 0 "whitelist": 0,
"security_level": null
} }
} }
} }
}, },
{ {
"description": "JustWorks pairing (default): Button press to pair via Bluetooth.", "description": "JustWorks pairing (default): Button press to pair.",
"config": { "config": {
"microbit-dal": { "microbit-dal": {
"bluetooth": { "bluetooth": {
@ -66,7 +67,7 @@
} }
}, },
{ {
"description": "Passkey pairing: Button press and 6 digit key to pair via Bluetooth.", "description": "Passkey pairing: Button press and 6 digit key to pair.",
"config": { "config": {
"microbit-dal": { "microbit-dal": {
"bluetooth": { "bluetooth": {
@ -77,18 +78,6 @@
} }
} }
} }
},
{
"description": "Disable Event, Device Info and Device Flashing services.",
"config": {
"microbit-dal": {
"bluetooth": {
"dfu_service": 0,
"event_service": 0,
"device_info_service": 0
}
}
}
} }
] ]
}, },