Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendATCmdWaitResp problem #27

Open
marcussinus opened this issue Aug 10, 2015 · 0 comments
Open

SendATCmdWaitResp problem #27

marcussinus opened this issue Aug 10, 2015 · 0 comments

Comments

@marcussinus
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant