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",
|
2016-11-14 18:44:46 +01:00
|
|
|
"bluetooth.cpp",
|
|
|
|
"_locales/de/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-06-20 09:39:51 +02:00
|
|
|
"enabled": 1,
|
|
|
|
"pairing_mode": 1,
|
|
|
|
"private_addressing": 0,
|
|
|
|
"open": 0,
|
|
|
|
"whitelist": 1,
|
|
|
|
"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,
|
2017-09-19 23:54:46 +02:00
|
|
|
"event_service": 0,
|
|
|
|
"device_info_service": 1,
|
|
|
|
"security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM",
|
|
|
|
"eddystone_url": 1,
|
|
|
|
"eddystone_uid": 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"optionalConfig": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"private_addressing": 0,
|
|
|
|
"advertising_timeout": 0,
|
|
|
|
"tx_power": 6,
|
|
|
|
"dfu_service": 1,
|
2016-06-20 09:39:51 +02:00
|
|
|
"event_service": 1,
|
2017-09-19 23:54:46 +02:00
|
|
|
"device_info_service": 1,
|
|
|
|
"eddystone_url": 1,
|
|
|
|
"eddystone_uid": 1,
|
|
|
|
"open": 0,
|
|
|
|
"pairing_mode": 1,
|
|
|
|
"whitelist": 1,
|
|
|
|
"security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM"
|
2016-06-20 09:39:51 +02:00
|
|
|
},
|
|
|
|
"gatt_table_size": "0x700"
|
2016-06-14 15:30:07 +02:00
|
|
|
}
|
2017-09-19 23:54:46 +02:00
|
|
|
},
|
|
|
|
"userConfigs": [
|
|
|
|
{
|
|
|
|
"description": "Unsecure: Anyone can connect via Bluetooth.",
|
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"open": 1,
|
|
|
|
"pairing_mode": 0,
|
|
|
|
"whitelist": 0,
|
|
|
|
"security_level": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "JustWorks pairing (default): Button press to pair.",
|
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"open": null,
|
|
|
|
"pairing_mode": null,
|
|
|
|
"whitelist": null,
|
|
|
|
"security_level": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Passkey pairing: Button press and 6 digit key to pair.",
|
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"open": 0,
|
|
|
|
"pairing_mode": 1,
|
|
|
|
"whitelist": 1,
|
|
|
|
"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
|
|
|
}
|