forked from keenerd/rtl-sdr-misc
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from v15n/fix-decimation-filter
fixed shifting of filter history in fifth_order()
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi guys, I use rtl ais of raspberry, with the -T parameters more after 40 minutes the messages are no longer transmitted by the network having to restart the rtl_ais application.
Can someone help me?
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi enetsec, If you try describing the problem a bit more precise. I'll try to help. Fx. try to use the app with -t 30 or -t 8 end see if the app stops sooner/later.
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the same problem as enetsec.
If I leave rtl_ais running for more than a week no messages seem to be captured and send - in my case to Aisdispatcher. As a remedy I a wrapper scripts using "timeout" that restart rtl-ais every week.
I am running in UDP mode with aisdispatcher running on same raspberrypi. I will try the above suggestions.
pi 835 834 21 Apr20 ? 03:57:31 /home/pi/rtl-ais/rtl_ais -R -h 192.168.0.40 -P 5000 -n -g 60
pi 1288 1 0 Apr20 ? 00:00:19 /home/pi/ais_dispatcher/aisdispatcher -u -h 0.0.0.0 -p 5000 -H {reciver IP's}.
Best Regards
Nicolai
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
I was wondering if there is any design documentation for the filters that were used? I've modeled them and the responses looks reasonable but I'd actually like to experiment with some alternatives.
It may all be a mute point because I'm also trying to compile the code under MinGW and running into compilation issues. It's a recent install of MinGW and the GCC version is 6xx, as an example a specific issue is related to "bzero" used in tcp_listener which has been deprecated. FYI, I was able to successfully compile rtl_sdr. Any advice?
JT
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi David,
On the filters:
I saw the same filter structure used in the "rtl_fm" project which, I believe, pre-dates the "rtl_ais" project but I didn't look further for the source.
Anyway, I used a trail version of a program called ScopeFIR and imported the coefficients from "rtl_ais.c" to plot the responses. The 6-tap, FIR, filter provides low pass filtering and by changing the sampling rates to match the decimation you can see the effects on the frequency response. After the last stage there is about 6dB roll-off in the channel. The 9 section, CIC, filter is included to boost the response back up, about 4dB in band.
I think I may need to set up an older version of the environment. I had re-defined bzero in the offending file (tcp_listener.c) but different errors popped up. There were also some issues with "winsock.h" and "winsock2.h" which I dealt with by changing the order of the include files.
JT
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi klapligehesten, I tried to use the -t command but the application does not accept even being documented in help.
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi dgiardini, I made the updates as indicated, but there was no result.
The problem persists the same with -t 10 or 120.
I do not know what happens
b93f9f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.