- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi there,
I wonder how can I open another port for mavlink connection... I know that by default the connection is on port 5760, but I want to have another like 5762 port.
The purpose is that I have a script running inside the Intel aero rtf which connection is at tcp:127.0.0.1:5760 and then, I want to send another script from my PC.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello ivanalexo,
Thank you for your interest in the Intel Aero Ready to Fly Drone.
In regards to your query about opening another port for the mavlink connection, I found the following github post that might be helpful:
https://github.com/intel/mavlink-router/issues/122
Let me know if this information proves useful or if I can assist you with anything else.
Best regards,
Casandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks for your answer and I also checked that info but it didn't help me...
I try to configure main.conf of mavlink-router adding a TCP Client but it also didn't work:
[TcpEndpoint delta]
Address = 127.0.0.1
Port = 5762
RetryTimeout = 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello ivanalexo,
Please let me know if the following steps work for you:
Modify the following file:
/etc/mavlink-router/main.conf
[General]
TcpServerPort=5762
ReportStats=false
Log=/var/lib/mavlink-router/
Restart the mavlink service:
systemctl restart mavlink-router.service
Verify mavlink-router is listening on the new port:
netstat -lntu
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:5762 0.0.0.0:* LISTEN
The Port 5760, should now be opened.
Looking forward to your reply,
Regards,
Casandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Well I think I didn't make myself understood. I want to have two ports open for listening mavlink connection.
I tried the configuration that you sent me, but it just replace the port 5760 by 5762.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello ivanalexo,
The Mavlink router is setup to have 1 master, however, you can connect to the UDP endpoints with multiple clients.
You can have a look at the examples https://github.com/intel/mavlink-router/tree/master/examples https://github.com/intel/mavlink-router/tree/master/examples
specifically the http://receiver.py/ receiver.py and http://sender.py/ sender.py
If this does not work, can you please provide additional details as to what you are trying to accomplish?
Best regards,
Casandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello ivanalexo,
Did you get the opportunity to check the examples I sent you in my previous post?
Let me know if I can help with anything else.
Regards,
Casandra

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page