ESP32 Technical Tutorials: Tasks and concurrent Sockets

  Рет қаралды 14,330

Kolban Technical Tutorials

Kolban Technical Tutorials

Күн бұрын

Пікірлер: 33
@saeedariankia
@saeedariankia 12 күн бұрын
Thank you very much for your tutorial bro, you are really expert and thanks for the book that you have prepared for ESP32
@cad3175
@cad3175 8 жыл бұрын
..very good and thank you very much, the esp32 users are lucky to have you :)
@kolban1
@kolban1 8 жыл бұрын
Very kind sir ... very kind and appreciated.
@gael5773
@gael5773 11 ай бұрын
really good little lesson, in my case to refresh the memory
@Olfox2
@Olfox2 7 жыл бұрын
Thanks Kolban, you are so crystal clear it's really the first time i see a video from an american guy that speak so clearly and where there is intermediate summury to really nicely follow the subject. I'm almost ready to start FreeRtos ( just need to follow the tutorial instaling Eclipse ...) . Thank you very much !!!!!!
@gregstewart1990
@gregstewart1990 8 жыл бұрын
Great video. This video explains so clearly how to properly use sockets with threads.
@kolban1
@kolban1 8 жыл бұрын
Thank you kind sir ... hoping to make more videos as time goes by.
@davidreidguru
@davidreidguru 5 жыл бұрын
I know this is a couple of years old, but I'm loving this stuff (and your eBook over on LeanPub). I've gotten into the ESP32 on Arduino, and now feel like working 'up' to the 'less automated' methods of programming .. looking forward to making it all the way through your tutorials :) Cheers !
@crckdns
@crckdns 6 жыл бұрын
Perfect and simple explanation about tasks in rtos. Great!
@pcbreflux
@pcbreflux 8 жыл бұрын
Hi, exellent explaination. Reminds me of W. Richard Stevens but leveled up to RTOS on the ESP32. Thank you.
@dinakrishnamoharana6494
@dinakrishnamoharana6494 7 жыл бұрын
Your Tutorials are excellent
@Jindraxx20
@Jindraxx20 6 жыл бұрын
Thank you for the video mr.Kolban.
@SandeepSolankis
@SandeepSolankis 4 жыл бұрын
Awesome tutorial ! Thanks a lot !
@DrGreenGiant
@DrGreenGiant 4 жыл бұрын
Brilliant video, thank you!
@peut
@peut 8 жыл бұрын
Very clearly explained, thanks! However, I still have a few questions: How many tasks will maximally run in parallel in your example? 5? Will the 6th client block until one of the tasks ended? Or will it wait longer due to tcp timeouts? At what number of tasks will the ESP32 choke or stop responding , did you try, or is there a hardcoded limit?
@kolban1
@kolban1 8 жыл бұрын
Howdy Jose, I try and get good folks like yourself to push questions through the ESP32 forums. There are smarter folks than me who will be able to assist. esp32.com/index.php From a tasks perspective, I don't believe there is an inherent limit on the number of tasks that can be spawned. As long as you have RAM resources for a big enough stack, you can keep creating tasks and everyone should be happy. As you have more tasks and each is eligible to run, we will find that the frequency with which they are given the limited number of CPUs will decrease as you will be spreading a finite resource (CPU) thinner across the tasks. From a TCP/IP sockets perspective, when we configure the ESP-IDF framework, we define the maximum number of socket connections we may have. The maximum configurable at present is 16. At the Sockets API layer ... the listen() API (which is not ESP-32 specific) specifies how many socket connections can be received before they are handed off in an accept call. If we code "5", then we can receive 5 concurrent socket client connects (maximum) before calling "accept" if we fail to call accept fast enough and a 6th connect request arrives before an accept, then that 6th call will be rejected and the originator informed.
@peut
@peut 8 жыл бұрын
Thanks again for your insight Neil!
@joealsubash4733
@joealsubash4733 4 жыл бұрын
Hi, thanks for the great tutorial. I was wondering how your laptop is connected to the ESP32 for the socket programming? Are they both connected to the same wifi router? Thanks.
@artbecker5618
@artbecker5618 8 жыл бұрын
Thank you for another video.
@ianmichaeljames
@ianmichaeljames 6 жыл бұрын
Hi, just wondered if you have done or know of a video that demonstrates a web socket and a web server in the same project?
@juan_fe
@juan_fe 4 жыл бұрын
Hi ! Did you tried with socket io ussing GSM?
@useyourbrain2022
@useyourbrain2022 6 жыл бұрын
very well explained!! tanks
@giannismanousaridis4010
@giannismanousaridis4010 4 жыл бұрын
where can I find the code ?
@paulferreira1441
@paulferreira1441 7 жыл бұрын
Hi Neil, you dont have a video of using the ESP32 as a client and connecting to an ASp server do you?
@kolban1
@kolban1 7 жыл бұрын
It might be that you could use the CURL technology? I think there is a video for that.
@paulferreira1441
@paulferreira1441 7 жыл бұрын
Thanks Neil!!!!
@claytonsulivan
@claytonsulivan 7 жыл бұрын
How to make Socket Server communication between two ESP32?
@GfastGao
@GfastGao 7 жыл бұрын
Super clear video! As a intermediate C/C++ developer, I'd very like to know if FreeRTOS support multi-core CPU? ps: I know this question is very supposedly too generic. Perhapse the question is: How to programm Software in FreeRTOS more thread-safe :D Thanks!
@GfastGao
@GfastGao 7 жыл бұрын
Today I've checkout how this works in code. I just love it more then only see it. It's so COOL! It enlight me for the job to port "open62541" project (OPC UA protocal for industrial M2M communications) to this plantform!! Thanks again. P.S: Please do more video about these advanced topics! It just helps more.
@orparga140
@orparga140 4 жыл бұрын
The code: github.com/nkolban/esp32-snippets/tree/master/sockets Congratulations. All your tutorials and books are very helpful and are explained in a very friendly and comprehensive way.
@bolee4141
@bolee4141 7 жыл бұрын
HI,thx for your vidieo and book,it's help me a lot ,but now i have something in puzzle,how can i call the socket_server_task in freeRTOS's main(),could you please show me a example ?
@youliantroyanov2941
@youliantroyanov2941 8 жыл бұрын
kolban ftw. ducktape ftw.
ESP32 Technical Tutorials: Working with time
13:05
Kolban Technical Tutorials
Рет қаралды 12 М.
ESP32 Technical Tutorials: ESP32 and Pulse Width Modulation
14:55
Kolban Technical Tutorials
Рет қаралды 17 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
ESP32 Technical Tutorials: Using the core dump
9:03
Kolban Technical Tutorials
Рет қаралды 9 М.
ESP32 Technical Tutorials: Watchdog Processing
15:31
Kolban Technical Tutorials
Рет қаралды 34 М.
ESP32 Technical Tutorials: Analog to Digital Conversion
7:09
Kolban Technical Tutorials
Рет қаралды 21 М.
ESP32 Technical Tutorials: Using a logic analyzer
8:09
Kolban Technical Tutorials
Рет қаралды 10 М.
ESP32 Technical Tutorials: FreeRTOS Stack Space
9:26
Kolban Technical Tutorials
Рет қаралды 18 М.
ESP32 Technical Tutorials: Displays and the U8g2 library
7:28
Kolban Technical Tutorials
Рет қаралды 15 М.
ESP32 Technical Tutorials: BLE Notifications
15:35
Kolban Technical Tutorials
Рет қаралды 62 М.
How to Make an Arduino WebSocket Server with an ESP32
5:58
Shawn Hymel
Рет қаралды 66 М.
ESP32 Technical Tutorials: BLE Client
6:51
Kolban Technical Tutorials
Рет қаралды 26 М.