reticulum-js
    Preparing search index...

    Function parseDiscoveryAnnounce

    • Parses and validates a discovery announce's app_data.

      Verifies the LXMF stamp at discovery's cheap work factor, unpacks the msgpack info dict, validates the field types/shapes (mirroring Python's received_announce), and builds the normalized DiscoveredInterface record including a generated config_entry.

      Parameters

      • appData: Uint8Array<ArrayBufferLike> | null | undefined

        Raw app_data bytes from the transport "announce" event detail.

      • announcedIdentity: Identity

        Identity reconstructed from the announce.

      • Optionaloptions: ParseDiscoveryOptions = {}

      Returns Promise<DiscoveredInterface | null>

      null for any malformed, unauthorized, or insufficiently-stamped announce (Python logs and swallows).