You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/components/ble_nus.mdx
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,12 @@ ble_nus:
14
14
15
15
## Configuration variables
16
16
17
-
- **type** (*Optional*, string): Mode of operation. Must be set to ``logs`` to stream ESPHome logs over the BLE UART.
17
+
- **type** (*Optional*, string): Mode of operation. One of `logs` or `uart`.
18
+
`logs`streams ESPHome logs over the BLE UART. `uart` can be used as uart over BLE.
19
+
- **rx_buffer_size** (*Optional*, int): Size of the receive buffer in bytes. Range: 160-8192. Defaults to `512`.
20
+
Valid only for mode `uart`.
21
+
- **tx_buffer_size** (*Optional*, int): Size of the transmit buffer in bytes. Range: 160-8192. Defaults to `512`.
22
+
- **debug** (*Optional*, mapping): Options for debugging communication on the UART hub, see [Debugging](#uart-debugging).
18
23
19
24
## Usage
20
25
@@ -30,6 +35,9 @@ Or connect to a specific BLE address:
30
35
esphome logs d.yaml --device 00:11:22:33:44:55
31
36
```
32
37
38
+
`uart`can be used with python BLE Serial
39
+
33
40
## See Also
34
41
35
-
- Nordic UART Service [https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/bluetooth/services/nus.html](https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/bluetooth/services/nus.html)
0 commit comments