I am trying to use pymavlink to create a GUI which displays basic mavlink data along with some custom features.
To do this, I connect both the Herelink and my PC to my mobile’s hotspot connection. I am able to connect to Mission Planner via UDPCL using my herelink’s IP address (192.168.43.252) with port number (14552), so it is clear that the UDP connection is working fine.
However, when I close the Mission Planner and try to connect pymavlink to the above IP address, I get the error “The requested address is not valid in its context” as shown below:
I am running only a basic code as shown below:
Can anyone please help with the issue?