mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2026-03-23 11:04:50 +00:00
add example
This commit is contained in:
parent
0cd01e4dc1
commit
5cd34b0c9f
75 changed files with 6023 additions and 217 deletions
23
RTL00_SDKV35a/component/common/example/httpd/readme.txt
Normal file
23
RTL00_SDKV35a/component/common/example/httpd/readme.txt
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
HTTPD EXAMPLE
|
||||
|
||||
Description:
|
||||
Based on HTTPD API, an HTTP/HTTPS server example with a simple homepage and GET/POST method test pages are provided
|
||||
|
||||
Configuration:
|
||||
[platform_opts.h]
|
||||
#define CONFIG_EXAMPLE_HTTPD 1
|
||||
[lwipopts.h]
|
||||
#define SO_REUSE 1
|
||||
|
||||
SSL Configuration for HTTPS:
|
||||
[config_rsa.h]
|
||||
#define POLARSSL_CERTS_C
|
||||
#define POLARSSL_SSL_SRV_C
|
||||
|
||||
Execution:
|
||||
Can make automatical Wi-Fi connection when booting by using wlan fast connect example.
|
||||
A httpd example thread is started automatically when booting.
|
||||
Both HTTP and HTTPS are supported by this exmaple, and can be changed by modifying USE_HTTPS.
|
||||
Can test with a Web browser connecting to the homepage of httpd server.
|
||||
Should link PolarSSL bignum.c to SRAM to speed up SSL handshake if starting HTTPS server.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue