Class MessageRegistry
Lookup of MAVLink message metadata by msgid. Covers every message in the
generated spec — including messages this SDK doesn't decode — because the
frame parser needs CrcExtra to validate inbound CRCs regardless of
decode capability. Decoder presence is tracked separately.
public static class MessageRegistry
- Inheritance
-
MessageRegistry
- Inherited Members
Properties
All
Every registered message. Stable across calls; safe to enumerate concurrently.
public static IReadOnlyCollection<MessageInfo> All { get; }
Property Value
Methods
Contains(uint)
True if any message with this id is registered (decodable or not).
public static bool Contains(uint msgId)
Parameters
msgIduint
Returns
TryGet(uint, out MessageInfo)
Look up message metadata by 24-bit MAVLink msgid. Returns false for unknown ids.
public static bool TryGet(uint msgId, out MessageInfo info)
Parameters
msgIduintinfoMessageInfo