Skip to content

Commit

Permalink
Merge pull request #512 from meshtastic/repeated-oneof
Browse files Browse the repository at this point in the history
(maybe?) fix repeated oneof
  • Loading branch information
caveman99 authored Jun 4, 2024
2 parents 5d0a75e + 4927532 commit e322b71
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -1678,6 +1685,6 @@ message ChunkedPayloadResponse {
/*
* Request missing indexes in the chunked payload
*/
repeated uint32 resend_chunks = 4;
resend_chunks resend_chunks = 4;
}
}
}

0 comments on commit e322b71

Please sign in to comment.