Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: port mode change for NX2 server #5

Open
lkarsten opened this issue Mar 12, 2017 · 0 comments
Open

Feature: port mode change for NX2 server #5

lkarsten opened this issue Mar 12, 2017 · 0 comments

Comments

@lkarsten
Copy link
Owner

The NX2 server starts up with its serial interface in NMEA0183 mode at 4800 baud.

By sending a special NMEA0183 message ( it can be configured to run at 19200 baud.

Another NMEA0183 message will reconfigure the port from NMEA0183 to FDX.

Status:

  • Support for mode change into FDX was added in 73df855 with "--send-psilfdx", but is so far untested on real hardware. Depending on if the NX2 server is reading the data, multiple restarts of fdxread with this option may lead to blocking writes, I don't know. Serial ports are finicky things.

  • Changing the data rate isn't added yet. I'm not sure if we need it. I can think of a whole lot of edge cases when this speed change is happening, especially if we are changing mode to FDX almost at the same time. With some luck this complexity can be avoided. (Q: does mode change to FDX also change the port speed? Will --send-psilfdx need to close/reopen the port to get going again?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant