ArduPilot / ArduRemoteID

RemoteID support using OpenDroneID
GNU General Public License v2.0
90 stars 45 forks source link

Do not broadcast empty messages #103

Closed BluemarkInnovations closed 1 year ago

BluemarkInnovations commented 1 year ago

The BT5. WLAN NaN and WLAN broadcast function use the odid_message_build_pack function of the opendrone ID lib to encode data. That function uses the "valid" vars of each packet (basicID, location, system etc) to determine if it needs to be encoded. The BT4 transmission uses a slightly different approach, not using these "valid" vars

In this PR:

BluemarkInnovations commented 1 year ago

I've dropped the valid zeroing change, better to have #104

Agree.