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

Adding NMEA0183 Sentences, and some other questions #406

Open
amjpike opened this issue Jun 16, 2024 · 3 comments
Open

Adding NMEA0183 Sentences, and some other questions #406

amjpike opened this issue Jun 16, 2024 · 3 comments

Comments

@amjpike
Copy link

amjpike commented Jun 16, 2024

I have been working on a solution based on the ESP32, using your code. The solution receives a N2K Source and translates to NMEA0183 through a wired connection, and also transmits the NMEA0183 over Wifi. There are several things though that I have been trying to add,

  1. How to add support for the following sentences, RMB, VLW, VWR, GLL, HDM, MTW, I don't understand the routines enough to add them, so any additional documentation would be helpful.
  2. I want to have an 115K output and a 4,800 output. However when I enable the 4,800 the rapid update N2K messages are converted but it never updates the slower ones such as DPT, or if it does every few minutes
  3. My ultimate solution is to send NMEA0183, 4800 through one serial port, Activsense Protocol through a USB connection and then a NMEA0183 Wifi Server for Ipads, etc. so if anyone has done this please let me know.
@ttlappalainen
Copy link
Owner

@amjpike
Copy link
Author

amjpike commented Jun 20, 2024

I went through that, but I cannot see where I can add support for those sentences.

@ttlappalainen
Copy link
Owner

Have you checked https://github.com/ttlappalainen/NMEA0183? It already has support for at least GLL, HDM. You can use those as example and add own routines to your own code.

The problem with your 4800 may be on data sending. You should never use blocking data reading or writing or actually any blocking methods in you main loop. With slow serial you easily reach blocking state, when your serial buffer gets full.

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

2 participants