26 lines
1.4 KiB
XML
26 lines
1.4 KiB
XML
<?xml version="1.0"?>
|
|
<mavlink>
|
|
<version>3</version>
|
|
<dialect>0</dialect>
|
|
<!-- Kaptan-reserved development block. Register these IDs before release. -->
|
|
<enums>
|
|
<enum name="KAPTAN_LOG_FLAGS" bitmask="true">
|
|
<entry value="1" name="KAPTAN_LOG_FLAG_TRACE">
|
|
<description>Record originated at Rust trace level and uses MAVLink DEBUG severity.</description>
|
|
</entry>
|
|
<entry value="2" name="KAPTAN_LOG_FLAG_TRUNCATED">
|
|
<description>Message text was truncated to the bounded on-wire buffer.</description>
|
|
</entry>
|
|
</enum>
|
|
</enums>
|
|
<messages>
|
|
<message id="51020" name="KAPTAN_LOG">
|
|
<description>Bounded human-readable runtime log. The receiver needs only level, flags, and the valid UTF-8 text prefix. MAVLink framing, bounded admission, DMA, and retries remain platform-owned.</description>
|
|
<field type="uint8_t" name="level">MAV_SEVERITY-compatible level. Rust TRACE uses DEBUG plus the TRACE flag.</field>
|
|
<field type="uint8_t" name="flags" enum="KAPTAN_LOG_FLAGS">Known bits are TRACE=1 and TRUNCATED=2. Receivers ignore unknown future 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>
|