test.proto 272 B

12345678910111213141516
  1. syntax = "proto3";
  2. import "nanopb.proto";
  3. message FirmwareUpdateCommand {
  4. string version = 1;
  5. uint32 size = 2;
  6. }
  7. message CommandWrapperMessage {
  8. option (nanopb_msgopt).submsg_callback = true;
  9. oneof payload {
  10. FirmwareUpdateCommand firmware_update = 1;
  11. }
  12. }