sdk-ameba-v4.0c_180328/component/common/example/ssl_server
2019-04-02 16:34:25 +08:00
..
example_ssl_server.c first add sdk 2019-04-02 16:34:25 +08:00
example_ssl_server.h first add sdk 2019-04-02 16:34:25 +08:00
example_ssl_server_mbedtls_dtls.c first add sdk 2019-04-02 16:34:25 +08:00
readme.txt first add sdk 2019-04-02 16:34:25 +08:00

SSL SERVER EXAMPLE

Description:
A simple SSL server which can reply for the https request

Configuration:

Modify SERVER_PORT and response content in example_ssl_server.c based on your SSL server.

[config_rsa.h]
	#define POLARSSL_CERTS_C
	#define POLARSSL_SSL_SRV_C

[platform_opts.h]
	#define CONFIG_EXAMPLE_SSL_SERVER	1

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