realtek_ameba_mp_sdk/component/common/example/http_download
2020-07-31 22:16:12 +08:00
..
example_http_download.c ameba micropython sdk first commit 2020-07-31 22:16:12 +08:00
example_http_download.h ameba micropython sdk first commit 2020-07-31 22:16:12 +08:00
readme.txt ameba micropython sdk first commit 2020-07-31 22:16:12 +08:00

HTTP DOWNLOAD EXAMPLE

Description:
Download file from Web server via http.

Configuration:
Modify SERVER_HOST, SERVER_PORT and RESOURCE in example_http_download.c based on your HTTP server.

[platform_opts.h]
	#define CONFIG_EXAMPLE_HTTP_DOWNLOAD    1

Execution:
Can make automatical Wi-Fi connection when booting by using wlan fast connect example.
A http download example thread will be started automatically when booting.