Together we make EasyVFR

Meldingen
Alles wissen

Question @Ubi Sumus: version that redirects actual serial stream from FLARM

7 Berichten
2 Gebruikers
1 Reactions
302 Bekeken
Bernhard Daenzer
Berichten: 62
Beta tester
Topic starter
Estimable Member
Deelgenomen: 5 jaar geleden

@Ubi Sumus:

can't find any contact info for you directly, so i try via this forum 😉

For stability reasons, i want to go back to the wired / rs232 to USB adapter setup in the airplane (with EV4 running on a windows machine). The USB to Serial adapter is connected to a hardware FLARM. However, EV4 still does not support direct COM / serial access (or output), and it will probably take some more time until this arrives...

Based on your FSConny, it would be quite easy to come up with a version that retransmits a Com Port Serial stream to EV4 / localhost, instead of using the flightsim as source and faking the stream?! That could be quite a nice additional use case, running the tool locally on the same windows PC as EV4.

I'd be glad to support the development.

6 reacties
Berichten: 75
Beta tester
Estimable Member
Deelgenomen: 5 jaar geleden

Hello Bernhard,

EV4 accepts input from network UDP ports. That's what FSconny uses for fake devices. You need a serial to UDP converter software on your Windows PC. Such a piece of software is available for free from https://www.hw-group.com/software/hercules-setup-utility

BTW: my mail address is shown in FSconny's about box (INF button) 😉

Blue Skies and happy landings

Ubi Sumus

 

A friendly hello or regards is very much appreciated on this forum.

Beantwoorden
Bernhard Daenzer
Berichten: 62
Beta tester
Topic starter
Estimable Member
Deelgenomen: 5 jaar geleden

Hi @Ubi Sumus!

 

Awesome, thanks for pointing that piece of software out...

I will try to get that going... Just need to find the right config and then see if i can make it autostart (that seems to be a bit the weakness at first sight)...

Can you point me to the key config options? E.g. which UDP port to use for FLARM data?

Also, i have installed Hercules on a test laptop and am able to open the serial port but what comes thereafter? I fail to see any "routing" option to redirect the data?

Also, the other freeware app HW virtual serial port seems to work in the reverse manner of what i need...

Thanks a lot for your help!

 

bernie

Beantwoorden
Berichten: 75
Beta tester
Estimable Member
Deelgenomen: 5 jaar geleden

Hello Bernie,

EV4 looks for FLARM data on UDP port 4000.

Sorry, looks like they removed the redirection option, as far as I remember it was available in earlier versions. You will have to look for software that redirects the serial data to the UDP port.

As I have neither a PC with a serial port nor a FLARM device, I do not want to develop such a tool for a very rare use case.

Best regards

Ubi Sumus

Beantwoorden
Bernhard Daenzer
Berichten: 62
Beta tester
Topic starter
Estimable Member
Deelgenomen: 5 jaar geleden

Thank you very much, Ubi!

and thanks for the port info.

Found https://arundaleais.github.io/docs/ais/nmearouter.html which may fit the bill.

Will work on the issue in the coming days/weeks.

cu Bernie

Beantwoorden
Berichten: 75
Beta tester
Estimable Member
Deelgenomen: 5 jaar geleden

Thanks for your feedback Bernie, kindly let us know if that works

Blue skies Ubi

Beantwoorden
Bernhard Daenzer
Berichten: 62
Beta tester
Topic starter
Estimable Member
Deelgenomen: 5 jaar geleden

I just wanted to let you know that i've successfully gotten FLARM to work using the nmearouter piece of software and a common USB to serial adapter in the airplane.

In the meantime, also found the source code https://github.com/arundaleais/nmearouter

The piece of software is not (yet) perfect, one of the issues is that the Com ports are getting different names/numbers depending on which USB slot the adapter is plugged in.

NMEARouter however needs to be configured pretty strictly to one COM port and then won't work when one gets renamed.

It's really lacking an autodetect type part during startup.

Another aspect that could be improved is autostart and it lacks a tray / background mode.

 

Beantwoorden
Mijn winkelwagen
Je winkelwagen is leeg.

Het lijkt erop dat je nog geen keuze hebt gemaakt.