Skip to content

Commit f4158ca

Browse files
author
Ari Parkkila
committed
Cellular: Change ATHandler debug print levels
1 parent 913cbd9 commit f4158ca

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
}
@@ -1586,7 +1586,7 @@ void ATHandler::debug_print(const char *p, int len, ATType type)
15861586
} else if (type == AT_TX) {
15871587
tr_info("AT TX (%2d): %s", len, buffer);
15881588
} else {
1589-
tr_info("AT ERR (%2d): %s", len, buffer);
1589+
tr_warn("AT ERR (%2d): %s", len, buffer);
15901590
}
15911591

15921592
delete [] buffer;

0 commit comments

Comments
 (0)