Function rc_mav_get_sys_id_of_last_msg#

Function Documentation#

uint8_t rc_mav_get_sys_id_of_last_msg(int msg_id)#

Fetches the system ID of the sender of the last received message. of type msg_id.

Parameters:

msg_id[in] The message identifier of the packet type to check

Returns:

Returns the system ID on success. Returns -1 on failure, for example if no message of type msg_id has been received of type msg_id.