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 12 ListFilesRequest.path max_size:128 13 FileInfo.name max_size:128 14