Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
just have a look at the driver, and found that the vrecv parse +ipd recursively. should we give a "return condition" to infer when to return from the long recursive call chain.
whatever, I think the "return condition" in the recursive is needed. the logic will be : bool ATParser::vrecv(const char *response, va_list args) { if(condition) { return; } vrecv(xx,xx); } otherwise, when we has a poor stack and we call socket_recv continually, we will see RTX error in mbed... what's your opinions?