Bonjour a tous,
je me casse la tête sur le problème suivant
j’ai utilisé divers sketchs pour faire fonctionner un (des !) esp32 vroom d pour en faire un module station susceptible de se connecter a un serveur ( module wifi de télescope) .
échec de connexion avec le télescope mais aussi avec le téléphone en mode serveur et a ma box
je précise que j ai 100 fois vérifié le ssid et le password.
moniteur série pas d info sauf des points qui défilent ( c’est dans le sketch avant la connection
output pas d’erreur a la compilation
le débogage (gdb-server dans arduino2.33)
Waiting for gdb server to start...[2024-11-17T17:50:03.733Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session connected. You can switch to "DEBUG CONSOLE" to see GDB interactions.
"C:\\Users\\mic\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\openocd-esp32\\v0.12.0-esp32-20240821/bin/openocd" -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s "c:\\Users\\mic\\Documents\\Arduino\\sketch_nov17c_copy_20241117184002" -f "C:/Program Files/Arduino IDE/resources/app/plugins/cortex-debug/extension/support/openocd-helpers.tcl" -f board/esp32-wrover-kit-3.3v.cfg
Open On-Chip Debugger v0.12.0-esp32-20240821 (2024-08-21-14:45)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
DEPRECATED! use 'gdb port', not 'gdb_port'
DEPRECATED! use 'tcl port' not 'tcl_port'
CDRTOSConfigure
Info : Listening on port 50001 for tcl connections
Info : Listening on port 50002 for telnet connections
Error: unable to open ftdi device with description '*', serial '*' at bus location '*'
C:/Users/mic/AppData/Local/Arduino15/packages/esp32/tools/openocd-esp32/v0.12.0-esp32-20240821/bin/../share/openocd/scripts/target/esp_common.cfg:9: Error:
at file "C:/Users/mic/AppData/Local/Arduino15/packages/esp32/tools/openocd-esp32/v0.12.0-esp32-20240821/bin/../share/openocd/scripts/target/esp_common.cfg", line 9
[2024-11-17T17:50:05.198Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session closed
GDB server session ended. This terminal will be reused, waiting for next session to start...
__________________________________________________________________________________________
il semble y avoir des erreurs dans l écriture des bibliothèques ( ou une incompatibilité qq part mais ou ?
merci de votre aide
_________________________________________________________________________________________________
**le code** :
_________________________________________________________________________________________________
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
#include <WiFi.h> // use Arduino's standard WiFi library
const char* ssid = "xxxxxxxx"; // your SSID (network name) here
const char* password = "yyyyyyyyyyyy"; // your WiFi password here
void setup()
{
Serial.begin(115200); // start a serial connection to monitor the WiFi connection process
// print the connection credentials to the serial monitor
Serial.print("nConnecting to WiFi network: ");
Serial.print(ssid);
Serial.print("password");
WiFi.begin(ssid, password); // WiFi.begin turns on WiFi on the ESP32, and defaults to client mode using the ssid and password constants defined above
while (WiFi.status() != WL_CONNECTED) { // this will loop until the connection is made, printing "..." to the serial monitor until the ESP32 connects to the WiFI access point
delay(500);
Serial.print(".");
}
// the next few lines will print out connection details to the serial monitor after the connection succeeds
Serial.println("");
Serial.print("Successfully connected to: ");
Serial.print(ssid);
Serial.print(" with IP address: ");
Serial.println(WiFi.localIP());
Serial.println("Exiting setup() ...");
} // end of setup() function
void loop() {
// continually print out connection details to the serial monitor
Serial.println("");
Serial.print("Connected to SSID: ");
Serial.print(ssid);
Serial.print(" with IP address: ");
Serial.print(WiFi.localIP());
Serial.println("");
Serial.println("Now go be an ESP32 IoT Device Building Hero!");
delay(1000);
}
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''__________________________________________________________________________________________________________________________________________________________________________________________________