Compare commits

...

5 Commits

Author SHA1 Message Date
47ef096b0f 0.6.23 2016-11-30 11:05:33 -08:00
86c5c27b12 Bump pxt-core to 0.5.85 2016-11-30 11:05:31 -08:00
520c9217a5 Merge pull request #313 from Microsoft/packageconfigs
support for specifying different pairings
2016-11-30 10:54:14 -08:00
4a34f2b932 support for specifying different pairings 2016-11-30 10:35:42 -08:00
034897b0a6 fixing docs issues 2016-11-30 05:00:34 -08:00
5 changed files with 31 additions and 33 deletions

View File

@ -1,28 +0,0 @@
# Eddystone
Support for Eddystone beacons.
```cards
eddystone.advertiseUrl("https://pxt.io/", 6);
eddystone.stopAdvertising();
```
### Advanced
Bluetooth beacons are used to indicate proximity to a place or object of interest.
Beacons use Bluetooth advertising to broadcast a small amount of data, which can be received and acted upon by anyone in range
with a suitable device and software, typically a smartphone and application.
There are various beacon message formats, which define the way Bluetooth advertising packets are used as containers for beacon data.
iBeacon is Apple's beacon message format. Eddystone comes from Google.
More information at https://lancaster-university.github.io/microbit-docs/ble/eddystone/
### See Also
[eddystone.advertiseUrl](/reference/eddystone/advertise-url),
[eddystone.stopAdvertising](/reference/eddystone/stop-advertising),
```package
eddystone
```

View File

@ -28,7 +28,7 @@ music.playTone(freq, 1000)
### Using other pins
Use [analogSetPitchPin](/pins/analog-set-pitch-pin) to change that pin used to generate music.
Use [analogSetPitchPin](/reference/pins/analog-set-pitch-pin) to change that pin used to generate music.
```blocks
pins.analogSetPitchPin(AnalogPin.P1);

View File

@ -34,7 +34,7 @@ basic.forever(() => {
### Using other pins
Use [analogSetPitchPin](/pins/analog-set-pitch-pin) to change that pin used to generate music.
Use [analogSetPitchPin](/reference/pins/analog-set-pitch-pin) to change that pin used to generate music.
```blocks
pins.analogSetPitchPin(AnalogPin.P1);

View File

@ -38,7 +38,33 @@
}
},
"gatt_table_size": "0x700"
}
},
"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"
}
}
}
}
]
},
"installedVersion": "vzlhfd"
}

View File

@ -1,6 +1,6 @@
{
"name": "pxt-microbit",
"version": "0.6.22",
"version": "0.6.23",
"description": "micro:bit target for PXT",
"keywords": [
"JavaScript",
@ -34,6 +34,6 @@
"semantic-ui-less": "^2.2.4"
},
"dependencies": {
"pxt-core": "0.5.84"
"pxt-core": "0.5.85"
}
}