[ESP8266 RTOS] SSL client Demo

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

[ESP8266 RTOS] SSL client Demo

Postby ESP_Faye » Wed Dec 30, 2015 2:03 pm

Here is an example of SSL client based on ESP8266_RTOS_SDK. It will connect to Espressif Cloud and ping it.
  1. If ping succeed, it will continually ping the server.
  2. If ping fail, it will try to reconnect to the server.
  3. If the connection broke, it will try to reconnect to the server.
  4. It will verify the server's certificate during handshake.

Thanks for your interest in ESP8266 !

附件是基于 ESP8266_RTOS_SDK 的 SSL 简单示例,它将连接 Espressif Cloud 并且发送 ping 包。
  1. 如果 ping 成功,间隔一段时间后,将继续发送 ping 包。
  2. 如果 ping 失败,ESP8266 将主动断开连接,重新握手。
  3. 如果连接断开,ESP8266 将重新握手。
  4. 本示例在握手时会执行服务器证书的单向验证。

感谢您对 ESP8266 的关注!
Attachments
ESP8266_RTOS_TLS_DEMO.zip
(343.04 KiB) Downloaded 2849 times

scilogyhunter
Posts: 3
Joined: Tue Dec 29, 2015 1:20 pm

Re: [ESP8266 RTOS] SSL client Demo

Postby scilogyhunter » Fri Mar 11, 2016 2:15 pm

使用SSL client demo 编译出错,使用的是esp8266_rtos_sdk_v1.4.0_16_02_26

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: [ESP8266 RTOS] SSL client Demo

Postby ESP_Faye » Wed Apr 20, 2016 11:36 am

您好,

请问您编译遇到什么错误?
您可以在 github 下载更新后的 ESP8266_RTOS_SDK 使用。

Who is online

Users browsing this forum: No registered users and 1 guest