I have managed with this problem. Here is my solution:
- Find the file
px4-rc.mavlink
located in/etc/init.d-posix
in pixhawk build. - To the mavlink instance start command append parameter
-p
to enable broadcasting.
mavlink start -x -u $udp_gcs_port_local -r 4000000 -f -p