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

How do I store the Serial Port and Baud Rate in the config file?

yanniedog opened this issue · comments

I'm using a Comar SLR350Ni.

I need to use serial port /dev/ttyS0 and baud rate 38400.

I can't figure out how to set these parameters in the config file

Am I forced to set all the config via the command line, rather than via a config file?

Could you please explain this, or make the readme clearer regarding this?

I realise it's a complex project, but it would help if the documentation was organised a bit better.
Before drifting into complex, advanced features, the documentation would benefit from ensuring the basic stuff is really robust and clear, and ensuring it at least allows everyone to get their basic setup working properly - ie, a proper set of clear, simple instructions for people whose AIS receiver uses a serial port, would be greatly appreciated.

Thanks for your help

To select the device for decoding use input set to serialport and define the two allowed settings in the section serialport. So your config file should include something like below. I also added it in the long example config file in the documentation. Not ideal but I hope it gives people a clue. Let me know if that works for you.

Regards, Jasper

    "input": "serialport",
    "serialport": {
        "baudrate": 38400,
        "port": "/dev/tty0"
    }

I will close this item unless there are specific issues we can help with or where you get stuck?

Happy to help, Jasper