diff --git a/examples/wgetjson/Kconfig b/examples/wgetjson/Kconfig index 2e3b4b3eb..f7f4f236c 100644 --- a/examples/wgetjson/Kconfig +++ b/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/examples/wgetjson/wgetjson_main.c b/examples/wgetjson/wgetjson_main.c index 7f3096797..a137af438 100644 --- a/examples/wgetjson/wgetjson_main.c +++ b/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/nshlib/README.txt b/nshlib/README.txt index 043db2ae9..9f371678e 100644 --- a/nshlib/README.txt +++ b/nshlib/README.txt @@ -235,6 +235,10 @@ o test integer -gt integer | integer -le integer | integer -lt integer | integer -ne integer +o base64dec [-w] [-f] + +o base64dec [-w] [-f] + o cat [ [ ...]] This command copies and concatentates all of the files at @@ -257,10 +261,6 @@ o cd [|-|~|..] 'home' directory is '/'. 'cd ..' sets the current working directory to the parent directory. -o base64dec [-w] [-f] - -o base64dec [-w] [-f] - o cp Copy of the contents of the file at 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 ---