Giter Club home page Giter Club logo

Comments (6)

gregrae avatar gregrae commented on June 8, 2024 1

Thank you Steph! You are very kind.

from remote-control-with-websocket.

m1cr0lab avatar m1cr0lab commented on June 8, 2024

Hi Greg,

It's a great reward for me to know that I was able to help you and that the tutorial has really brought you something.

Thank you for your feedback.

from remote-control-with-websocket.

gregrae avatar gregrae commented on June 8, 2024

So helpful!!
One small snag i hit - in vs/Platformio I could not find "upload filesystem image" but eventually found it under environment/Platform

I am moving forward and adding a second esp32 to act as a websocket client. I have seen the documentation at
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/esp_websocket_client.html#
Do you know of any other sample code I might study for the websocket client?

uploadfs

from remote-control-with-websocket.

m1cr0lab avatar m1cr0lab commented on June 8, 2024

Yes, indeed. It has already been pointed out to me and you can read my answer.

As far as programming a WebSocket client is concerned, I refer you to Espressif's documentation on the subject.
I haven't tested this possibility myself, but I guess you can also take inspiration from this tutorial.
Maybe there are more recent libraries... I don't know, you have to search a little ;-)

However, if you simply want to make two ESP32s communicate with each other, you don't need this layer. You can use the connectionless ESP-NOW protocol designed by Espressif. It's much lighter and much less energy consuming than a WiFi connection! You will find many tutorials on the subject here and there, especially on RNT. Who knows? Maybe I'll write one myself one day...

from remote-control-with-websocket.

m1cr0lab avatar m1cr0lab commented on June 8, 2024

@gregrae Hi Greg!

I found this WebSocket Sample Application that should be useful to you ;-)
It uses Espressif's ESP WebSocket Client.

The code will give you the keys you are looking for I guess.

from remote-control-with-websocket.

gregrae avatar gregrae commented on June 8, 2024

from remote-control-with-websocket.

Related Issues (20)

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.