Comments (6)
Thank you Steph! You are very kind.
from remote-control-with-websocket.
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.
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?
from remote-control-with-websocket.
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.
@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.
from remote-control-with-websocket.
Related Issues (20)
- Stability HOT 1
- Excellent tutorial
- Great Tutorial. One question about the code HOT 1
- Secure Sockets
- thank you will have a look if i can make Electra to work with this HOT 1
- Question from a user from Germany
- How to add some functionality using Websockets
- question to everyone.....
- Thank you for the great tutorial
- Help needed for my project
- Huge thanks, and a request to cover saving parameters HOT 2
- Super
- TRES BON TUTO HOT 1
- Removed function mbedtls_md5_starts in WebAuthentication.cpp results in build error HOT 2
- Merci pour ce trรจs bon tutoriel HOT 1
- vscode+platformIO is giving me errors when compiling version 0.6! HOT 1
- Client-side display of websocket data
- Thanks - very nice
- esp switch scheduler
- Can you point me in the right direction please?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remote-control-with-websocket.