xref: /aosp_15_r20/external/nanopb-c/examples/network_server/fileproto.options (revision c8d645cafcee3f91213d30caa0fe303887010b9b)
1# This file defines the nanopb-specific options for the messages defined
2# in fileproto.proto.
3#
4# If you come from high-level programming background, the hardcoded
5# maximum lengths may disgust you. However, if your microcontroller only
6# has a few kB of ram to begin with, setting reasonable limits for
7# filenames is ok.
8#
9# On the other hand, using the callback interface, it is not necessary
10# to set a limit on the number of files in the response.
11
12ListFilesRequest.path 	max_size:128
13FileInfo.name 		max_size:128
14