2016-06-14 06:30:07 -07:00
|
|
|
{
|
2016-10-10 16:21:50 -07:00
|
|
|
"name": "bluetooth",
|
2016-06-14 06:30:07 -07:00
|
|
|
"description": "Bluetooth services",
|
|
|
|
"files": [
|
|
|
|
"README.md",
|
|
|
|
"enums.d.ts",
|
|
|
|
"shims.d.ts",
|
2016-09-02 16:03:55 +01:00
|
|
|
"bluetooth.ts",
|
2017-01-06 06:03:33 -08:00
|
|
|
"bluetooth.cpp",
|
2017-02-14 07:39:09 -08:00
|
|
|
"_locales/de/bluetooth-jsdoc-strings.json",
|
2017-04-27 07:13:43 -07:00
|
|
|
"_locales/no/bluetooth-strings.json",
|
|
|
|
"_locales/nl/bluetooth-strings.json",
|
|
|
|
"_locales/fr/bluetooth-strings.json",
|
|
|
|
"_locales/nl/bluetooth-jsdoc-strings.json",
|
|
|
|
"_locales/fr/bluetooth-jsdoc-strings.json"
|
2016-06-14 06:30:07 -07:00
|
|
|
],
|
|
|
|
"public": true,
|
|
|
|
"dependencies": {
|
2016-10-10 16:21:50 -07:00
|
|
|
"core": "file:../core"
|
2016-06-14 06:30:07 -07:00
|
|
|
},
|
|
|
|
"yotta": {
|
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
2016-11-30 04:35:24 -08:00
|
|
|
"enabled": 1
|
|
|
|
}
|
|
|
|
}
|
2017-05-30 15:37:24 -07:00
|
|
|
},
|
2016-11-30 04:35:24 -08:00
|
|
|
"optionalConfig": {
|
|
|
|
"microbit-dal": {
|
2016-12-31 06:36:05 -08:00
|
|
|
"gatt_table_size": "0x700"
|
2017-05-30 15:37:24 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"userConfigs": [
|
|
|
|
{
|
2017-08-01 08:19:13 -07:00
|
|
|
"description": "No Pairing Required: Anyone can connect via Bluetooth.",
|
2017-05-30 15:37:24 -07:00
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"open": 1,
|
|
|
|
"pairing_mode": 0,
|
|
|
|
"whitelist": 0,
|
|
|
|
"security_level": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2017-08-01 08:21:22 -07:00
|
|
|
"description": "JustWorks pairing (default): Pairing is automatic once the pairing is initiated.",
|
2017-05-30 15:37:24 -07:00
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"open": null,
|
|
|
|
"pairing_mode": null,
|
|
|
|
"whitelist": null,
|
|
|
|
"security_level": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2017-08-01 08:21:22 -07:00
|
|
|
"description": "Passkey pairing: Pairing requires 6 digit key to pair.",
|
2017-05-30 15:37:24 -07:00
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"open": 0,
|
|
|
|
"pairing_mode": 1,
|
|
|
|
"whitelist": 1,
|
|
|
|
"security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2016-06-14 06:30:07 -07:00
|
|
|
},
|
2016-06-14 13:57:27 -07:00
|
|
|
"installedVersion": "vzlhfd"
|
2016-06-20 08:39:51 +01:00
|
|
|
}
|