ChunkedPayload: Message<"meshtastic.ChunkedPayload"> & {
    chunkCount: number;
    chunkIndex: number;
    payloadChunk: Uint8Array;
    payloadId: number;
}

Type declaration

  • chunkCount: number

    The total number of chunks in the payload

    from field: uint32 chunk_count = 2;

  • chunkIndex: number

    The current chunk index in the total

    from field: uint32 chunk_index = 3;

  • payloadChunk: Uint8Array

    The binary data of the current chunk

    from field: bytes payload_chunk = 4;

  • payloadId: number

    The ID of the entire payload

    from field: uint32 payload_id = 1;

from message meshtastic.ChunkedPayload