From 492753200dff3845a3c12c18b120e8452b2b0678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Tue, 4 Jun 2024 15:15:40 +0200 Subject: [PATCH] (maybe?) fix repeated oneof --- meshtastic/mesh.proto | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/meshtastic/mesh.proto b/meshtastic/mesh.proto index f3406e4..098f19f 100644 --- a/meshtastic/mesh.proto +++ b/meshtastic/mesh.proto @@ -1656,6 +1656,13 @@ message ChunkedPayload { bytes payload_chunk = 4; } +/* + * Wrapper message for broken repeated oneof support + */ +message resend_chunks { + repeated uint32 chunks = 1; +} + /* * Responses to a ChunkedPayload request */ @@ -1678,6 +1685,6 @@ message ChunkedPayloadResponse { /* * Request missing indexes in the chunked payload */ - repeated uint32 resend_chunks = 4; + resend_chunks resend_chunks = 4; } -} \ No newline at end of file +}