0x74-0x62 / flightbox

FlightBox
2 stars 1 forks source link

What is the output port? #2

Open jbrepogmailcom opened 6 years ago

jbrepogmailcom commented 6 years ago

Hello!

If I have SBS1 data streamed at localhost:30003, is it picked up correctly or does the IP address and port need to be configured somewhere? Same is for FLARM outgoing stream - how do I find what port is the stream at?

Thank you, Jan

0x74-0x62 commented 6 years ago

Hi Jan,

If I have SBS1 data streamed at localhost:30003, is it picked up correctly or does the IP address and port need to be configured somewhere?

By default, the SBS1 data is picked up from host 127.0.0.1, port 30003. You can change this in this line: https://github.com/0x74-0x62/flightbox/blob/3a0be09eb7cb5a06e1457799e194db7b62877dc8/flightbox.py#L137

Same is for FLARM outgoing stream - how do I find what port is the stream at?

The FLARM NMEA data is served at port 2000, the default AirConnect port. If needed, this can be changed in this line: https://github.com/0x74-0x62/flightbox/blob/3a0be09eb7cb5a06e1457799e194db7b62877dc8/output/output_network_airconnect.py#L144

Regards, Thorsten