diff --git a/application/tom_modem/src/modem_types.h b/application/tom_modem/src/modem_types.h index ce2c473..31256d5 100644 --- a/application/tom_modem/src/modem_types.h +++ b/application/tom_modem/src/modem_types.h @@ -52,7 +52,7 @@ #define SEND_SMS "AT+CMGS=%d" #define DELETE_SMS "AT+CMGD=%d" -#define SMS_BUF_SIZE 16384 +#define SMS_BUF_SIZE 65536 #define LINE_BUF 1024 #define SMS_LIST_SIZE 128 #define COMMON_BUF_SIZE 16384 diff --git a/application/tom_modem/src/operations.c b/application/tom_modem/src/operations.c index fce2216..aa36b35 100644 --- a/application/tom_modem/src/operations.c +++ b/application/tom_modem/src/operations.c @@ -149,7 +149,7 @@ int sms_read(PROFILE_T *profile,FDS_T *fds) } else { - dbg_msg("Error decoding sms"); + dbg_msg("Error decoding sms in line: %s", line); destroy_sms(sms); } }