WebSerial | Remote Serial monitor for ESP8266 & ESP32

 by   ayushsharma82 C Version: v1.4.0 License: GPL-3.0

kandi X-RAY | WebSerial Summary

kandi X-RAY | WebSerial Summary

WebSerial is a C library typically used in Internet of Things (IoT), Arduino applications. WebSerial has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

WebSerial is a Serial Monitor for ESP8266 & ESP32 Microcontrollers that can be accessed remotely via a web browser. Webpage is stored in program memory of the microcontroller.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              WebSerial has a low active ecosystem.
              It has 382 star(s) with 90 fork(s). There are 17 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 14 open issues and 29 have been closed. On average issues are closed in 139 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of WebSerial is v1.4.0

            kandi-Quality Quality

              WebSerial has 0 bugs and 0 code smells.

            kandi-Security Security

              WebSerial has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              WebSerial code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              WebSerial is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              WebSerial releases are available to install and integrate.
              Installation instructions are available. Examples and code snippets are not available.
              It has 28 lines of code, 0 functions and 9 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of WebSerial
            Get all kandi verified functions for this library.

            WebSerial Key Features

            No Key Features are available at this moment for WebSerial.

            WebSerial Examples and Code Snippets

            No Code Snippets are available at this moment for WebSerial.

            Community Discussions

            QUESTION

            WebSerial API on WINDOWS - "DOMException: Failed to open serial port."
            Asked 2021-Aug-03 at 09:42

            I am trying to use the WebSerial API on Windows after it worked fine on macOS with no problem. The device was plugged into a Macbook and no extra action was required. When I connect the device (USB to Serial adapter) to a Windows machine and access my Angular website using Google Chrome, I get this error:

            DOMException: Failed to open serial port.

            When I access chrome://device-log/ I see this error:

            [USB][ERROR][17:09:20] Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)

            Below is the code that I am using, and an error is displayed when code runs line await this.scale.open({ baudRate: 9600 });.

            ...

            ANSWER

            Answered 2021-Aug-03 at 09:42

            It was a driver issue.

            Most old models USB to Serial adapters are presenting problems on Windows 10. After trying several drivers, I found this one that solved my problem.

            It is linked to a Youtube video in a language that I do not understand. However, the steps are easy to follow. After downloading the driver and following the steps, it works just fine.

            Source https://stackoverflow.com/questions/68579810

            QUESTION

            Data coming from web serial api is garbled
            Asked 2021-Jan-07 at 05:37

            When retrieving data from a balance using webserial api. I am getting the following

            SԬ-000��.96���

            When I should be getting ST,-00027.96 g

            I am opening the port with the following

            ...

            ANSWER

            Answered 2021-Jan-01 at 08:11

            This isn't a tested answer as I have no way of reading a serial port with actual data coming in.

            However, looking at the characters that have been read correctly and those that haven't there is consistency.

            Those that have been read correctly will not have a parity bit set (should there be one) and those that have been read incorrectly will have a parity bit set.

            for example: lowercase g in ASCII is octal 147 - 01100111 in binary - an odd number of bits set uppercase S in ASCII is octal 123 - 01010011 in binary - an even number of bits set

            The suspicion is therefore that different character codings are being used, particularly as there appears to be a merging of the T and , to give a character.

            So, is parity being set on the serial device now but not being taken into account when reading the characters for example? Is some sixteen bit encoding being looked for or...

            Sorry I cannot investigate further. At least try reading with the parity bit set rather than not as a starter.

            Source https://stackoverflow.com/questions/65527526

            QUESTION

            WebSerial API Device cannot open port on Ubuntu
            Asked 2020-Sep-01 at 09:16

            I have tried to use the WebSerial API on Ubuntu after it worked on Windows and ChromeOS. When I try to connect a device, i get this error: DOMException: Failed to open serial port. Error

            I have created a udev rule but it did not work.

            ...

            ANSWER

            Answered 2020-Sep-01 at 09:16

            In my case, this problem was solved by adding my user to the "dialout" group with sudo adduser [username] dialout (take into account that the machine should be restarted after that) and then it worked!.

            Source https://stackoverflow.com/questions/63112645

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install WebSerial

            Checkout the Pro version of the WebSerial library which comes with enhanced & snappy UI, along with 'clear' & 'lock scroll' buttons on the monitor interface. Best of all, it's only 10KB in size compared to 50KB of regular WebSerial. Available Here:.
            https://www.buymeacoffee.com/6QGVpSj/e/25091
            https://webserial.pro
            Go to Sketch > Include Library > Library Manager > Search for "WebSerial" > Install. For Windows: Download the Repository and extract the .zip in Documents>Arduino>Libraries>{Place "WebSerial" folder Here}. For Linux: Download the Repository and extract the .zip in Sketchbook>Libraries>{Place "WebSerial" folder Here}. Include other library https://github.com/me-no-dev/ESPAsyncWebServer https://github.com/me-no-dev/AsyncTCP. Download the Repository, Go to Sketch>Include Library>Add .zip Library> Select the Downloaded .zip File.

            Support

            WebSerial is very similar to the default Serial Monitor Library of Arduino.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link