Page 1 of 1

how to call AT command from Custom AT code

Posted: Wed Nov 20, 2024 6:44 am
by danielkim
Hello,

I need to call AT command from Custom AT code.

But it shows below respond. it seems that it's not allowed to call AT command during Custom AT works.
busy P...


I'd appreciate it if other workaround is suggested here.


Thanks in advance.

Re: how to call AT command from Custom AT code

Posted: Wed Mar 19, 2025 9:01 am
by esp-at
Hi, you cannot execute AT command (at_exe_cmd()) in a command handler (at_exe_cmd_test()).

There is a workaround:
you can create a task, and in that task, call at_exe_cmd() when there is no a new command is executing.