interface · Browser and Node
Contact
@toip-tools/mesh-transportView sourceimport { type Contact } from "@toip-tools/mesh-transport";
Declaration
interface Contact {
vid: string;
signingKey: Uint8Array;
encryptionKey: Uint8Array;
/** We have heard from them, so they know us: send PAIR, not INTRO. */
introduced: boolean;
heard?: { atMs: number; hops: number; link: string; rssi?: number };
/** False when the contact can't read CTT1 bodies. */
compact?: boolean;
}
Properties
vidrequiredstringsigningKeyrequiredUint8Array<ArrayBufferLike>encryptionKeyrequiredUint8Array<ArrayBufferLike>introducedrequiredbooleanWe have heard from them, so they know us: send PAIR, not INTRO.
heardoptional{ atMs: number; hops: number; link: string; rssi?: number; } | undefinedcompactoptionalboolean | undefinedFalse when the contact can't read CTT1 bodies.