2016-06-14 15:30:07 +02:00
|
|
|
{
|
2016-10-11 01:21:50 +02:00
|
|
|
"name": "bluetooth",
|
2016-06-14 15:30:07 +02:00
|
|
|
"description": "Bluetooth services",
|
|
|
|
"files": [
|
|
|
|
"README.md",
|
|
|
|
"enums.d.ts",
|
|
|
|
"shims.d.ts",
|
2016-09-02 17:03:55 +02:00
|
|
|
"bluetooth.ts",
|
2017-01-06 15:03:33 +01:00
|
|
|
"bluetooth.cpp",
|
2017-02-14 16:39:09 +01:00
|
|
|
"_locales/de/bluetooth-jsdoc-strings.json",
|
2017-04-27 16:13:43 +02: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 15:30:07 +02:00
|
|
|
],
|
|
|
|
"public": true,
|
|
|
|
"dependencies": {
|
2016-10-11 01:21:50 +02:00
|
|
|
"core": "file:../core"
|
2016-06-14 15:30:07 +02:00
|
|
|
},
|
|
|
|
"yotta": {
|
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
2016-11-30 13:35:24 +01:00
|
|
|
"enabled": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"optionalConfig": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
2016-06-20 09:39:51 +02:00
|
|
|
"private_addressing": 0,
|
|
|
|
"advertising_timeout": 0,
|
2016-06-23 12:38:23 +02:00
|
|
|
"tx_power": 6,
|
2016-06-20 09:39:51 +02:00
|
|
|
"dfu_service": 1,
|
|
|
|
"event_service": 1,
|
2016-11-30 13:06:15 +01:00
|
|
|
"device_info_service": 1,
|
|
|
|
"eddystone_url": 1,
|
2016-12-23 17:58:38 +01:00
|
|
|
"eddystone_uid": 1,
|
2016-11-30 13:30:53 +01:00
|
|
|
"open": 0,
|
2016-12-07 17:07:08 +01:00
|
|
|
"pairing_mode": 1,
|
|
|
|
"whitelist": 1,
|
2016-12-02 18:45:59 +01:00
|
|
|
"security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM"
|
2016-12-31 15:36:05 +01:00
|
|
|
},
|
|
|
|
"gatt_table_size": "0x700"
|
|
|
|
}
|
2016-11-30 19:35:42 +01:00
|
|
|
},
|
|
|
|
"userConfigs": [
|
|
|
|
{
|
2016-12-06 00:02:39 +01:00
|
|
|
"description": "Unsecure: Anyone can connect via Bluetooth.",
|
2016-11-30 19:35:42 +01:00
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"open": 1,
|
2017-01-06 15:03:33 +01:00
|
|
|
"pairing_mode": 0,
|
2016-12-07 17:07:08 +01:00
|
|
|
"whitelist": 0,
|
|
|
|
"security_level": null
|
2016-11-30 19:35:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2016-12-02 18:45:59 +01:00
|
|
|
{
|
2016-12-07 17:07:08 +01:00
|
|
|
"description": "JustWorks pairing (default): Button press to pair.",
|
2016-12-02 18:45:59 +01:00
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
2016-12-05 22:02:11 +01:00
|
|
|
"open": null,
|
|
|
|
"pairing_mode": null,
|
2016-12-06 00:02:39 +01:00
|
|
|
"whitelist": null,
|
2016-12-05 22:02:11 +01:00
|
|
|
"security_level": null
|
2016-12-02 18:45:59 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2016-11-30 19:35:42 +01:00
|
|
|
{
|
2016-12-07 17:07:08 +01:00
|
|
|
"description": "Passkey pairing: Button press and 6 digit key to pair.",
|
2016-11-30 19:35:42 +01:00
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"open": 0,
|
|
|
|
"pairing_mode": 1,
|
2016-12-06 00:02:39 +01:00
|
|
|
"whitelist": 1,
|
2016-11-30 19:35:42 +01:00
|
|
|
"security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2016-06-14 15:30:07 +02:00
|
|
|
},
|
2016-06-14 22:57:27 +02:00
|
|
|
"installedVersion": "vzlhfd"
|
2016-06-20 09:39:51 +02:00
|
|
|
}
|