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",
|
2016-06-14 06:30:07 -07:00
|
|
|
"bluetooth.cpp"
|
|
|
|
],
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"optionalConfig": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
2016-06-20 08:39:51 +01:00
|
|
|
"private_addressing": 0,
|
|
|
|
"whitelist": 1,
|
|
|
|
"advertising_timeout": 0,
|
2016-06-23 11:38:23 +01:00
|
|
|
"tx_power": 6,
|
2016-06-20 08:39:51 +01:00
|
|
|
"dfu_service": 1,
|
|
|
|
"event_service": 1,
|
2016-11-30 04:06:15 -08:00
|
|
|
"device_info_service": 1,
|
|
|
|
"eddystone_url": 1,
|
2016-11-30 04:35:24 -08:00
|
|
|
"eddystone_uid": 0,
|
2016-11-30 04:30:53 -08:00
|
|
|
"pairing_mode": 1,
|
|
|
|
"open": 0,
|
|
|
|
"security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM"
|
|
|
|
}
|
2016-11-30 04:35:24 -08:00
|
|
|
},
|
|
|
|
"gatt_table_size": "0x700"
|
2016-11-30 10:35:42 -08:00
|
|
|
},
|
|
|
|
"userConfigs": [
|
|
|
|
{
|
|
|
|
"description": "No pairing: Anyone can connect via Bluetooth.",
|
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"open": 1,
|
|
|
|
"pairing_mode": null,
|
|
|
|
"security_level": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description": "Passkey pairing: Button press and 6 digit key to pair via Bluetooth.",
|
|
|
|
"config": {
|
|
|
|
"microbit-dal": {
|
|
|
|
"bluetooth": {
|
|
|
|
"open": 0,
|
|
|
|
"pairing_mode": 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
|
|
|
}
|