浏览代码

Merge pull request #84 from ayushsharma82/dev

v2.0.2
Ayush Sharma 10 月之前
父节点
当前提交
bf47ffc079
共有 4 个文件被更改,包括 5 次插入3 次删除
  1. 2 0
      README.md
  2. 1 1
      library.json
  3. 1 1
      library.properties
  4. 1 1
      src/WebSerial.cpp

+ 2 - 0
README.md

@@ -15,6 +15,8 @@
 <br/>
 
 ## Features
+
+- 📜 Log, monitor or debug your firmware/product with ease
 - 🔥 A powerful tool that lives in your microcontroller itself
 - 🛜 Access it anytime & from anywhere within same network (LAN)
 - 🎷 No need to learn HTML/CSS/JS

+ 1 - 1
library.json

@@ -15,7 +15,7 @@
       "maintainer": true
     }
   ],
-  "version": "2.0.1",
+  "version": "2.0.2",
   "frameworks": "arduino",
   "platforms": ["espressif8266", "espressif32"],
   "dependencies": [

+ 1 - 1
library.properties

@@ -1,5 +1,5 @@
 name=WebSerial
-version=2.0.1
+version=2.0.2
 author=Ayush Sharma
 category=Communication
 maintainer=Ayush Sharma <asrocks5@gmail.com>

+ 1 - 1
src/WebSerial.cpp

@@ -29,7 +29,7 @@ void WebSerialClass::begin(AsyncWebServer *server, const char* url) {
   _ws = new AsyncWebSocket("/wserial");
 
   if (_authenticate) {
-    _ws->setAuthentication(_username, _password);
+    _ws->setAuthentication(_username.c_str(), _password.c_str());
   }
 
   // Webpage Handler