You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They both use the same submessage type, so it is not possible by just using nanopb options. Because the same C struct is used for both, they cannot have different sizes.
If the arrays were directly in the main message (instead of wrapped in a submessage), this would be possible. Another way would be to have separate submessage types in .proto.
You can do this with callback_datatype and a custom callback function, but that quickly gets pretty complex.
For example, for this proto:
How can I set different
max_count
values fora
andb
? The following options file doesn't seem to work:The text was updated successfully, but these errors were encountered: