OVMS3-idf/examples/protocols/openssl_client
David Cermak 31b2702387 esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
..
main esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK() 2019-12-17 09:07:49 +01:00
CMakeLists.txt protocol examples: enable protocol examples for esp32sbeta 2019-11-01 11:14:10 +08:00
Makefile examples/protocols/openssl: use common network component 2019-04-15 03:32:05 +00:00
README.md build system: Use CMake-based build system as default when describing commands 2019-07-08 17:31:27 +10:00

Openssl Example

The Example contains of OpenSSL client demo.

Open the project configuration menu (idf.py menuconfig):

  • Configure Wi-Fi or Ethernet under "Example Connection Configuration" menu. See "Establishing Wi-Fi or Ethernet Connection" section in examples/protocols/README.md for more details.

  • When using Make build system, set Default serial port under Serial flasher config.

  • Configure target domain and port number under "Example Configuration"

If you want to test the OpenSSL client demo:

  1. compile the code and load the firmware
  2. open the UART TTY, then you can see it print the context of target domain

See the README.md file in the upper level 'examples' directory for more information about examples.