fix: increase SMS buffer size and enhance error logging for SMS decoding
This commit is contained in:
parent
8ed5ae70b8
commit
5e1dd089da
@ -52,7 +52,7 @@
|
|||||||
#define SEND_SMS "AT+CMGS=%d"
|
#define SEND_SMS "AT+CMGS=%d"
|
||||||
#define DELETE_SMS "AT+CMGD=%d"
|
#define DELETE_SMS "AT+CMGD=%d"
|
||||||
|
|
||||||
#define SMS_BUF_SIZE 16384
|
#define SMS_BUF_SIZE 65536
|
||||||
#define LINE_BUF 1024
|
#define LINE_BUF 1024
|
||||||
#define SMS_LIST_SIZE 128
|
#define SMS_LIST_SIZE 128
|
||||||
#define COMMON_BUF_SIZE 16384
|
#define COMMON_BUF_SIZE 16384
|
||||||
|
@ -149,7 +149,7 @@ int sms_read(PROFILE_T *profile,FDS_T *fds)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dbg_msg("Error decoding sms");
|
dbg_msg("Error decoding sms in line: %s", line);
|
||||||
destroy_sms(sms);
|
destroy_sms(sms);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user