fixing justworks support

This commit is contained in:
Peli de Halleux 2016-12-02 09:45:59 -08:00
parent 2fcd32de0d
commit 475821564e

View File

@ -34,7 +34,7 @@
"eddystone_uid": 0, "eddystone_uid": 0,
"pairing_mode": 1, "pairing_mode": 1,
"open": 0, "open": 0,
"security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM" "security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM"
} }
}, },
"gatt_table_size": "0x700" "gatt_table_size": "0x700"
@ -52,6 +52,18 @@
} }
} }
}, },
{
"description": "JustWorks pairing (default): Button press to pair via Bluetooth.",
"config": {
"microbit-dal": {
"bluetooth": {
"open": 0,
"pairing_mode": 1,
"security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM"
}
}
}
},
{ {
"description": "Passkey pairing: Button press and 6 digit key to pair via Bluetooth.", "description": "Passkey pairing: Button press and 6 digit key to pair via Bluetooth.",
"config": { "config": {