Function rc_mav_set_system_id#

Function Documentation#

int rc_mav_set_system_id(uint8_t system_id)#

Sets the system identifier.

The system_id is included with every mavlink packet sent so that the receiver can identitfy what sent the current packet. We suggest every mavlink device in a network to have a unique id. The system_id is set during rc_mav_init but can be changed afterwards with this function.

Parameters:

system_id[in] The system identifier

Returns:

0 on success, -1 on failure