Skip to main content

Module container

Module container 

Source
Expand description

Sensing indexes in existing .10d MID2 extension fields.

No section discriminant or global field kind is allocated. Hosts explicitly register the extension kind in their MID2 allow-list and authenticate the container, container identifier and FIEL/MID2 semantic pairing. CRC and structural binding alone establish neither permission nor source trust.

Structs§

PackedSensingIndex
The declaration to add to MID2 and total FieldSidecar length. Pass the resulting payload and extension kind to the existing extension-aware container writer; retain the original raw-field declarations unchanged.
ResolvedSensingMeasurement
Canonical record and exact raw bytes borrowed from one checked resolver. This establishes structural binding, not container authenticity or policy.
SensingIndexProfile
SensingIndexView
Borrowed index and raw payload resolver for the same checked envelope. The host still authenticates the container and field semantic pairing.

Enums§

ProfileResolverError
RegistrationError
SensingAssemblyError
SensingContainerError

Constants§

MAX_SENSING_PROFILE_EXTENSIONS
NATIVE_SENSING_INDEX_KIND_V1
Local profile choice only. Hosts must refuse a conflicting assignment or use another explicitly registered extension kind through new.
SENSING_INDEX_SCHEMA_V1
SENSING_INDEX_SCHEMA_V1_HASH

Functions§

encode_sensing_container
Assemble a new envelope containing FieldSidecar and MID2 sections. All raw fields must refer to the supplied prefix; this does not rewrite an existing container or preserve other sections. Identity, namespaces and metadata are explicit caller declarations, not verified scientific or policy claims. Legacy FIEL descriptors are not authored here; their semantic pairing stays with the caller, as in PhysicalFieldSemantics::from_existing.
pack_sensing_index_field
Append canonical index rows to an unchanged raw FieldSidecar prefix. output is caller-owned. All refusals precede output modification. Raw FieldSidecar references must remain entirely inside the prefix; references to other sections require validation by the enclosing container writer. This function does not assign or authenticate the container identifier.