diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-30 22:20:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-30 22:20:42 +0000 |
commit | 9d5a2de3b28f61877858489604ddbaaf727e5409 (patch) | |
tree | fe3d918b2d1dec3f298c02e9ac77527b7c5a6f3d /apps/include | |
parent | 9ddfc032d424842691e1f4a30960547b578c9036 (diff) | |
download | px4-nuttx-9d5a2de3b28f61877858489604ddbaaf727e5409.tar.gz px4-nuttx-9d5a2de3b28f61877858489604ddbaaf727e5409.tar.bz2 px4-nuttx-9d5a2de3b28f61877858489604ddbaaf727e5409.zip |
A few more telnet updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4348 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/include')
-rw-r--r-- | apps/include/netutils/telnetd.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/include/netutils/telnetd.h b/apps/include/netutils/telnetd.h index 37e7dfd4f..f875a5edc 100644 --- a/apps/include/netutils/telnetd.h +++ b/apps/include/netutils/telnetd.h @@ -50,6 +50,10 @@ * CONFIG_TELNETD_NPOLLWAITERS - If the poll method is enabled, then this * value will defined the maximum number of threads that can be waiting * for events. Default: 1 + * CONFIG_TELNETD_RXBUFFER_SIZE - The size of the telnet receive buffer. + * Default: 256 bytes. + * CONFIG_TELNETD_TXBUFFER_SIZE - The size of the telnet transmit buffer. + * Default: 256 bytes. * CONFIG_TELNETD_DUMPBUFFER - dumping of all input/output buffers. */ @@ -59,8 +63,12 @@ /* Configurable settings */ -#ifndef CONFIG_TELNETD_IOBUFFER_SIZE -# define CONFIG_TELNETD_IOBUFFER_SIZE 512 +#ifndef CONFIG_TELNETD_RXBUFFER_SIZE +# define CONFIG_TELNETD_RXBUFFER_SIZE 256 +#endif + +#ifndef CONFIG_TELNETD_TXBUFFER_SIZE +# define CONFIG_TELNETD_TXBUFFER_SIZE 256 #endif /**************************************************************************** |