Search found 43 matches
- Thu Dec 10, 2020 4:43 pm
- Forum: ESP32 boards
- Topic: Socket handling with Chrome
- Replies: 2
- Views: 179
Re: Socket handling with Chrome
one small remark: in case a connection breaks (intentionally or not) chrome will try to fetch the content of the url again. only in case of this "staying-open" connection. here it will not open a new one again. firefox will do (by the way) also a retry in case the connection breaks. both try 3 times...
- Wed Dec 09, 2020 10:17 am
- Forum: ESP32 boards
- Topic: ESP32 cam video stream?
- Replies: 1
- Views: 234
Re: ESP32 cam video stream?
for that you would need to serve (like a webserver) HTTP RANGE requests.
Range Request on MDN:
https://developer.mozilla.org/en-US/doc ... ders/Range
on the client (web-browser) you put a <video> tag
https://developer.mozilla.org/de/docs/W ... ment/video
Range Request on MDN:
https://developer.mozilla.org/en-US/doc ... ders/Range
on the client (web-browser) you put a <video> tag
https://developer.mozilla.org/de/docs/W ... ment/video
- Wed Dec 09, 2020 9:29 am
- Forum: ESP32 boards
- Topic: Socket handling with Chrome
- Replies: 2
- Views: 179
Re: Socket handling with Chrome
i had the same problem after accept() use the client (or client_socket in your example) to poll with a timeout if some data is available, otherwise close the socket probably this code snipplet helps...? try with: import uselect timeout = 200 # 200 ms, or any value what fits into your reaction time ....
- Mon Nov 30, 2020 6:51 am
- Forum: ESP32 boards
- Topic: esp32 not responsing
- Replies: 7
- Views: 388
Re: esp32 not responsing
good point. thanks. i have to admit that i haven't thought into this direction after seeing the data coming in over serial with mpycntrl. but can't try it now because i m not at home (traveling for a while) and i don't have a small cable with me. i also dont't have a resistor with me (see here under...
- Sun Nov 29, 2020 7:39 pm
- Forum: ESP32 boards
- Topic: esp32 not responsing
- Replies: 7
- Views: 388
- Sun Nov 29, 2020 7:38 pm
- Forum: ESP32 boards
- Topic: esp32 not responsing
- Replies: 7
- Views: 388
- Sun Nov 22, 2020 3:51 am
- Forum: ESP32 boards
- Topic: esp32 not responsing
- Replies: 7
- Views: 388
Re: esp32 not responsing
another remark:
when running
the green led blinks.
when running
Code: Select all
esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash
- Sat Nov 21, 2020 7:11 pm
- Forum: ESP32 boards
- Topic: esp32 not responsing
- Replies: 7
- Views: 388
esp32 not responsing
i do have a strange behaviour with my esp32 board. it stopped responding over serial. also erase flash with esptool do not work esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash esptool.py v3.0 Serial port /dev/ttyUSB0 Connecting........_____....._____....._____....._____....._____....._____.....
- Fri Oct 30, 2020 10:01 am
- Forum: Programs, Libraries and Tools
- Topic: micro-framework for esp32 and esp8266
- Replies: 4
- Views: 1279
Re: micro-framework for esp32 and esp8266
to whom it may concern new version v0.0.17 released today https://github.com/kr-g/mpymodcore contains PEP8, some bug fixes, and a first draft of auto-discovery and auto-configuration of modules having an __app__,py file in their path (along with an implementation of the Plugin class). at the moment ...
- Fri Oct 23, 2020 2:57 pm
- Forum: Programs, Libraries and Tools
- Topic: micro-framework for esp32 and esp8266
- Replies: 4
- Views: 1279
Re: micro-framework for esp32 and esp8266
to whom it may concern new version v0.0.16 released today https://github.com/kr-g/mpymodcore highlights: - ace editot can edit files > 4kb - ace editor support for code beautify for html, css, js, json file types - asyncio integration for more refer to CHANGELOG => https://github.com/kr-g/mpymodcore...