BLE mode by default (#1429)

* set open mode as default + pairing mode supported too

* remove comment
This commit is contained in:
Peli de Halleux
2018-10-15 13:11:35 -07:00
committed by GitHub
parent 7e98936482
commit 192588d8cb
2 changed files with 8 additions and 20 deletions

View File

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