Files
kaptan/firmware/libs/kaptan-mavlink/definitions/publish/log.xml
T
Onur Özkan f9a61a086f feat(firmware): validate configuration and migrate sensor-driven flight APIs
Validate configuration through its owning schemas and keep board
declarations separate from shared F722 resource ownership. Bound USB
transitions, isolate transport failures and retain restart-only activation.

Migrate navigation and flight consumers with the sensor and schema
contracts. Require explicit installation data and synchronous output
authority; board motor outputs remain inhibited.

Validation: assembled-prefix host tests, strict Clippy, platform/USB tests
and both ARM release builds. Final-source coverage and scoped Miri/Kani
evidence are retained separately from hardware qualification.
2026-11-07 18:12:11 +03:00

32 lines
1.3 KiB
XML

<?xml version="1.0"?>
<mavlink>
<version>3</version>
<dialect>0</dialect>
<enums>
<enum name="LOG_LEVEL">
<entry value="0" name="LOG_LEVEL_OFF">
<description>Filter-only sentinel. A LOG event must not use this value.</description>
</entry>
<entry value="1" name="LOG_LEVEL_TRACE"/>
<entry value="2" name="LOG_LEVEL_DEBUG"/>
<entry value="3" name="LOG_LEVEL_INFO"/>
<entry value="4" name="LOG_LEVEL_WARN"/>
<entry value="5" name="LOG_LEVEL_ERROR"/>
</enum>
<enum name="LOG_FLAGS" bitmask="true">
<entry value="1" name="LOG_FLAG_TRUNCATED">
<description>Message text was truncated to the bounded on-wire buffer.</description>
</entry>
</enum>
</enums>
<messages>
<message id="51020" name="LOG">
<description>Runtime log emitted by Kaptan logging macros, including error.</description>
<field type="uint8_t" name="level" enum="LOG_LEVEL">Kaptan wire level.</field>
<field type="uint8_t" name="flags" enum="LOG_FLAGS">TRUNCATED=1. Receivers ignore unrecognized bits.</field>
<field type="uint8_t" name="message_length">Number of valid UTF-8 bytes in message; at most 160.</field>
<field type="uint8_t[160]" name="message">Bounded UTF-8 message bytes. Bytes after message_length are zero.</field>
</message>
</messages>
</mavlink>