Skip to content

Commit 669649b

Browse files
gbakkerlubos
authored andcommitted
lib/at_host: Correct string in case of CME / CMS errors
Corrected pattern to write to uart in case of CME / CMS errors. Signed-off-by: Glenn Ruben Bakke <[email protected]>
1 parent 83f86d0 commit 669649b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/at_host/at_host.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ static void cmd_send(struct k_work *work)
101101
write_uart_string(ERROR_STR);
102102
break;
103103
case AT_CMD_ERROR_CMS:
104-
sprintf(str, "+CMS: %d\r\n", err);
104+
sprintf(str, "+CMS ERROR: %d\r\n", err);
105105
write_uart_string(str);
106106
break;
107107
case AT_CMD_ERROR_CME:
108-
sprintf(str, "+CME: %d\r\n", err);
108+
sprintf(str, "+CME ERROR: %d\r\n", err);
109109
write_uart_string(str);
110110
break;
111111
default:

0 commit comments

Comments
 (0)