Just by using the ESP32 Timer Deep sleep example
Specifically
esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
and using this line after a TX Complete
esp_deep_sleep_start();
regards
Paul
edit: I am guessing the answer might be in using some of this but its a bit beyond my coding experience.