# Sending and recieving heartbeats to BlueROV from surface computer using pymavlink

**URL:** <https://discuss.bluerobotics.com/t/sending-and-recieving-heartbeats-to-bluerov-from-surface-computer-using-pymavlink/10940>\
**Category:** Blue Robotics Software\
**Tags:** pymavlink\
**Created:** [November 1, 2021, 11:22pm UTC](https://discuss.bluerobotics.com/t/sending-and-recieving-heartbeats-to-bluerov-from-surface-computer-using-pymavlink/10940 "2021-11-01T23:22:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [November 2, 2021, 3:52pm UTC](https://discuss.bluerobotics.com/t/sending-and-recieving-heartbeats-to-bluerov-from-surface-computer-using-pymavlink/10940/2 "2021-11-02T15:52:34Z")

</div>

Hi @joshholder, welcome to the forum 🙂

Great to see you’ve looked into this before asking about it. This has been asked about a few times recently, and today I had a thought for a hacky workaround that would make it possible, which I’ve described (and implemented) [here](https://discuss.bluerobotics.com/t/how-to-control-thrusters-independently/9870/11).

> [@joshholder](#):
>
> However, when I try to send motor commands or read sensor data for an extended period of time, QGroundControl plays a sound saying “Communication lost” and it seems that I am no longer getting updated data.

Are you using port 14550 for pymavlink, or have you set up a separate endpoint for it? Two programs aren’t supposed to be able to access the same port at the same time, and 14550 is what QGC uses by default.

> [@joshholder](#):
>
> Do I need explicit code to receive heartbeats from the BlueROV as well? If so, is it anything more than simply “master.wait\_heartbeat()”?

Receiving heartbeats isn’t a requirement (since the other end doesn’t know or care who is listening to its heartbeats). `master.wait_heartbeat()` is the correct code to wait for one though, when it’s relevant to do so.

---

_[View the full topic](https://discuss.bluerobotics.com/t/sending-and-recieving-heartbeats-to-bluerov-from-surface-computer-using-pymavlink/10940)._
