Table of Contents

Struct PamojaMavlinkFieldInfo

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

One field of a message shape, mirroring PamojaMavlinkFieldInfo in pamoja.h.

public struct PamojaMavlinkFieldInfo
Inherited Members

Remarks

Both names point into the schema they came from and stay valid until it is released, so a caller reads them in place rather than freeing them.

Fields

ArrayLen

The element count for an array field, or 0 for a scalar.

public byte ArrayLen

Field Value

byte

Extension

1 for a MAVLink 2 extension field, 0 for a base field.

public byte Extension

Field Value

byte

FieldType

The field's type, one of the field type codes.

public uint FieldType

Field Value

uint

Name

The field name as the dialect writes it.

public nint Name

Field Value

nint

Offset

The field's byte offset within the payload.

public nuint Offset

Field Value

nuint

TypeName

The field's type name as the dialect writes it.

public nint TypeName

Field Value

nint