Difference: Wifi (2 vs. 3)

Revision 32022-09-04 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

La connexion au réseau WiFi

Exercice 1 :

Line: 34 to 34
  Voilà le résultat de la solution :

solution_ex2.png
Changed:
<
<
sta_ping.png
>
>
Voilà le résultat si on essaye la commande ping sur l'ESP32:

sta_ping.png

On peut aussi exécuter la commande ping sur l'ESP32 pour vérifier si une autre machine est accessible :

from uping import ping  
ping("la machine à être vérifié")
 

Exercice 3 :

Changed:
<
<
Écrire un module wifi.py qu'englobe la fonctionnalité de l’exercice 2. Le code pour se connecter au WiFi devient alors :
>
>
Écrire un module wifi.py qu'englobe la fonctionnalité de l’exercice 2. Le code pour se connecter au WiFi devient alors :
 
from wifi import connect
connect()
Line: 56 to 62
 La copie d'écran montre une telle communication. Les messages peuvent être entrés dans la fenêtre qui affiche le prompt.

client-server.png

Added:
>
>

Exercice 6 :

Mettre le serveur sur l'ESP32. Ceci demande l'initialisation de l'interface WiFi avant de démarrer le serveur. Essayer la communication entre PC et ESP32 comme en exercice 5.

  -- Uli Raich - 2022-08-29

Comments

Line: 64 to 73
 
META FILEATTACHMENT attachment="wifi_connect.py.png" attr="" comment="" date="1661798852" name="wifi_connect.py.png" path="wifi_connect.py.png" size="21352" user="UliRaich" version="1"
META FILEATTACHMENT attachment="wifi.odt" attr="" comment="" date="1661798853" name="wifi.odt" path="wifi.odt" size="268970" user="UliRaich" version="1"
Changed:
<
<
META FILEATTACHMENT attachment="sta_ping.png" attr="" comment="" date="1661798853" name="sta_ping.png" path="sta_ping.png" size="60626" user="UliRaich" version="1"
>
>
META FILEATTACHMENT attachment="sta_ping.png" attr="" comment="" date="1662281516" name="sta_ping.png" path="sta_ping.png" size="53942" user="UliRaich" version="2"
 
META FILEATTACHMENT attachment="solution_ex2.png" attr="" comment="" date="1662235052" name="solution_ex2.png" path="solution_ex2.png" size="72697" user="UliRaich" version="2"
META FILEATTACHMENT attachment="noESP32_AP.png" attr="" comment="" date="1661798854" name="noESP32_AP.png" path="noESP32_AP.png" size="20877" user="UliRaich" version="1"
META FILEATTACHMENT attachment="ap_ping.png" attr="" comment="" date="1661798855" name="ap_ping.png" path="ap_ping.png" size="62592" user="UliRaich" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback