Skip to content

Commit 05b0546

Browse files
add diagram blocks
1 parent 4bebdf2 commit 05b0546

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/api/connectivity/bluetooth/Optimising_for_performance.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ data is being sent. It is important to understand when radio is active.
1818
The most intuitive power consumption rate to understand is when using connections. Each device will take turns sending
1919
and receiving at set interval.
2020

21-
21+
```
2222
CENTRAL
2323
┌────┐ ┌────┐ ┌────┐ ┌────┐ ┌────┐ ┌────┐ ┌────┐ ┌────┐
2424
│send│ │recv│ │send│ │recv│ │send│ │recv│ │send│ │recv│
@@ -35,7 +35,7 @@ and receiving at set interval.
3535
3636
▲ ▲ ▲
3737
connection event connection event connection event
38-
38+
```
3939

4040
To maintain a connection, regardless if there is data transfer to be transferred, the central needs to transmit and
4141
receive once every connection interval.
@@ -73,7 +73,7 @@ Power draw during advertising affected by:
7373
- whether the type is connectable or scannable - it means the advertiser needs to listen on the radio after each
7474
advertisement for potential connection of scan requests.
7575

76-
76+
```
7777
PERIPHERAL
7878
┌────┐ advertising interval ┌────┐
7979
channel 37 │adv │◄───────────────────────────────────────────►│adv │
@@ -89,7 +89,7 @@ Power draw during advertising affected by:
8989
channel │extended advertising│
9090
(indicated in regular └────────────────────┘
9191
advertising payload)
92-
92+
```
9393

9494
Scanning power draw is proportional to time spent scanning. Additional power will be used if you run active scanning
9595
which will send a scan request and listen for the reply.

0 commit comments

Comments
 (0)