netProbe: Esp32 network Monitor 02

preview_player
Показать описание
This is the second video in my series about creating a stand-alone network probe on an ESP32 microcontroller. This video covers mainly micropython coding for the interface to an SD card, and managing the hosts and network tests. , I think I will need the SD card to hold the large amount data created by the network tests. The rest of the video covers the code for managing the hosts and test scheduling. By the end of this I should have a way of defining the hosts and the tests that I will be scheduling and should be able to try a trial run of the scheduler and network tests to make sure that part is working.

00:00 Introduction
00:51 Getting the SD card working (Specific to this Olimex board) and how I and detecting its presence to decide if the netProbe runs off the internal file storage or uses the SD card, if present.
15:19 The micropython code for the scheduler.
25:11 I set up an ubuntu hosts to target to test the ping and bing functions. I use the linux tc command to dial in a 50ms network latency, and reduce the network interface to 10mbps.
27:06 I run the tests, I don’t get the latency numbers I am expecting but may be due to the extra setup time needed by the ping routine first time it runs? Later latency tests do give close to the 500ms times I am expecting (I need to get a new network emulation system in place 😊 Maybe a topic for a future video)
29:06 Look at the results from the scheduler, looks like the scheduler test timing functions are working.

Resources

Рекомендации по теме