view rvinterf/include/ffslimits.h @ 853:ae254ffeaec3

AT command interface works! The cause of the breakage was the same Nucleus API issue with NU_Create_Timer() which we encountered at the very beginning of this project with Riviera timers: the code in uartfax.c from TCS211 was passing 0 as the initial dummy value for the timer duration, and our FreeNucleus version doesn't like it. The fix is the same: pass 1 as the initial dummy value instead.
author Space Falcon <falcon@ivan.Harhan.ORG>
date Thu, 30 Apr 2015 01:46:26 +0000
parents 3dd74b16df82
children
line wrap: on
line source

/*
 * Limits on FFS filenames and pathnames
 *
 * The deepest pathname allowed is one of the form /1/2/3/4/5/6, where the
 * last component may be a file, a directory or a symlink; if this last
 * component is a directory, it has to be empty, because any child of
 * that directory would violate the depth limit.
 *
 * The proper FFS pathname form begins with a slash (all pathnames must
 * be absolute, no Unix processes in the fw means no current directories),
 * has exactly one slash in each separating place (no double slashes),
 * and no trailing slash except in the special case of the root directory,
 * whose full pathname is "/".
 *
 * Each component name is [1,20] characters long; combining this limit
 * with the maximum depth of 6 puts the maximum length of a properly-formed
 * full pathname at 126 characters.
 */

#define	MAX_FN_COMPONENT	20
#define	MAX_NAME_DEPTH		6
#define	MAX_FULL_PATHNAME	((MAX_FN_COMPONENT+1) * MAX_NAME_DEPTH)