This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_mav_set_callback_connection_lost

Function Documentation

int rc_mav_set_callback_connection_lost(void (*func)(void))

Sets a callback function to be called when connection_timeout has been reached without receiving any messages.

connection_timeout is set with rc_mav_init

Parameters

func[in] The callback function

Returns

0 on success, -1 on failure