mirror of
https://github.com/google/pebble.git
synced 2025-03-21 03:11:21 +00:00
16 lines
632 B
Text
16 lines
632 B
Text
# This file defines the nanopb-specific options for the messages defined
|
|
# in fileproto.proto.
|
|
#
|
|
# If you come from high-level programming background, the hardcoded
|
|
# maximum lengths may disgust you. However, if your microcontroller only
|
|
# has a few kB of ram to begin with, setting reasonable limits for
|
|
# filenames is ok.
|
|
#
|
|
# On the other hand, using the callback interface, it is not necessary
|
|
# to set a limit on the number of files in the response.
|
|
|
|
* include:"sys/types.h"
|
|
* include:"dirent.h"
|
|
ListFilesResponse.file type:FT_CALLBACK, callback_datatype:"DIR*"
|
|
ListFilesRequest.path max_size:128
|
|
FileInfo.name max_size:128
|