updated docs
This commit is contained in:
@ -29,9 +29,13 @@ bluetooth.advertiseUrl("https://pxt.microbit.org/", 7);
|
||||
### Example: Broadcast a secret code
|
||||
|
||||
```blocks
|
||||
bluetooth.advertiseUrl("https://pxt.io?secret=42")
|
||||
bluetooth.advertiseUrl("https://pxt.io?secret=42", 7);
|
||||
```
|
||||
|
||||
## See Also
|
||||
|
||||
[stop-advertising](/reference/bluetooth/stop-advertising)
|
||||
|
||||
```package
|
||||
bluetooth
|
||||
```
|
@ -18,9 +18,17 @@ Read more at https://lancaster-university.github.io/microbit-docs/ble/eddystone/
|
||||
## ~
|
||||
|
||||
```sig
|
||||
bluetooth.stop-advertising();
|
||||
bluetooth.stopAdvertising();
|
||||
```
|
||||
|
||||
## See Also
|
||||
|
||||
[advertise-url](/reference/bluetooth/advertise-url)
|
||||
|
||||
```blocks
|
||||
bluetooth.stopAdvertising();
|
||||
```
|
||||
|
||||
```package
|
||||
bluetooth
|
||||
```
|
Reference in New Issue
Block a user