Skip to content

Commit 7a5b7b3

Browse files
Revert "Pipe example for practical linux usage"
1 parent cda2f49 commit 7a5b7b3

File tree

3 files changed

+2
-97
lines changed

3 files changed

+2
-97
lines changed

Makefile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
all: receive_implicit receive_explicit transmit_implicit transmit_explicit ping pong pipe
1+
all: receive_implicit receive_explicit transmit_implicit transmit_explicit ping pong
22

33
LoRa.o: LoRa.c
44
gcc -c LoRa.c -o LoRa.o -lpigpio -lrt -pthread -lm
@@ -26,13 +26,7 @@ ping: LoRa.o ping.o
2626

2727
pong: LoRa.o pong.o
2828
gcc -o pong pong.o LoRa.o -lpigpio -lrt -pthread -lm
29-
30-
pipe.o: pipe.c
31-
gcc -c pipe.c -o pipe.o -lpigpio -lrt -pthread -lm
32-
33-
pipe: LoRa.o pipe.o
34-
gcc -o pipe pipe.o LoRa.o -lpigpio -lrt -pthread -lm
35-
29+
3630
transmit_explicit: LoRa.o tx_explicit_example.o
3731
gcc -o transmit_explicit tx_explicit_example.o LoRa.o -lpigpio -lrt -pthread -lm
3832

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,4 @@
8181
<p>Now you can start sending data from Rx callback, or vice versa, or any other operation with radio module.</p>
8282
<p>New examples "ping.c" and "pong.c" to explain new features. Make, then execute on different devices first "pong" then "ping".</p>
8383

84-
<h3><strong>10.04.2020 update</strong></h3>
85-
86-
<p>Added pipe. Will transmit standard input, otherwise listens and prints received data to stdout. Transmission info is sent to stderr. Best used with fifo files.</p>
87-
<p>Run './pipe | bash -x' on receiver and 'echo "uptime" | ./pipe' on sender. </p>
88-
<p>You can use mkfifo and tail: 'mkfifo test && tail -f test | ./pipe', then use 'echo "uptime" > test'. </p>
89-
90-
9184
<strong>Supported by <a href="http://zaoitt.ru/">ITT ltd</a>&nbsp;</strong>

pipe.c

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)