jvde-github / AIS-catcher

AIS receiver for RTL SDR dongles, Airspy R2, Airspy Mini, Airspy HF+, HackRF, SDRplay and SoapySDR

Home Page:https://aiscatcher.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Program hangs on startup

bi3mw opened this issue · comments

Hello,
the program hangs after starting. I have a SDRplay RSPdx and am on Ubuntu 22.04 LTS. This is all I can see on the command line at startup:
......
Searching for device with SN 22400C7948.
Warning: sample rate 2304K upsampled to 3072K.

What version of the SDRplay driver are you running? I will have a try as well and we might have to add some more diagnostics.

Assume other programs are running fine with the SDRplay on that machine?

Can you also please run with -v and report the output?

I had a quick look and my conjecture is that the program did not crash. This is the standard output after which the AIS messages should appear if anything was received. You can see more regular updates with -v.
I suspect it is running but you might not receive anything yet unfortunately.

Can also add -N 8100 to the command line and visit localhost:8100 in the browser to confirm it runs.

Here the output with AIS-catcher -v :

(C) Copyright 2021-2023 jvde-github and other contributors
This is free software; see the source for copying conditions.There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Warning: sample rate 2304K upsampled to 3072K.
Device : RSPDX
Settings : rate 2304K format CF32 agc OFF lnastate 0 grdb 32
Model #0 -> (Src: 1, Grp: 1): [AIS engine v0.55] ps_ema ON afc_wide ON droop ON fp_ds OFF dsk OFF
[AIS engine v0.55 #0-0] received: 0 msgs, total: 0 msgs, rate: 0 msg/s
[AIS engine v0.55 #0-0] received: 0 msgs, total: 0 msgs, rate: 0 msg/s

.. ( last line repeats )

So everything seems to be ok, the call via localhost is also ok. Sorry for the hasty opening of this thread.

No worries, thanks for checking out the program.