I want to program my esp to wakeup from deepsleep by open reed switch and sending a message via wifi and then enter deepsleep again. i dont get the commands:
Code: Select all
esp_sleep_enable_ext0_wakeup(13, 1);
esp_deep_sleep_start();
AND how do i send and receive messages through wifi with an esp32?