pxt-calliope/libs/bluetooth/pxt.json

96 lines
3.0 KiB
JSON
Raw Normal View History

2016-06-14 15:30:07 +02:00
{
"name": "bluetooth",
2016-06-14 15:30:07 +02:00
"description": "Bluetooth services",
"files": [
"README.md",
"enums.d.ts",
"shims.d.ts",
"bluetooth.ts",
2016-06-14 15:30:07 +02:00
"bluetooth.cpp"
],
"public": true,
"dependencies": {
"core": "file:../core"
2016-06-14 15:30:07 +02:00
},
"yotta": {
"config": {
"microbit-dal": {
"bluetooth": {
"enabled": 1
}
}
},
"optionalConfig": {
"microbit-dal": {
"bluetooth": {
"private_addressing": 0,
"whitelist": 1,
"advertising_timeout": 0,
"tx_power": 6,
"dfu_service": 1,
"event_service": 1,
"device_info_service": 1,
"eddystone_url": 1,
"eddystone_uid": 0,
"pairing_mode": 1,
"open": 0,
2016-12-02 18:45:59 +01:00
"security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM"
}
},
"gatt_table_size": "0x700"
},
"userConfigs": [
{
2016-12-06 00:02:39 +01:00
"description": "Unsecure: Anyone can connect via Bluetooth.",
"config": {
"microbit-dal": {
"bluetooth": {
"open": 1,
2016-12-05 22:02:11 +01:00
"pairing_mode": 0,
2016-12-06 00:33:40 +01:00
"whitelist": 0
}
}
}
},
2016-12-02 18:45:59 +01:00
{
"description": "JustWorks pairing (default): Button press to pair via Bluetooth.",
"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
}
}
}
},
{
"description": "Passkey pairing: Button press and 6 digit key to pair via Bluetooth.",
"config": {
"microbit-dal": {
"bluetooth": {
"open": 0,
"pairing_mode": 1,
2016-12-06 00:02:39 +01:00
"whitelist": 1,
"security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM"
}
}
}
2016-12-06 00:02:39 +01:00
},
{
2016-12-06 00:33:40 +01:00
"description": "Disable Event, Device Info and Device Flashing services.",
2016-12-06 00:02:39 +01:00
"config": {
"microbit-dal": {
"bluetooth": {
"dfu_service": 0,
"event_service": 0,
2016-12-06 00:33:40 +01:00
"device_info_service": 0
2016-12-06 00:02:39 +01:00
}
}
}
}
]
2016-06-14 15:30:07 +02:00
},
2016-06-14 22:57:27 +02:00
"installedVersion": "vzlhfd"
}