diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-31 17:53:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-31 17:53:28 +0000 |
commit | a74dd084927e6e7d5f44fcb54216098143cf38e1 (patch) | |
tree | abfc777697b5e454ff3263e81608b01fd720a3a7 /apps | |
parent | 33a3edbaf731fd409bfd6e9aa3ad46a194a2f9a4 (diff) | |
download | px4-firmware-a74dd084927e6e7d5f44fcb54216098143cf38e1.tar.gz px4-firmware-a74dd084927e6e7d5f44fcb54216098143cf38e1.tar.bz2 px4-firmware-a74dd084927e6e7d5f44fcb54216098143cf38e1.zip |
Documentation update
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5282 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/examples/wgetjson/Kconfig | 2 | ||||
-rw-r--r-- | apps/examples/wgetjson/wgetjson_main.c | 2 | ||||
-rw-r--r-- | apps/nshlib/README.txt | 10 |
3 files changed, 8 insertions, 6 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 --- |