Sockets on ESP32?
-
- Posts: 222
- Joined: Mon Feb 15, 2021 1:44 pm
- Has thanked: 124 times
- Been thanked: 132 times
Sockets on ESP32?
Francesco, some time ago we were trying to get a simple implentation of SOCKETs working as a variation of WGET and you decided this would have to be a separate command to be investigated in the future. Is SOCKET still a possibility?
- cicciocb
- Site Admin
- Posts: 1978
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 425 times
- Been thanked: 1320 times
- Contact:
Re: Sockets on ESP32?
HI Andy,
honestly I forgot this point.
Could you just help me to remember?
What is the goal?
Thanks
honestly I forgot this point.
Could you just help me to remember?
What is the goal?
Thanks
-
- Posts: 222
- Joined: Mon Feb 15, 2021 1:44 pm
- Has thanked: 124 times
- Been thanked: 132 times
Re: Sockets on ESP32?
The original thread mentioning this is here : https://groups.google.com/g/annex_wifi_ ... 37LNBNBQAJ
I was trying to use a websocket for receiving data for my earthquake display but this method was not implented in Annex. You a sent me a couple of modified Annex versions to try based on wget which worked, but were not reliable so we dropped it at the time and I moved to wgetasync to retrieve the data.
Since that time, I think a couple of users have expressed and interest in websockets as an efficient way of reading data from other sensors and networks.
I was trying to use a websocket for receiving data for my earthquake display but this method was not implented in Annex. You a sent me a couple of modified Annex versions to try based on wget which worked, but were not reliable so we dropped it at the time and I moved to wgetasync to retrieve the data.
Since that time, I think a couple of users have expressed and interest in websockets as an efficient way of reading data from other sensors and networks.
- cicciocb
- Site Admin
- Posts: 1978
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 425 times
- Been thanked: 1320 times
- Contact:
Re: Sockets on ESP32?
Ok,
if I understand the goal is to open a websocket connection and leave it open receiving data as soon as they are available.
Always hard to make it work with the memory limitations of the ESP8266 but should work with the ESP32
if I understand the goal is to open a websocket connection and leave it open receiving data as soon as they are available.
Always hard to make it work with the memory limitations of the ESP8266 but should work with the ESP32