debug nbiot pass with some modification

This commit is contained in:
Wang_Weigen
2021-10-21 15:17:14 +08:00
parent abe138ab27
commit 281a3b672a
6 changed files with 98 additions and 430 deletions
@@ -309,9 +309,9 @@ static int GetCompleteATReply(ATAgentType agent)
while (1) {
PrivRead(agent->fd, &ch, 1);
#ifdef CONNECTION_FRAMEWORK_DEBUG
printf(" %c (0x%x)\n", ch, ch);
#endif
if (agent->receive_mode == ENTM_MODE){
if (agent->entm_recv_len < ENTM_RECV_MAX) {
PrivMutexObtain(&agent->lock);