Plase make sure you understand the program flow.
In at_base_cmd.c
at_setupCmdCipStartLog
os_timer_arm(&polling_timer, 1000, 1);
replace with
os_timer_arm(&polling_timer, 60000, 1);
in
polling_timer_elapsed
remove all the GPIO checking and add your ADC code.