mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
feature/openssl: fixup the file and code style
This commit is contained in:
parent
656543c5ca
commit
2ed9e2d9a8
@ -6,8 +6,8 @@ First you should config the project by "make menuconfig":
|
||||
Example Configuration ->
|
||||
1. Target Domain : the domain that you want to connect to, and default is "www.baidu.com".
|
||||
2. Target port number : the port number of the target domain, and default is 443.
|
||||
3. WiFi SSID : you own wifi, which is connected to the Internet, and default is "myssid".
|
||||
4. WiFi Password : wifi password, and default is "mypassword"
|
||||
3. WIFI SSID : your own WIFI, which is connected to the Internet, and default is "myssid".
|
||||
4. WIFI Password : WIFI password, and default is "mypassword"
|
||||
|
||||
If you want to test the OpenSSL client demo:
|
||||
1. compile the code and load the firmware
|
||||
|
@ -22,15 +22,11 @@
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/event_groups.h"
|
||||
|
||||
#include "esp_types.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp_system.h"
|
||||
#include "esp_wifi.h"
|
||||
#include "esp_event_loop.h"
|
||||
#include "esp_log.h"
|
||||
|
||||
#include "nvs_flash.h"
|
||||
#include "tcpip_adapter.h"
|
||||
|
||||
#include "lwip/sockets.h"
|
||||
#include "lwip/netdb.h"
|
||||
|
@ -4,8 +4,8 @@ The Example contains of OpenSSL server demo.
|
||||
|
||||
First you should configure the project by "make menuconfig":
|
||||
Example Configuration ->
|
||||
1. WiFi SSID: WiFi network to which your PC is also connected to.
|
||||
1. WiFi Password: wifi password
|
||||
1. WIFI SSID: WIFI network to which your PC is also connected to.
|
||||
1. WIFI Password: WIFI password
|
||||
|
||||
IF you want to test the OpenSSL server demo:
|
||||
1. compile the code and load the firmware
|
||||
@ -16,5 +16,6 @@ IF you want to test the OpenSSL server demo:
|
||||
Note:
|
||||
The private key and certification at the example are not trusted by web browser, because they are not created by CA official, just by ourselves.
|
||||
You can alse create your own private key and ceritification by "openssl at ubuntu or others".
|
||||
We have the document of "ESP8266_SDKSSL_User_Manual_EN_v1.4.pdf" at "http://www.espressif.com/en/support/download/documents". By it you can gernerate the private key and certification with the fomate of ".pem"
|
||||
|
||||
See the README.md file in the upper level 'examples' directory for more information about examples.
|
||||
|
@ -22,15 +22,11 @@
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/event_groups.h"
|
||||
|
||||
#include "esp_types.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp_system.h"
|
||||
#include "esp_wifi.h"
|
||||
#include "esp_event_loop.h"
|
||||
#include "esp_log.h"
|
||||
|
||||
#include "nvs_flash.h"
|
||||
#include "tcpip_adapter.h"
|
||||
|
||||
#include "lwip/sockets.h"
|
||||
#include "lwip/netdb.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user