Function rc_mav_msg_id_of_last_msg#

Function Documentation#

int rc_mav_msg_id_of_last_msg(void)#

Returns the msg_id of the last received packet.

Returns:

Returns the msg_id of the last received packet. Returns -1 on failure, for example if no message has been received.