module:microcontroller:esp32udpserver:esp32udpserver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
module:microcontroller:esp32udpserver:esp32udpserver [2022/11/02 15:33] – [221102] omdevelop | module:microcontroller:esp32udpserver:esp32udpserver [2022/11/04 17:10] (current) – [221101] omdevelop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Esp32UdpServer ====== | ====== Esp32UdpServer ====== | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
===== Überblick ===== | ===== Überblick ===== | ||
+ | * UDP-Client auf PC: [[https:// | ||
+ | * UDP-Server auf ESP32 | ||
+ | * Handshake zwischen PC(Client) und ESP32(Server): | ||
+ | * ESP32 initialisiert, | ||
+ | * PC sendet auf UDPPort Command (LSO - LedSystemOn) | ||
+ | * ESP32 empfängt Command, analysiert, setzt LedSystem ON, gibt UDP-Software-Handshake an PC | ||
+ | * in N-Zeitintervallen sendet ESP32 Nachricht an PC, LedSystem bleibt ON | ||
+ | * danach LedSystem OFF | ||
+ | |||
===== ToDo ===== | ===== ToDo ===== | ||
===== Done ===== | ===== Done ===== | ||
- | ==== 221102 | + | ==== 221104 |
+ | * Download (VSCode): {{: | ||
+ | ==== 221102 ==== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * einmal PC-Senden an Esp32 -> IP/ | ||
+ | * dann mehrfaches Senden in periodischen Abständen an PC möglich! | ||
* Esp32UdpServer - Antwort auf Command LSO (LedSystemOn vom PC-Client): | * Esp32UdpServer - Antwort auf Command LSO (LedSystemOn vom PC-Client): | ||
* Software-HS LSO -> Led ON | * Software-HS LSO -> Led ON | ||
Line 11: | Line 30: | ||
* danach: LedSystem OFF | * danach: LedSystem OFF | ||
{{: | {{: | ||
- | \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ | + | \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ |
* PacketSender (auf dem PC): | * PacketSender (auf dem PC): | ||
Line 17: | Line 36: | ||
* Empfangen von 6 zeitlich versetzten Antworten des ESP32 | * Empfangen von 6 zeitlich versetzten Antworten des ESP32 | ||
{{: | {{: | ||
- | \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ | + | \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ |
+ | Download: {{: | ||
==== 221101 ==== | ==== 221101 ==== | ||
+ | * mehrere Versuche/ | ||
+ | * Problem: UDP.onpacket(...) nicht zu gebrauchen für: mehrfaches Senden in periodischen Abständen an PC | ||
+ | |||
+ | |||
+ | ----- | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
+ | [[http:// | ||
module/microcontroller/esp32udpserver/esp32udpserver.1667399590.txt.gz · Last modified: 2022/11/02 15:33 by omdevelop