UDP in/out connection bug #3864
Replies: 20 comments 13 replies
-
"It's not a bug it's a feature" The radio button was implemented to not allow the risk for a endless feedback. N0183 is a obviously a abbreviation for NMEA 0183. Like N2000 is for NMEA 2000 or N2k. Lack of space and meaning the may be clear in this context. |
Beta Was this translation helpful? Give feedback.
-
No bug to be found here, but perhaps some misunderstandings. Converting to discussion |
Beta Was this translation helpful? Give feedback.
-
How is not a bug when I cannot setup the NMEA string output in the same device that there are the inputs, how would be controlled e.g. the autopilot, or send information to another devices?? Why I cannot have in the same connection for input/output like in previous versions of OCPN and already setup in one of my computer in previous version of OCPN. |
Beta Was this translation helpful? Give feedback.
-
You might consider to use another connection for output, using UDP or TCP. |
Beta Was this translation helpful? Give feedback.
-
My multiplexer (Shipmodul MiniPlex-3E N2K + 0186) has the option of making either TCP either UDP. the connection via UDP is done correctly with the autopilot. 5.8.4 allows the bidirectional connection on UDP either TCP, and previous versions of 5.9.0 too but since some versions ago it doesn't. why I'm not using TCP and using UDP instead, as far as I know TCP only accepts one device connected, when in the boat just in case I could connect at least two at the same time if needed, the computer on board and the tablet. at home I have no problem of connection being unidireccional because I have no data to send but I need the UDP connection because I have as test at least three computers using the same data stream, so, UDP connection is not a problem being for input only. but on board I do need because of the afore mentioned possibility of two computers at the same time. also, the multiplexer has data filtering itself to avoid redundant connections and data priority too. I'm trying not using then simultaneously but for testing purposes of data input, connection quality, etc. I do. just for clearing the data stream: |
Beta Was this translation helpful? Give feedback.
-
If I understand what you tell me, I have to do one connection for input and another one for output, this is not possible with the multiplexer because they uses to have one network connection active at a time, I mean if I use the UDP in one port I cannot use another connection and another port in the multiplexer. and another question, maybe I could sacrifice the multidevice connection (UDP) and doing a TCP/IP connection but would this be bidirectional or unidirectional? before the UDP bidirectional connection was working in my computers. |
Beta Was this translation helpful? Give feedback.
-
I don't think this is a bug. Why not make two UDP connections, one in and one out. |
Beta Was this translation helpful? Give feedback.
-
Done this afternoon the test on board. I had in my computer on board the UDP connection for in/out and it was working. but at the time I setup as only input, I couldn´t recover as input/output, but this is not the matter. created another output UDP connection on the same port for controlling the autopilot filtering to accept only EC sentences. activate one route and with the autopilot control of OCPN itself, looking at NMEA debug window and all the $EC sentences for output in red (rejected) and not following the track in the autopilot. of course, receiving all data from multiplexer. made another option, input UDP for data and enable the COM port connection with autopilot (I have such connection in spare but before removed from OCPN) now setup again and it works. Where is the fault of UDP, when before I was able to do in/out in the same connection and the autopilot control worked?? |
Beta Was this translation helpful? Give feedback.
-
I must remark too, that this afternoon while the test with two UDP connections, one for input and other for output in the same port, I've lost the data input while those two connections were activated. 😵💫 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
For a Input connection you can use default address 0.0.0.0 or localhost or 127.0.0.1 See my example where I've noted each filter as comments: |
Beta Was this translation helpful? Give feedback.
-
@bdbcat |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'm really missing to have one quick access to the NMEA debug window instead of going to settings - connections -... 🙄 |
Beta Was this translation helpful? Give feedback.
-
Tested on board as per above message:
I guess that sailing will follow it, that would be tested when I'll sail with the boat. thanks a lot for your advises and support in the matter. |
Beta Was this translation helpful? Give feedback.
-
192.168.1.2 can work to a specific receiver. Using 192.168.1.255 works to all on the 192.168.1 segment listening to "localhost" ( or 127.0.0.1 or 0.0.0.0) |
Beta Was this translation helpful? Give feedback.
-
Thanks added that clarification. |
Beta Was this translation helpful? Give feedback.
-
Can we please close this now. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Great support from the Team |
Beta Was this translation helpful? Give feedback.
-
Raspberry Pi 5 - 8GB
Enclosure Neo with NVME SSD connected to PCI connector.
Windows 11 ARM64 up and running ver 22631.3527
O Version 5.9.0-0+10912b6 Build 2024-04-26
no problem with LAN (via USB adaptor) and another devices.
setup the data connection via UDP with the multiplexer, received all data.
also tried to make in/out the connection as my other computer but not able to set both at the same time.
when I click on input the output comes off, viceversa when I click on output the input comes off, could not have both at the same time, and immediately the IP changes to 0.0.0.0
Why the "N" before the 0183? "N" of network?
Also tried in same O version but windows 11 x64, same behaviour.
but in another computer that was set previously of this O version the up/down is available, same os and OCPN (same version and architecture ARM64) with the computer on board Apcsilmic (Qualcomm PC for Windows, 8 GB RAM too).
Up/Down enable without any problem.
Beta Was this translation helpful? Give feedback.
All reactions