summaryrefslogtreecommitdiff
path: root/nuttx/Documentation/NuttShell.html
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-02 16:04:09 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-02 16:04:09 +0000
commit426dc74b959df16ea2c63ddefb07aa874a17a367 (patch)
tree1642619d0c60b8a67c98baaca85e372bf524d8e4 /nuttx/Documentation/NuttShell.html
parent27d64b50095b5a95d4c41244993ca42d5062c627 (diff)
downloadnuttx-426dc74b959df16ea2c63ddefb07aa874a17a367.tar.gz
nuttx-426dc74b959df16ea2c63ddefb07aa874a17a367.tar.bz2
nuttx-426dc74b959df16ea2c63ddefb07aa874a17a367.zip
NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4361 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttShell.html')
-rw-r--r--nuttx/Documentation/NuttShell.html56
1 files changed, 47 insertions, 9 deletions
diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html
index 73bb1bf65..c2bc61cbb 100644
--- a/nuttx/Documentation/NuttShell.html
+++ b/nuttx/Documentation/NuttShell.html
@@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttShell (NSH)</i></font></big></h1>
- <p>Last Updated: September 1, 2011</p>
+ <p>Last Updated: February 2, 2012</p>
</td>
</tr>
</table>
@@ -2131,13 +2131,6 @@ nsh>
Default: 80
</td>
</tr>
- <tr>
- <td valign="top"><b><code>CONFIG_NSH_STACKSIZE</code></b></td>
- <td>
- The stack size to use when spawning new threads or tasks. Such
- new threads are generated when a command is executed in background
- or as new TELNET connections are established.
- </td>
</tr>
<tr>
<td valign="top"><b><code>CONFIG_NSH_NESTDEPTH</code></b></td>
@@ -2228,6 +2221,52 @@ nsh>
</table></center>
<p>
+ If Telnet is selected for the NSH console, then we must configure
+ the resources used by the Telnet daemon and by the Telnet clients.
+</p>
+
+<center><table width="100%">
+ <tr bgcolor="#e4e4e4">
+ <th align="left" width="25%">Configuration</th>
+ <th align="left">Description</th>
+ </tr>
+ <tr>
+ <td valign="top"><b><code>CONFIG_NSH_TELNETD_PORT</code></b></td>
+ <td>
+ The telnet daemon will listen on this TCP port number for connections. Default: 23
+ </td>
+ </tr>
+ <tr>
+ <td valign="top"><b><code>CONFIG_NSH_TELNETD_DAEMONPRIO</code></b></td>
+ <td>
+ Priority of the Telnet daemon.
+ Default: <code>SCHED_PRIORITY_DEFAULT</code>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top"><b><code>CONFIG_NSH_TELNETD_DAEMONSTACKSIZE</code></b></td>
+ <td>
+ Stack size allocated for the
+ Telnet daemon. Default: 2048
+ </td>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top"><b><code>CONFIG_NSH_TELNETD_CLIENTPRIO</code></b></td>
+ <td>
+ Priority of the Telnet client.
+ Default: <code>SCHED_PRIORITY_DEFAULT</code>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top"><b><code>CONFIG_NSH_TELNETD_CLIENTSTACKSIZE</code></b></td>
+ <td>
+ Stack size allocated for the Telnet client. Default: 2048
+ </td>
+ </tr>
+</table></center>
+
+<p>
One or both of <code>CONFIG_NSH_CONSOLE</code> and <code>CONFIG_NSH_TELNET</code>
must be defined. If <code>CONFIG_NSH_TELNET</code> is selected, then there some
other configuration settings that apply:
@@ -2457,7 +2496,6 @@ nsh>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_ARCHROMFS</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_ROMFSMOUNTPT</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_ROMFSSECTSIZE</code></a></li>
- <li><a href="#nshconfiguration"><code>CONFIG_NSH_STACKSIZE</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_STRERROR</code></a></li>
<li><a href="#nshconfiguration"><code>CONFIG_NSH_TELNET</code></a></li>
<li><a href="#configuration">Configuration settings</a></li>