Type Alias ChunkedPayloadResponse

ChunkedPayloadResponse: Message<"meshtastic.ChunkedPayloadResponse"> & {
    payloadId: number;
    payloadVariant:
        | {
            case: "requestTransfer";
            value: boolean;
        }
        | {
            case: "acceptTransfer";
            value: boolean;
        }
        | {
            case: "resendChunks";
            value: resend_chunks;
        }
        | {
            case: undefined;
            value?: undefined;
        };
}

Responses to a ChunkedPayload request

Type declaration

  • payloadId: number

    The ID of the entire payload

    from field: uint32 payload_id = 1;

  • payloadVariant:
        | {
            case: "requestTransfer";
            value: boolean;
        }
        | {
            case: "acceptTransfer";
            value: boolean;
        }
        | {
            case: "resendChunks";
            value: resend_chunks;
        }
        | {
            case: undefined;
            value?: undefined;
        }

    from oneof meshtastic.ChunkedPayloadResponse.payload_variant

from message meshtastic.ChunkedPayloadResponse