Handle unsupported extension field types more gracefully.
[apps/agl-service-can-low-level.git] / tests / unittestproto.proto
index c8a39dd..7024942 100644 (file)
@@ -8,6 +8,10 @@ message FloatArray {
     repeated float data = 1 [(nanopb).max_count = 10];
 }
 
+message StringMessage {
+    required string data = 1 [(nanopb).max_size = 10];
+}
+
 message CallbackArray {
     // We cheat a bit and use this message for testing other types, too.
     // Nanopb does not care about the actual defined data type for callback