Function rc_mav_send_heartbeat_abbreviated#
Defined in File mavlink_udp_helpers.h
Function Documentation#
-
int rc_mav_send_heartbeat_abbreviated(void)#
Constructs and sends a heartbeat packet of type MAVLINK_MSG_ID_HEARTBEAT.
This is a shortcut for rc_mav_send_heartbeat for those which don’t wish to populate all of the availbale fields in the mavlink heartbeat packet. It still sends a complete heartbeat packet but with all 0’s in the packet payload fields. The receiver can still see the system_id of the sender and this still serves the primary purpose to the heartbeat packet which is to indicate that a communication channel is open and functioning.
- Returns:
0 on success or -1 on failure.