Giter Club home page Giter Club logo

esp8266_sd_easywebsocket's Introduction

ESP8266_SD_EasyWebSocket BETA 1.50

Simple library for WebSocket communication with ESP-WROOM-02(ESP8266) and smartphone browser.
This requires the Arduino core for ESP8266 WiFi chip library.
https://github.com/esp8266/arduino
This use SD card (SPI).

My Blog: https://www.mgo-tec.com

Change log:

(1.50)
Greatly improved handshake function composition.
Added a function to GET Web articles by https (SSL).
Along with that, include WiFiClientSecure.h.
Significant improvement of sample sketch.
Other minor fixes.
   -NEW Class-
EWS_HandShake_main
Get_Http_Req_Status
EWS_https_Web_Get
(Attention !: Consumes a lot of memory.)

(1.47)
I added a function that can divide the Websocket header file and include the automatically acquired local IP address.
EWS_Dev_AutoLIP_HandShake

(1.45)
A watchdog timer of ESP8266 to create a grace period to operate, has been added here and there yield ().
As a result, I think the operation is stable. Sample sketch also has been corrected.

-NEW class-
EWS_BrowserReceiveTextTag2
EWS_Status_Text2
EWS_WebSocket_Reconnection_Button2
EWS_Close_Button2
EWS_Window_ReLoad_Button2

(1.42)
Fixed ESP8266DataReceive_SD_write class.

(1.41)
*Upgraded EasyWebSocket beta 1.39 library.
Bug fix etc...

【更新履歴】(Japanese)

(1.50)
ハンドシェイク関数関連の構成を大幅改良。
Web記事を https ( SSL )でGETする関数を追加。
それに伴い、WiFiClientSecure.h をインクルード。
サンプルスケッチの大幅改良。
その他、軽微な修正。

-以下の関数を追加-
EWS_HandShake_main
Get_Http_Req_Status
EWS_https_Web_Get
(この関数はメモリを多く消費するので注意)

(1.47)
以下の関数を追加

EWS_Dev_AutoLIP_HandShake

WebSocket用のHTMLヘッダファイルを分割し、ローカルIPアドレスを自動取得して盛り込めるようにしました。

(1.45)
ESP8266のウォッチドッグタイマを作動させる猶予時間を作るために、所々 yield() を追加しました。
それにより、動作が安定したと思います。
サンプルスケッチも修正しました。

-NEW class-
EWS_BrowserReceiveTextTag2
EWS_Status_Text2
EWS_WebSocket_Reconnection_Button2
EWS_Close_Button2
EWS_Window_ReLoad_Button2

(1.42)
ESP8266DataReceive_SD_write関数を修正しました。

(1.41)
当方のEasyWebSocket beta 1.39 ライブラリをSPI接続のSDカードでできるように更新。SPIFFSは使えません。
SPIFFSよりも速いです。
細かなバグやライブラリ再編、ボタンデザイン変更など。

Credits and license

*Licensed under the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1

Copyright (c) 2016 Mgo-tec
This library improvement collaborator is Mr.Visyeii.

This library is used by the Arduino IDE(Tested in ver1.6.11).
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is NO WARRANTY.

Reference LGPL-2.1 license statement --> https://opensource.org/licenses/LGPL-2.1

Reference Blog --> https://www.mgo-tec.com

The esp8266 core for Arduino(Tested in ver2.3.0) --> https://github.com/esp8266/Arduino
Released under the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1

ESP8266WiFi.h - Included WiFi library for esp8266
WiFiServer.cpp - The library modification
Copyright (c) 2014 Ivan Grokhotkov.
This file is part of the esp8266 core for Arduino environment.
Released under the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1

WiFiClientSecure.cpp - Variant of WiFiClient with TLS support
Copyright (c) 2015 Ivan Grokhotkov.
This file is part of the esp8266 core for Arduino environment.
Released under the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1

Hash.h - Included library
Copyright (c) 2015 Markus Sattler.
This file is part of the esp8266 core for Arduino environment.
Released under the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1

My Blog:

Other usage is Japanese, please visit my blog.
https://www.mgo-tec.com

esp8266_sd_easywebsocket's People

Contributors

mgo-tec avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.