This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TCP 20220 buffering?
#10
yes, it seems the problem is client connection trying to reconnect in a blocking way. I will look into it.

As for multiplex, it should do this. Already it relays nmea received from usb ports to tcp, however it limits the rate to 4 per second which may/may not be a problem. I am considering if a bunch of ais targets are received at once it would drop some and this could be bad. Perhaps this should be user adjustable, or the rate only limited for messages with $ rather than !?

The exception is RSA, MWV and APB, these are not repeated. RSA and MWV are output if received from serial or the motor controller as they are recalibrated. For example, if rudder angle is fed to pypilot over usb, the rudder angle calibration is applied, and the calibrated rudder angle is output on 20220, same with wind angle which has an offset applied.
Reply


Messages In This Thread
TCP 20220 buffering? - by Onno - 2021-09-01, 09:35 AM
RE: TCP 20220 buffering? - by ironman - 2021-09-01, 11:41 AM
RE: TCP 20220 buffering? - by Onno - 2021-09-01, 11:45 AM
RE: TCP 20220 buffering? - by ironman - 2021-09-01, 11:54 AM
RE: TCP 20220 buffering? - by Onno - 2021-09-01, 12:03 PM
RE: TCP 20220 buffering? - by seandepagnier - 2021-09-01, 01:06 PM
RE: TCP 20220 buffering? - by Onno - 2021-09-01, 03:31 PM
RE: TCP 20220 buffering? - by seandepagnier - 2021-09-01, 05:46 PM
RE: TCP 20220 buffering? - by Onno - 2021-09-02, 11:39 AM
RE: TCP 20220 buffering? - by seandepagnier - 2021-09-02, 12:59 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)