2250aa9d4b
* enable tracing * more config adjustments * upgrading images * upgrading input * upgrading led * upgraded pins api * upgrade runtime * upgrading pxt.h * upgrading basic.cpp * upgraded control * upgraded control.ts * upgrading core.cpp * updating shims * fixing merge issues * upgrading BLE config
72 lines
2.1 KiB
JSON
72 lines
2.1 KiB
JSON
{
|
|
"name": "bluetooth",
|
|
"description": "Bluetooth services",
|
|
"files": [
|
|
"README.md",
|
|
"enums.d.ts",
|
|
"shims.d.ts",
|
|
"bluetooth.ts",
|
|
"bluetooth.cpp",
|
|
"_locales/de/bluetooth-jsdoc-strings.json"
|
|
],
|
|
"public": true,
|
|
"dependencies": {
|
|
"core": "file:../core"
|
|
},
|
|
"yotta": {
|
|
"config": {
|
|
"microbit-dal": {
|
|
"bluetooth": {
|
|
"enabled": 1
|
|
}
|
|
}
|
|
},
|
|
"optionalConfig": {
|
|
"microbit-dal": {
|
|
"gatt_table_size": "0x700"
|
|
}
|
|
},
|
|
"userConfigs": [
|
|
{
|
|
"description": "No Pairing Required: Anyone can connect via Bluetooth.",
|
|
"config": {
|
|
"microbit-dal": {
|
|
"bluetooth": {
|
|
"open": 1,
|
|
"pairing_mode": 0,
|
|
"whitelist": 0,
|
|
"security_level": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"description": "JustWorks pairing (default): Pairing is automatic once the pairing is initiated.",
|
|
"config": {
|
|
"microbit-dal": {
|
|
"bluetooth": {
|
|
"open": null,
|
|
"pairing_mode": null,
|
|
"whitelist": null,
|
|
"security_level": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"description": "Passkey pairing: Pairing requires 6 digit key to pair.",
|
|
"config": {
|
|
"microbit-dal": {
|
|
"bluetooth": {
|
|
"open": 0,
|
|
"pairing_mode": 1,
|
|
"whitelist": 1,
|
|
"security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"installedVersion": "vzlhfd"
|
|
} |