Skip to content

Commit 711379b

Browse files
committed
docs
1 parent 2bb3083 commit 711379b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

libs/bluetooth/jswrap_bluetooth.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,11 +1274,11 @@ long when converted to a String.
12741274
12751275
On NRF52833/NRF52840 based devices you can specify `phy` (the physical connection type used) as:
12761276
1277-
* `1mbps` - the default Bluetooth phy (compatible with everything)
1278-
* `2mbps` - a faster Bluetooth connection
1279-
* `coded` - a slower connection with error correction (much longer range)
1280-
* `coded,1mbps` - both long range and normal, but advertisements sent on the `coded` phy
1281-
* `1mbps,coded` - both long range and normal, but advertisements sent on the `1mbps` phy - this allows for long range connections while also being compatible with everything
1277+
* `phy:"1mbps""` - the default Bluetooth phy (compatible with everything)
1278+
* `phy:"2mbps"` - a faster Bluetooth connection
1279+
* `phy:"coded"` - a slower connection with error correction (much longer range)
1280+
* `phy:"coded,1mbps"` - both long range and normal, but advertisements sent on the `coded` phy
1281+
* `phy:"1mbps,coded"` - both long range and normal, but advertisements sent on the `1mbps` phy - this allows for long range connections while also being compatible with everything
12821282
12831283
If you wish to have the best of both world (long range advertising and compatiblity) then
12841284
Nordic suggest changing advertising between `coded,1mbps` and `1mbps,coded` every 500ms
@@ -2518,8 +2518,8 @@ void jswrap_ble_findDevices(JsVar *callback, JsVar *options) {
25182518
]
25192519
}
25202520
2521-
Start/stop listening for RSSI values on the currently active connection (where
2522-
This device is a peripheral and is being connected to by a 'central' device)
2521+
Start/stop listening for RSSI values on the currently active peripheral connection (eg when
2522+
this device is being connected to by a 'central' device)
25232523
25242524
```
25252525
// Start scanning

0 commit comments

Comments
 (0)