Class MessageRegistry

Namespace
MavNet.Protocol.Generated
Assembly
MavNet.Protocol.dll

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

IReadOnlyCollection<MessageInfo>

Methods

Contains(uint)

True if any message with this id is registered (decodable or not).

public static bool Contains(uint msgId)

Parameters

msgId uint

Returns

bool

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

msgId uint
info MessageInfo

Returns

bool