envirover/SPLRadioRoom

Do not send unsolicited PARAM_VALUE messages

Closed this issue · 0 comments

Autopilot for some reason repeatedly sends unsolicited 33 byte long PARAM_VALUE messages for the following parameters.

  • GND_ABS_PRESS
  • GND_ABS_PRESS2
  • SR2_EXT_STAT
  • SR2_POSITION
  • SR2_RAW_SENS
  • SR2_EXTRA1
  • SR2_EXTRA2
  • SR2_EXTRA3
  • COMPASS_OFS_X
  • COMPASS_OFS_Y
  • COMPASS_OFS_Z
  • COMPASS_DEV_ID
  • COMPASS_OFS2_X
  • COMPASS_OFS2_Y
  • COMPASS_OFS2_Z
  • STAT_FLTTIME
  • SR0_POSITION
  • SR0_EXTRA1
  • SR0_EXTRA2

Radioroom filters out (or compresses into HIGH_LATENCY message) most of mobile originated messages sent by autopilot, but it allows PARAM_VALUE message through the filter because PARAM_VALUE message is used to acknowledge that the parameter was actually set by PARAM_SET mobile terminated message.

To filter out the unsolicited messages, radioroom should send only PARAM_VALUE messages that acknowledge previously received PARAM_SET messages.