summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-31 17:53:28 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-31 17:53:28 +0000
commit8f6e28f194274bde92d11c6383167ddbcc496cb3 (patch)
treeabfc777697b5e454ff3263e81608b01fd720a3a7
parent7e27610c4f420a98420035ec4ea10f45caf185ca (diff)
downloadnuttx-8f6e28f194274bde92d11c6383167ddbcc496cb3.tar.gz
nuttx-8f6e28f194274bde92d11c6383167ddbcc496cb3.tar.bz2
nuttx-8f6e28f194274bde92d11c6383167ddbcc496cb3.zip
Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5282 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--apps/examples/wgetjson/Kconfig2
-rw-r--r--apps/examples/wgetjson/wgetjson_main.c2
-rw-r--r--apps/nshlib/README.txt10
-rw-r--r--nuttx/Documentation/NuttShell.html299
4 files changed, 230 insertions, 83 deletions
diff --git a/apps/examples/wgetjson/Kconfig b/apps/examples/wgetjson/Kconfig
index 2e3b4b3eb..f7f4f236c 100644
--- a/apps/examples/wgetjson/Kconfig
+++ b/apps/examples/wgetjson/Kconfig
@@ -14,7 +14,7 @@ if EXAMPLES_WGETJSON
config EXAMPLES_WGETJSON_MAXSIZE
int "Max. JSON Buffer Size"
- default 10240
+ default 1024
config EXAMPLES_WGETJSON_URL
string "wget URL"
diff --git a/apps/examples/wgetjson/wgetjson_main.c b/apps/examples/wgetjson/wgetjson_main.c
index 7f3096797..a137af438 100644
--- a/apps/examples/wgetjson/wgetjson_main.c
+++ b/apps/examples/wgetjson/wgetjson_main.c
@@ -58,7 +58,7 @@
****************************************************************************/
#ifndef CONFIG_EXAMPLES_WGETJSON_MAXSIZE
-# define CONFIG_EXAMPLES_WGETJSON_MAXSIZE 1024*10
+# define CONFIG_EXAMPLES_WGETJSON_MAXSIZE 1024
#endif
#ifndef CONFIG_EXAMPLES_EXAMPLES_WGETJSON_URL
diff --git a/apps/nshlib/README.txt b/apps/nshlib/README.txt
index 043db2ae9..9f371678e 100644
--- a/apps/nshlib/README.txt
+++ b/apps/nshlib/README.txt
@@ -235,6 +235,10 @@ o test <expression>
integer -gt integer | integer -le integer |
integer -lt integer | integer -ne integer
+o base64dec [-w] [-f] <string or filepath>
+
+o base64dec [-w] [-f] <string or filepath>
+
o cat <path> [<path> [<path> ...]]
This command copies and concatentates all of the files at <path>
@@ -257,10 +261,6 @@ o cd [<dir-path>|-|~|..]
'home' directory is '/'.
'cd ..' sets the current working directory to the parent directory.
-o base64dec [-w] [-f] <string or filepath>
-
-o base64dec [-w] [-f] <string or filepath>
-
o cp <source-path> <dest-path>
Copy of the contents of the file at <source-path> to the location
@@ -874,6 +874,8 @@ Command Dependencies on Configuration Settings
test !CONFIG_NSH_DISABLESCRIPT
umount !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_FS_READABLE
unset !CONFIG_DISABLE_ENVIRON
+ urldecode CONFIG_NETUTILS_CODECS && CONFIG_CODECS_URLCODE
+ urlencode CONFIG_NETUTILS_CODECS && CONFIG_CODECS_URLCODE
usleep !CONFIG_DISABLE_SIGNALS
get CONFIG_NET && CONFIG_NET_TCP && CONFIG_NFILE_DESCRIPTORS > 0
xd ---
diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html
index 78a565107..f8ef41fb9 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: October 20, 2012</p>
+ <p>Last Updated: October 31, 2012</p>
</td>
</tr>
</table>
@@ -89,229 +89,259 @@
<tr>
<td><br></td>
<td>
- <a href="#cmdcat">2.2 Concatenate Files (cat)</a>
+ <a href="#cmdbase64dec">2.2 Base64 Decode (base64dec)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdcd">2.3 Change Current Working Directory (cd)</a>
+ <a href="#cmdbase64enc">2.3 Base64 Encode (base64enc)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdcp">2.4 Copy Files (cp)</a>
+ <a href="#cmdcat">2.4 Concatenate Files (cat)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmddate">2.5 Show or set the date and time (date)</a>
+ <a href="#cmdcd">2.5 Change Current Working Directory (cd)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmddd">2.6 Copy and Convert Files (dd)</a>
+ <a href="#cmdcp">2.6 Copy Files (cp)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmddf">2.7 Show volume status (df)</a>
+ <a href="#cmddate">2.7 Show or set the date and time (date)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdecho">2.8 Echo Strings and Variables (echo)</a>
+ <a href="#cmddd">2.8 Copy and Convert Files (dd)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdexec">2.9 Execute User Code (exec)</a>
+ <a href="#cmddf">2.9 Show volume status (df)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdexit">2.10 Exit NSH (exit)</a>
+ <a href="#cmdecho">2.10 Echo Strings and Variables (echo)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdfree">2.11 Show Memory Manager Status (free)</a>
+ <a href="#cmdexec">2.11 Execute User Code (exec)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdget">2.12 Get File Via TFTP (get)</a>
+ <a href="#cmdexit">2.12 Exit NSH (exit)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdhelp">2.13 Show Usage Command Usage (help)</a>
+ <a href="#cmdfree">2.13 Show Memory Manager Status (free)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdifconfig">2.14 Show Network Configuration (ifconfig)</a>
+ <a href="#cmdget">2.14 Get File Via TFTP (get)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdkill">2.15 Send a signal to a task (kill)</a>
+ <a href="#cmdhelp">2.15 Show Usage Command Usage (help)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdlosetup">2.16 Setup/teardown the Loop Device (losetup)</a>
+ <a href="#cmdifconfig">2.16 Show Network Configuration (ifconfig)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdls">2.17 List Directory Contents (ls)</a>
+ <a href="#cmdkill">2.17 Send a signal to a task (kill)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdmbhw">2.18 Access Memory (mb, mh, and mw)</a>
+ <a href="#cmdlosetup">2.18 Setup/teardown the Loop Device (losetup)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdps">2.19 Show Current Tasks and Threads (ps)</a>
+ <a href="#cmdls">2.19 List Directory Contents (ls)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdmkdir">2.20 Create a Directory (mkdir)</a>
+ <a href="#cmdmd5">2.20 Calculate MD5 (md5)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdmkfatfs">2.21 Create a FAT Filesystem (mkfatfs)</a>
+ <a href="#cmdmbhw">2.21 Access Memory (mb, mh, and mw)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdmkfifo">2.22 Create a FIFO (mkfifo)</a>
+ <a href="#cmdps">2.22 Show Current Tasks and Threads (ps)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdmkrd">2.23 Create a RAMDISK (mkrd)</a>
+ <a href="#cmdmkdir">2.23 Create a Directory (mkdir)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdmount">2.24 Mount a File System (mount)</a>
+ <a href="#cmdmkfatfs">2.24 Create a FAT Filesystem (mkfatfs)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdmv">2.25 Rename a File (mv)</a>
+ <a href="#cmdmkfifo">2.25 Create a FIFO (mkfifo)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdnfsmount">2.26 Mount an NFS file system (nfsmount)</a>
+ <a href="#cmdmkrd">2.26 Create a RAMDISK (mkrd)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdping">2.27 Check Network Peer (ping)</a>
+ <a href="#cmdmount">2.27 Mount a File System (mount)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdput">2.28 Send File Via TFTP (put)</a>
+ <a href="#cmdmv">2.28 Rename a File (mv)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdpwd">2.29 Show Current Working Directory (pwd)</a>
+ <a href="#cmdnfsmount">2.29 Mount an NFS file system (nfsmount)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdrm">2.30 Remove a File (rm)</a>
+ <a href="#cmdping">2.30 Check Network Peer (ping)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdrmdir">2.31 Remove a Directory (rmdir)</a>
+ <a href="#cmdput">2.31 Send File Via TFTP (put)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdset">2.32 Set an Environment Variable (set)</a>
+ <a href="#cmdpwd">2.32 Show Current Working Directory (pwd)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdsh">2.33 Execute an NSH Script (sh)</a>
+ <a href="#cmdrm">2.33 Remove a File (rm)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdsleep">2.34 Wait for Seconds (sleep)</a>
+ <a href="#cmdrmdir">2.34 Remove a Directory (rmdir)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdunmount">2.35 Unmount a File System (umount)</a>
+ <a href="#cmdset">2.35 Set an Environment Variable (set)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdunset">2.36 Unset an Environment Variable (unset)</a>
+ <a href="#cmdsh">2.36 Execute an NSH Script (sh)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdusleep">2.37 Wait for Microseconds (usleep)</a>
+ <a href="#cmdsleep">2.37 Wait for Seconds (sleep)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdwget">2.38 Get File Via HTTP (wget)</a>
+ <a href="#cmdunmount">2.38 Unmount a File System (umount)</a>
</td>
</tr>
<tr>
<td><br></td>
<td>
- <a href="#cmdxd">2.39 Hexadecimal Dump (xd)</a>
+ <a href="#cmdunset">2.39 Unset an Environment Variable (unset)</a>
+ </td>
+</tr>
+<tr>
+ <td><br></td>
+ <td>
+ <a href="#cmdurldec">2.40 URL Decode (urldecode)</a>
+ </td>
+</tr>
+<tr>
+ <td><br></td>
+ <td>
+ <a href="#cmdurlencode">2.41 URL Encode (urlencode)</a>
+ </td>
+</tr>
+<tr>
+ <td><br></td>
+ <td>
+ <a href="#cmdusleep">2.42 Wait for Microseconds (usleep)</a>
+ </td>
+</tr>
+<tr>
+ <td><br></td>
+ <td>
+ <a href="#cmdwget">2.43 Get File Via HTTP (wget)</a>
+ </td>
+</tr>
+<tr>
+ <td><br></td>
+ <td>
+ <a href="#cmdxd">2.44 Hexadecimal Dump (xd)</a>
</td>
</tr>
<tr>
@@ -750,7 +780,41 @@ test &lt;expression&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdcat"><h2>2.2 Concatenate Files (cat)</h2></a>
+ <a name="cmdbase64dec"><h2>2.2 Base64 Decode (base64dec)</h2></a>
+ </td>
+ </tr>
+</table>
+
+<p><b>Command Syntax:</b></p>
+<ul><pre>
+base64dec [-w] [-f] &lt;string or filepath&gt;
+</pre></ul>
+<p>
+ <b>Synopsis</b>.
+ <i>To be provided.</i>
+</p>
+
+<table width ="100%">
+ <tr bgcolor="#e4e4e4">
+ <td>
+ <a name="cmdbase64enc"><h2>2.3 Base64 Encode (base64enc)</h2></a>
+ </td>
+ </tr>
+</table>
+
+<p><b>Command Syntax:</b></p>
+<ul><pre>
+base64enc [-w] [-f] &lt;string or filepath&gt;
+</pre></ul>
+<p>
+ <b>Synopsis</b>.
+ <i>To be provided.</i>
+</p>
+
+<table width ="100%">
+ <tr bgcolor="#e4e4e4">
+ <td>
+ <a name="cmdcat"><h2>2.4 Concatenate Files (cat)</h2></a>
</td>
</tr>
</table>
@@ -768,7 +832,7 @@ cat <code>&lt;path&gt;</code> [<code>&lt;path&gt;</code> [<code>&lt;path&gt;</co
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdcd"><h2>2.3 Change Current Working Directory (cd)</h2></a>
+ <a name="cmdcd"><h2>2.5 Change Current Working Directory (cd)</h2></a>
</td>
</tr>
</table>
@@ -810,7 +874,7 @@ cd [&lt;dir-path&gt;|-|~|..]
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdcp"><h2>2.4 Copy Files (cp)</h2></a>
+ <a name="cmdcp"><h2>2.6 Copy Files (cp)</h2></a>
</td>
</tr>
</table>
@@ -828,7 +892,7 @@ cp &lt;source-path&gt; &lt;dest-path&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmddate"><h2>2.5 Show or set the date and time (date)</h2></a>
+ <a name="cmddate"><h2>2.7 Show or set the date and time (date)</h2></a>
</td>
</tr>
</table>
@@ -855,7 +919,7 @@ data -s &quot;Sep 1 11:30:00 2011&quot;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmddd"><h2>2.6 Copy and Convert Files (dd)</h2></a>
+ <a name="cmddd"><h2>2.8 Copy and Convert Files (dd)</h2></a>
</td>
</tr>
</table>
@@ -913,7 +977,7 @@ nsh&gt; dd if=/dev/ram0 of=/dev/null
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmddf"><h2>2.7 Show Volument Status (df)</h2></a>
+ <a name="cmddf"><h2>2.9 Show Volument Status (df)</h2></a>
</td>
</tr>
</table>
@@ -941,7 +1005,7 @@ nsh>
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdecho"><h2>2.8 Echo Strings and Variables (echo)</h2></a>
+ <a name="cmdecho"><h2>2.10 Echo Strings and Variables (echo)</h2></a>
</td>
</tr>
</table>
@@ -959,7 +1023,7 @@ echo [&lt;string|$name&gt; [&lt;string|$name&gt;...]]
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdexec"><h2>2.9 Execute User Code (exec)</h2></a>
+ <a name="cmdexec"><h2>2.11 Execute User Code (exec)</h2></a>
</td>
</tr>
</table>
@@ -978,7 +1042,7 @@ exec &lt;hex-address&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdexit"><h2>2.10 Exit NSH (exit)</h2></a>
+ <a name="cmdexit"><h2>2.12 Exit NSH (exit)</h2></a>
</td>
</tr>
</table>
@@ -997,7 +1061,7 @@ exit
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdfree"><h2>2.11 Show Memory Manager Status (free)</h2></a>
+ <a name="cmdfree"><h2>2.13 Show Memory Manager Status (free)</h2></a>
</td>
</tr>
</table>
@@ -1039,7 +1103,7 @@ nsh&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdget"><h2>2.12 Get File Via TFTP (get)</h2></a>
+ <a name="cmdget"><h2>2.14 Get File Via TFTP (get)</h2></a>
</td>
</tr>
</table>
@@ -1074,7 +1138,7 @@ get [-b|-n] [-f &lt;local-path&gt;] -h &lt;ip-address&gt; &lt;remote-path&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdhelp"><h2>2.13 Show Usage Command Usage (help)</h2></a>
+ <a name="cmdhelp"><h2>2.15 Show Usage Command Usage (help)</h2></a>
</td>
</tr>
</table>
@@ -1106,7 +1170,7 @@ help [-v] [&lt;cmd&gt;]
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdifconfig"><h2>2.14 Show Network Configuration (ifconfig)</h2></a>
+ <a name="cmdifconfig"><h2>2.16 Show Network Configuration (ifconfig)</h2></a>
</td>
</tr>
</table>
@@ -1157,7 +1221,7 @@ ifconfig nic_name ip_address
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdkill"><h2>2.15 Send a signal to a task (kill)</h2></a>
+ <a name="cmdkill"><h2>2.17 Send a signal to a task (kill)</h2></a>
</td>
</tr>
</table>
@@ -1198,7 +1262,7 @@ nsh&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdlosetup"><h2>2.16 Setup/teardown the Loop Device (losetup)</h2></a>
+ <a name="cmdlosetup"><h2>2.18 Setup/teardown the Loop Device (losetup)</h2></a>
</td>
</tr>
</table>
@@ -1251,7 +1315,7 @@ losetup d &lt;dev-path&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdls"><h2>2.17 List Directory Contents (ls)</h2></a>
+ <a name="cmdls"><h2>2.19 List Directory Contents (ls)</h2></a>
</td>
</tr>
</table>
@@ -1288,7 +1352,24 @@ ls [-lRs] &lt;dir-path&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdmbhw"><h2>2.18 Access Memory (mb, mh, and mw)</h2></a>
+ <a name="cmdmd5"><h2>2.20 Calculate MD5 (md5)</h2></a>
+ </td>
+ </tr>
+</table>
+
+<p><b>Command Syntax:</b></p>
+<ul><pre>
+md5 [-f] &lt;string or filepath&gt;
+</pre></ul>
+<p>
+ <b>Synopsis</b>.
+ <i>To be provided.</i>
+</p>
+
+<table width ="100%">
+ <tr bgcolor="#e4e4e4">
+ <td>
+ <a name="cmdmbhw"><h2>2.21 Access Memory (mb, mh, and mw)</h2></a>
</td>
</tr>
</table>
@@ -1342,7 +1423,7 @@ nsh&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdps"><h2>2.19 Show Current Tasks and Threads (ps)</h2></a>
+ <a name="cmdps"><h2>2.22 Show Current Tasks and Threads (ps)</h2></a>
</td>
</tr>
</table>
@@ -1368,7 +1449,7 @@ nsh&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdmkdir"><h2>2.20 Create a Directory (mkdir)</h2></a>
+ <a name="cmdmkdir"><h2>2.23 Create a Directory (mkdir)</h2></a>
</td>
</tr>
</table>
@@ -1403,7 +1484,7 @@ nsh>
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdmkfatfs"><h2>2.21 Create a FAT Filesystem (mkfatfs)</h2></a>
+ <a name="cmdmkfatfs"><h2>2.24 Create a FAT Filesystem (mkfatfs)</h2></a>
</td>
</tr>
</table>
@@ -1423,7 +1504,7 @@ mkfatfs &lt;path&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdmkfifo"><h2>2.22 Create a FIFO (mkfifo)</h2></a>
+ <a name="cmdmkfifo"><h2>2.25 Create a FIFO (mkfifo)</h2></a>
</td>
</tr>
</table>
@@ -1461,7 +1542,7 @@ nsh>
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdmkrd"><h2>2.23 Create a RAMDISK (mkrd)</h2></a>
+ <a name="cmdmkrd"><h2>2.26 Create a RAMDISK (mkrd)</h2></a>
</td>
</tr>
</table>
@@ -1512,7 +1593,7 @@ nsh&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdmount"><h2>2.24 Mount a File System (mount)</h2></a>
+ <a name="cmdmount"><h2>2.27 Mount a File System (mount)</h2></a>
</td>
</tr>
</table>
@@ -1591,7 +1672,7 @@ nsh> mount
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdmv"><h2>2.25 Rename a File (mv)</h2></a>
+ <a name="cmdmv"><h2>2.28 Rename a File (mv)</h2></a>
</td>
</tr>
</table>
@@ -1609,7 +1690,7 @@ mv &lt;old-path&gt; &lt;new-path&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdnfsmount"><h2>2.26 Mount an NFS file system (nfsmount)</h2></a>
+ <a name="cmdnfsmount"><h2>2.29 Mount an NFS file system (nfsmount)</h2></a>
</td>
</tr>
</table>
@@ -1628,7 +1709,7 @@ nfsmount &lt;server-address&gt; &lt;mount-point&gt; &lt;remote-path&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdping"><h2>2.27 Check Network Peer (ping)</h2></a>
+ <a name="cmdping"><h2>2.30 Check Network Peer (ping)</h2></a>
</td>
</tr>
</table>
@@ -1661,7 +1742,7 @@ nsh&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdput"><h2>2.28 Send File Via TFTP (put)</h2></a>
+ <a name="cmdput"><h2>2.31 Send File Via TFTP (put)</h2></a>
</td>
</tr>
</table>
@@ -1696,7 +1777,7 @@ put [-b|-n] [-f &lt;remote-path&gt;] -h &lt;ip-address&gt; &lt;local-path&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdpwd"><h2>2.29 Show Current Working Directory (pwd)</h2></a>
+ <a name="cmdpwd"><h2>2.32 Show Current Working Directory (pwd)</h2></a>
</td>
</tr>
</table>
@@ -1726,7 +1807,7 @@ nsh&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdrm"><h2>2.30 Remove a File (rm)</h2></a>
+ <a name="cmdrm"><h2>2.33 Remove a File (rm)</h2></a>
</td>
</tr>
</table>
@@ -1760,7 +1841,7 @@ nsh>
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdrmdir"><h2>2.31 Remove a Directory (rmdir)</h2></a>
+ <a name="cmdrmdir"><h2>2.34 Remove a Directory (rmdir)</h2></a>
</td>
</tr>
</table>
@@ -1795,7 +1876,7 @@ nsh>
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdset"><h2>2.32 Set an Environment Variable (set)</h2></a>
+ <a name="cmdset"><h2>2.35 Set an Environment Variable (set)</h2></a>
</td>
</tr>
</table>
@@ -1821,7 +1902,7 @@ nsh&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdsh"><h2>2.33 Execute an NSH Script (sh)</h2></a>
+ <a name="cmdsh"><h2>2.36 Execute an NSH Script (sh)</h2></a>
</td>
</tr>
</table>
@@ -1839,7 +1920,7 @@ sh &lt;script-path&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdsleep"><h2>2.34 Wait for Seconds (sleep)</h2></a>
+ <a name="cmdsleep"><h2>2.37 Wait for Seconds (sleep)</h2></a>
</td>
</tr>
</table>
@@ -1856,7 +1937,7 @@ sleep &lt;sec&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdunmount"><h2>2.35 Unmount a File System (umount)</h2></a>
+ <a name="cmdunmount"><h2>2.38 Unmount a File System (umount)</h2></a>
</td>
</tr>
</table>
@@ -1886,7 +1967,7 @@ nsh>
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdunset"><h2>2.36 Unset an Environment Variable (unset)</h2></a>
+ <a name="cmdunset"><h2>2.39 Unset an Environment Variable (unset)</h2></a>
</td>
</tr>
</table>
@@ -1912,7 +1993,41 @@ nsh&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdusleep"><h2>2.37 Wait for Microseconds (usleep)</h2></a>
+ <a name="cmdurldec"><h2>2.40 URL Decode (urldecode)</h2></a>
+ </td>
+ </tr>
+</table>
+
+<p><b>Command Syntax:</b></p>
+<ul><pre>
+urldecode [-f] &lt;string or filepath&gt;
+</pre></ul>
+<p>
+ <b>Synopsis</b>.
+ <i>To be provided.</i>
+</p>
+
+<table width ="100%">
+ <tr bgcolor="#e4e4e4">
+ <td>
+ <a name="cmdurlencode"><h2>2.41 URL Encode (urlencode)</h2></a>
+ </td>
+ </tr>
+</table>
+
+<p><b>Command Syntax:</b></p>
+<ul><pre>
+urlencode [-f] &lt;string or filepath&gt;
+</pre></ul>
+<p>
+ <b>Synopsis</b>.
+ <i>To be provided.</i>
+</p>
+
+<table width ="100%">
+ <tr bgcolor="#e4e4e4">
+ <td>
+ <a name="cmdusleep"><h2>2.42 Wait for Microseconds (usleep)</h2></a>
</td>
</tr>
</table>
@@ -1929,7 +2044,7 @@ usleep &lt;usec&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdwget">2.37 Get File Via HTTP (wget)</a>
+ <a name="cmdwget">2.43 Get File Via HTTP (wget)</a>
</td>
</tr>
</table>
@@ -1956,7 +2071,7 @@ wget [-o &lt;local-path&gt;] &lt;url&gt;
<table width ="100%">
<tr bgcolor="#e4e4e4">
<td>
- <a name="cmdxd"><h2>2.38 Hexadecimal dump (xd)</h2></a>
+ <a name="cmdxd"><h2>2.44 Hexadecimal dump (xd)</h2></a>
</td>
</tr>
</table>
@@ -2025,6 +2140,16 @@ nsh>
<td><code>CONFIG_NSH_DISABLE_TEST</code></td>
</tr>
<tr>
+ <td><b><code>base64dec</code></b></td>
+ <td><code>CONFIG_NETUTILS_CODECS</code> &amp;&amp; <code>CONFIG_CODECS_BASE64</code></td>
+ <td><code>CONFIG_NSH_DISABLE_BASE64DEC</code></td>
+ </tr>
+ <tr>
+ <td><b><code>base64enc</code></b></td>
+ <td><code>CONFIG_NETUTILS_CODECS</code> &amp;&amp; <code>CONFIG_CODECS_BASE64</code></td>
+ <td><code>CONFIG_NSH_DISABLE_BASE64ENC</code></td>
+ </tr>
+ <tr>
<td><b><code>cat</code></b></td>
<td><code>CONFIG_NFILE_DESCRIPTORS</code> &gt; 0</td>
<td><code>CONFIG_NSH_DISABLE_CAT</code></td>
@@ -2106,6 +2231,11 @@ nsh>
<td><code>CONFIG_NSH_DISABLE_LS</code></td>
</tr>
<tr>
+ <td><b><code>md5</code></b></td>
+ <td><code>CONFIG_NETUTILS_CODECS</code> &amp;&amp; <code>CONFIG_CODECS_HASH_MD5</code></td>
+ <td><code>CONFIG_NSH_DISABLE_MD5</code></td>
+ </tr>
+ <tr>
<td><b><code>mb,mh,mw</code></b></td>
<td><br></td>
<td>
@@ -2213,6 +2343,16 @@ nsh>
<td><code>CONFIG_NSH_DISABLE_UNSET</code></td>
</tr>
<tr>
+ <td><b><code>urldecode</code></b></td>
+ <td>!<code>CONFIG_NETUTILS_CODECS</code> &amp;&amp; <code>CONFIG_CODECS_URLCODE</code>
+ <td><code>CONFIG_NSH_DISABLE_URLDECODE</code></td>
+ </tr>
+ <tr>
+ <td><b><code>urlencode</code></b></td>
+ <td>!<code>CONFIG_NETUTILS_CODECS</code> &amp;&amp; <code>CONFIG_CODECS_URLCODE</code>
+ <td><code>CONFIG_NSH_DISABLE_URLENCODE</code></td>
+ </tr>
+ <tr>
<td><b><code>usleep</code></b></td>
<td>!<code>CONFIG_DISABLE_SIGNALS</code></td>
<td><code>CONFIG_NSH_DISABLE_USLEEP</code></td>
@@ -3517,6 +3657,8 @@ mount -t vfat /dev/ram1 /tmp
<li><a href="#custapps"><code>binfs</code></a></li>
<li><a href="#custapps">Built-In applications</a></li>
<li><a href="#builtinvars">Built-in variables</a></li>
+ <li><a href="#cmdbase64dec"><code>base64dec</code></a></li>
+ <li><a href="#cmdbase64enc"><code>base64enc</code></a></li>
<li><a href="#cmdcat"><code>cat</code></a></li>
<li><a href="#cmdcd"><code>cd</code></a></li>
<li><a href="#commands">Command summaries</a></li>
@@ -3597,6 +3739,7 @@ mount -t vfat /dev/ram1 /tmp
<li><a href="#cmdlosetup"><code>losetup</code></a></li>
<li><a href="#cmdls">ls</code></a></li>
<li><a href="#cmdmbhw"><code>mb</code></a></li>
+ <li><a href="#cmdmd5">md5</a></li>
<li><a href="#cmdmbhw"><code>mh</code></a></li>
<li><a href="#cmdmbhw"><code>mw</code></a></li>
<li><a href="#cmdmkdir"><code>mkdir</code></a></li>
@@ -3652,6 +3795,8 @@ mount -t vfat /dev/ram1 /tmp
<li><a href="#cmdunset"><code>unset</code></a></li>
<li><a href="#custonshlib"><code>up_cxxinitialize()</code></a></li>
<li><a href="#custinit"><code>up_nsh.c</code></a></li>
+ <li><a href="#cmdurldec"><code>urldecode</code></a></li>
+ <li><a href="#cmdurlencode"><code>urlencode</code></a></li>
<li><a href="#cmdusleep"><code>usleep</code></a></li>
<li><a href="#custapps"><code>waitpid()</code></a></li>
<li><a href="#cmdwget"><code>wget</code></a></li>