mavlink/mavlink-devguide

Parameter Protocol - What if read single param fails

hamishwillee opened this issue · 1 comments

Read single parameter does not explain what happens if invalid param is specified: Parameter Protocol · MAVLink Developer Guide

What happens appears to be emission of STATUS_TEXT for error https://github.com/PX4/Firmware/blob/master/src/modules/mavlink/mavlink_parameters.cpp#L232

However not clear what GCS should do? Probably catch these and fail?

There is no proper mechanism for it to report a fail so the exchange will simply fail after a bunch of timeouts. What PX4 does is emit a STATUS_TEXT. A system might monitor for this, but IMO that is not part of the protocol. Documented in #209