From 9d5a2de3b28f61877858489604ddbaaf727e5409 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 30 Jan 2012 22:20:42 +0000 Subject: A few more telnet updates git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4348 42af7a65-404d-4744-a932-0658087f49c3 --- apps/include/netutils/telnetd.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'apps/include/netutils') 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 /**************************************************************************** -- cgit v1.2.3