SendATCmdWaitResp problem
marcussinus opened this issue · 0 comments
marcussinus commented
Hi,
char GSM::SendATCmdWaitResp(const __FlashStringHelper *AT_cmd_string, ....
you close with:
return (ret_val);
BUT:
char GSM::SendATCmdWaitResp(char const *AT_cmd_string, ...
you close with:
WaitResp(1000, 5000);
return (ret_val);
It took me quite some hours to figure out why the comm_buf is empty after calling SendATCmdWaitResp(AT_cmnd_str,....
I removed
WaitResp(1000, 5000);
and now it works OK.
I think you should remove it also. Or not?