mik3y / airdash

A standalone, alternative ADS-B (readsb) web frontend
MIT License
42 stars 2 forks source link

Improvements to Readme #12

Closed yanniedog closed 3 years ago

yanniedog commented 3 years ago

# Read AIS data from the local serial port DATA_SOURCES=ais-serial:///dev/ttyS0?baud=57600

There should only be // not ///

Also, is it possible to somehow automatically detect the baud rate the serial port is set to?

mik3y commented 3 years ago

There should only be // not ///

While a little ugly, the three slashes are correct. You can think of it as two parts: ais-serial://, similar to http://; and /dev/ttyS0 as the second part, similar to www.google.com.

It is a little unusual looking though, I'll add a call out.

Also, is it possible to somehow automatically detect the baud rate the serial port is set to?

Good question! If you leave off the ?baud=.. parameter, it should just leave the baud rate alone. I'll call this out as well.

yanniedog commented 3 years ago

Thanks mik3y. I'm sure you're totally aware of the process, but FYI I set the baud rate on this port via the command $ stty –F /dev/ttyS0 38400 during the initial setup of this AIS receiver

yanniedog commented 3 years ago

The readme states AIS (aircraft) in two locations. Should be AIS (boats)

mik3y commented 3 years ago

Thanks! Made these updates in f21bd0b.

yanniedog commented 3 years ago

Thanks mik3y