Cubenode-ETH connection via UDP

Hello All,

I have currently a Cubenode-ETH setup on an Orange+ flight controller and it is connected over a IP mesh radio. It is working ok for the most part but every so often I can’t connect to the aircraft via Mission Planner. I can however ping the IP address of the Cube. I know that if it connects via TCP and drops the connection that you can’t re-establish it without rebooting the flight controller (please let me know if that statement is incorrect) Does anyone know if we can connect via UDP through the Cubenode-ETH.

Kind Regards,

Perry

You should be able to reconnect via TCP or set up UDP in client or server mode. All should work fine.

I have used native Ethernet features on several autopilots without issue, and a CubeNode ETH is on my desk awaiting some use.

1 Like

@Yuri_Rage thanks for your input.

I have found that TCP does not reconnect, and I think that it is due to the network socket being left open once it disconnects. If anyone has any other information about this, then I would like to know more.

I have managed to get the UDP client (on the flight controller) working. I found that I needed to specify the IP address of the laptop (GCS) that was being used as the UDP server (running MavProxy in my case) On other threads I read that 255.255.255.255 as the NET_P1_IP parameters works, but in my case it did not. Also, I had an instance where the Windows firewall was blocking the connection.

Kind Regards,

Perry