@ -2,12 +2,12 @@
|
||||
|
||||
Register code to run when the signal strength of the paired device changes.
|
||||
|
||||
### ~hint
|
||||
## ~hint
|
||||

|
||||
|
||||
For another device like a smartphone to use any of the Bluetooth "services" which the @boardname@ has, it must first be [paired with the @boardname@](/reference/bluetooth/bluetooth-pairing). Once paired, the other device may connect to the @boardname@ and exchange data relating to many of the @boardname@'s features.
|
||||
|
||||
### ~
|
||||
## ~
|
||||
|
||||
|
||||
|
||||
@ -15,11 +15,11 @@ For another device like a smartphone to use any of the Bluetooth "services" whic
|
||||
devices.onSignalStrengthChanged(() => {})
|
||||
```
|
||||
|
||||
### Parameters
|
||||
## Parameters
|
||||
|
||||
* ``body``: code to run when the signal strength changes.
|
||||
|
||||
### Examples
|
||||
## Examples
|
||||
|
||||
Display the signal strength on screen:
|
||||
|
||||
@ -29,7 +29,7 @@ devices.onSignalStrengthChanged(() => {
|
||||
})
|
||||
```
|
||||
|
||||
### See Also
|
||||
## See Also
|
||||
|
||||
[tell remote control to](/reference/devices/tell-remote-control-to), [raise alert to](/reference/devices/raise-alert-to), [signal strength](/reference/devices/signal-strength)
|
||||
|
||||
|
Reference in New Issue
Block a user