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* include:"sys/types.h" 13* include:"dirent.h" 14ListFilesResponse.file type:FT_CALLBACK, callback_datatype:"DIR*" 15ListFilesRequest.path max_size:128 16FileInfo.name max_size:128 17