Skip to content

Conversation

@CazYokoyama
Copy link
Contributor

The default action of SIGPIPE is termination. However, readTX23 does not
terminate. I don't know why.
It takes some time such as 10 sec because init takes care readTX23 die.
This is required when readTX23 is invoked by rtl_433_to_wu because rtl_433_to_wu sends SIGPIPE to readTX23 when it stops.

CazYokoyama and others added 14 commits November 28, 2020 10:14
readTX23.c:62:8: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
   if ((strcmp(argv[i],"--debug") == 0) || (strcmp(argv[i],"-d") == 0))
        ^~~~~~

Signed-off-by: Caz Yokoyama <caz@caztech.com>
Eliminate a warning on "Raspbian GNU/Linux 10 (buster)" and others.
# download http://www.airspayce.com/mikem/bcm2835/bcm2835-1.68.tar.gz
tar xzf bcm2835-1.68.tar.gz
cd bcm2835-1.68/
./configure
make
sudo make check
sudo make install

The one in this repo. does not work.

Signed-off-by: Caz Yokoyama <caz@caztech.com>
…+ and

Zero with the latest bcm2835-1.68. This is required on my 2 TX23U.
I don't know its root cause.

Signed-off-by: Caz Yokoyama <caz@caztech.com>
Signed-off-by: Caz Yokoyama <caz@caztech.com>
Signed-off-by: Caz Yokoyama <caz@caztech.com>
https://github.com/nordoff/rtl_433_to_wu). Here is an example of json
format output.

{"time" : "2020-12-03 14:15:07", "model" : "TX23U", "wind_avg_mi_h" : 0.000000, "wind_dir_deg" : 337.5, "mic" : "CRC"}

rtl_433_to_wu reads json format line and upload the data to wunderground.com.

Signed-off-by: Caz Yokoyama <caz@caztech.com>
Signed-off-by: Caz Yokoyama <caz@caztech.com>
Fix the bug where no data is read on json format.
The default action of SIGPIPE is termination. However, readTX23 does not
terminate. I don't know why.
It takes some time such as 10 sec because init takes care readTX23 die.

Signed-off-by: Caz Yokoyama <caz@caztech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants