I followed the code on the esp - now master and slave examples. The master sends data, but only when serial monitor is open. When I don't send the code to the Serial monitor, the message isn't sent I want to send a struct, so I can't use the snprintf command. The following code works, but only when the serial monitor of the master is open at arduino ide. Otherwise, the slave doesn't receive any messages. I haven't change anything else from the example code rather than the code i have below
Board
esp32 s2
Device Description
esp 32 s2 mini
Hardware Configuration
gpio 2-7 are connected to push buttons
Version
v3.0.0
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
40Mhz
PSRAM enabled
yes
Upload speed
115200
Description
I followed the code on the esp - now master and slave examples. The master sends data, but only when serial monitor is open. When I don't send the code to the Serial monitor, the message isn't sent I want to send a struct, so I can't use the snprintf command. The following code works, but only when the serial monitor of the master is open at arduino ide. Otherwise, the slave doesn't receive any messages. I haven't change anything else from the example code rather than the code i have below
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide