You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK, why not change the middleware from using websockets to python-socket.io as like the Flask-webapp. So that, like Web-client, it polls for auto re-connect and gets connected to ESP32. This fulfills the need right - connection breaking right..?
reg.
as a client -- for ESP32.
This appears completely fine, as as per the need, the ESP32 should able to serve both Camera feed and collision feed simultaneously.
When being a server, both needs are served on different port -- good.
If becomes client, how to make two features available parallely?
May say, multi-threading.. Why go for even more complex setup, when being as a server does the job perfectly fine, that too neatly??
reg.
Use a router ... (for assigning static IP.)
In middleware, can update the IP address of ESP32 easily right.
Hence no need of any router, just simply go with mobile hotspot.
Change the library from websockets to python-socketio and make sure to find and enable autoReconnnect to True. So, that, even if by some cause, it gets disconnected, by socketio's polling mechanism, can connect back to server.
Need
Current setup (of ESP32)
Possible issues that raise out (When becomes a client)
Solutions
The text was updated successfully, but these errors were encountered: