added beacon configuration

This commit is contained in:
Peli de Halleux 2016-12-05 15:02:39 -08:00
parent e2482cdf91
commit 52857c9541

View File

@ -41,13 +41,13 @@
},
"userConfigs": [
{
"description": "No pairing: Anyone can connect via Bluetooth.",
"description": "Unsecure: Anyone can connect via Bluetooth.",
"config": {
"microbit-dal": {
"bluetooth": {
"open": 1,
"pairing_mode": 0,
"white_list": 0,
"whitelist": 0,
"security_level": null
}
}
@ -60,7 +60,7 @@
"bluetooth": {
"open": null,
"pairing_mode": null,
"white_list": null,
"whitelist": null,
"security_level": null
}
}
@ -73,11 +73,32 @@
"bluetooth": {
"open": 0,
"pairing_mode": 1,
"white_list": 1,
"whitelist": 1,
"security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM"
}
}
}
},
{
"description": "Beacon: No pairing, open and Eddystone advertising only.",
"config": {
"microbit-dal": {
"bluetooth": {
"open": 1,
"pairing_mode": 0,
"private_addressing": 0,
"whitelist": 0,
"advertising_timeout": 0,
"tx_power": 6,
"dfu_service": 0,
"event_service": 0,
"device_info_service": 0,
"eddystone_url": 1,
"eddystone_uid": 0,
"security_level": null
}
}
}
}
]
},