open-ameba/sdk/component/common/example/ssl_download
Drasko DRASKOVIC eeb7f808ae Change SDK dir name. Use OpenOCD only.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2017-05-14 18:47:13 +02:00
..
example_ssl_download.c Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00
example_ssl_download.h Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00
readme.txt Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00

SSL DOWNLOAD EXAMPLE

Description:
Download file from Web server via https.

Configuration:
Modify SSL_MAX_CONTENT_LEN in SSL config and configTOTAL_HEAP_SIZE in freertos config for large size file
Modify SERVER_HOST, SERVER_PORT and RESOURCE in example_ssl_download.c based on your SSL server

[platform_opts.h]
    #define CONFIG_EXAMPLE_SSL_DOWNLOAD    1

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