Skip to content

Commit 2a2be17

Browse files
committed
examples: lora: Add example output
Signed-off-by: Alistair Francis <[email protected]>
1 parent 333f134 commit 2a2be17

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

examples/lora/sensor-receive/README.md

+32
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,35 @@ Sensor Receive
22
==============
33

44
This example builds an application to receiver sensor data.
5+
6+
## Example Output
7+
8+
The output should look something like this.
9+
10+
Note that if the receive example is started before the transmit you will get
11+
-6 errors (RX_TIMEOUT) like below, as there is nothing to receive.
12+
13+
```
14+
Apollo3 chip revision: B
15+
Initialization complete. Entering main loop
16+
[SX1261] Initialising Radio ...
17+
success!
18+
[SX1261] Receiving...
19+
failed, code -6
20+
failed, code -6
21+
failed, code -6
22+
failed, code -6
23+
failed, code -6
24+
failed, code -6
25+
failed, code -6
26+
failed, code -6
27+
failed, code -6
28+
failed, code -6
29+
failed, code -6
30+
failed, code -6
31+
success!: Temp: 24047, Hum: 5966
32+
success!: Temp: 24047, Hum: 5966
33+
success!: Temp: 24047, Hum: 5966
34+
success!: Temp: 24047, Hum: 5966
35+
success!: Temp: 24047, Hum: 5966
36+
```

examples/lora/sensor-transmit/README.md

+15
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,18 @@ Sensor Transmitter
22
==================
33

44
This example builds an application to transmit sensor data.
5+
6+
## Example Output
7+
8+
The output should look something like this
9+
10+
```
11+
Apollo3 chip revision: B
12+
Initialization complete. Entering main loop
13+
[SX1261] Initialising Radio ...
14+
success!
15+
[SX1261] Transmitting 'Temp: 24047, Hum: 5966'
16+
success!
17+
[SX1261] Transmitting 'Temp: 24047, Hum: 5966'
18+
success!
19+
```

0 commit comments

Comments
 (0)