This should help the Snapdragon to connect if the network is not yet up
by the time the mainapp starts. It will retry to find a network and
broadcast once it finds one.
It seems that Mac does not support the ioctl to check how big the ifconf
buffer needs to be. Therefore we just have to make a guess.
Alos, instead of allocating the variable size array on the stack, it's
probably safer to use the heap.
Instead of using 255.255.255.255 as the broadcast address, go through
the network interfaces and and try to use a broadcast in the local
network such as 192.168.1.255.
This moves the mavlink_log interface from ioctl to uORB and enables the
mavlink statusmessage output for Snapdragon. The API changes will lead
to changes in all modules that are using it.
This reverts commit 213cdf1a91.
Raising the stream rate of param values had the nice effect that
receiving the params became really quick. However, on the downside it
set all other streams pretty slow. This needs to be fixed differently.
This avoids the need to modify the source code to hard-code the IP when
broadcast doesn't work.
Initializing the sockaddr_in structs with memset is unnecessary because
they are value-initialized by the Mavlink constructor.
* PX4/master: (45 commits)
don't use default source address for onboard udp link, wait on remote
Configure Easystar HIL setup to do Runway takeoff
ROMFS: Set 3DR quad tuning to more realistic default values
Fix incomplete boot on new EKF config
Fix px4fmu-v2_ekf2 config
Updated MAVLink protocol version
MAVLink: Start slightly differently on USB
Start shell only if SD card not present
Update ECL
NuttX configs: added px4fmu-v2_ekf2 target for EKF2 development on Pixhawk
Get QuRT drivers out of the way, as we are using our own
Fix POSIX eagle config
Remove unmaintained NuttX config
VDev: fix code style
Add new posix_eagle_default and qurt_eagle_default targets
Fix QuRT build error
Fix FMUv4 USB PID
Speed up Vagrant
VTOL: Fix motor index use in VT_FW_MOT_OFF. Create new param to re-default all deployed vehicles to not shut down motors.
VTOL: Fix MOT_OFF bug
...