Skip to content

Commit 5ddf080

Browse files
author
Ari Parkkila
committed
Cellular: Change ATHandler debug print levels
1 parent 19342e2 commit 5ddf080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/cellular/framework/AT/ATHandler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ bool ATHandler::fill_buffer(bool wait_for_timeout)
491491
{
492492
// Reset buffer when full
493493
if (sizeof(_recv_buff) == _recv_len) {
494-
tr_error("AT overflow");
494+
tr_warn("AT overflow");
495495
debug_print(_recv_buff, _recv_len, AT_ERR);
496496
reset_buffer();
497497
}
@@ -1556,7 +1556,7 @@ void ATHandler::debug_print(const char *p, int len, ATType type)
15561556
} else if (type == AT_TX) {
15571557
tr_info("AT TX (%2d): %s", len, buffer);
15581558
} else {
1559-
tr_info("AT ERR (%2d): %s", len, buffer);
1559+
tr_warn("AT ERR (%2d): %s", len, buffer);
15601560
}
15611561

15621562
delete [] buffer;

0 commit comments

Comments
 (0)