diff options
Diffstat (limited to 'src/sms_list.c')
-rw-r--r-- | src/sms_list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sms_list.c b/src/sms_list.c index 3a3d395..7f246be 100644 --- a/src/sms_list.c +++ b/src/sms_list.c @@ -283,7 +283,7 @@ static int list_info_callback(char *buf, size_t len, void *data) msg = list_entry(list_info->msg_list.prev, typeof(*msg), list); if (msg->len > 0) { - if (isCdmaTypeModel()) { + if (is_telit_3gpp2_format()) { log_debug("using CDMA pdu decoding"); err = pdu_decode_cdma(buf, &msg->pdu); } @@ -499,8 +499,8 @@ int sms_list(int argc, char **argv) return false; } - // LNA7 with Verizon SIM SMS 3GPP, 3GPP2 WORKAROUND - if (is_quectel_dual_sms_format()) { + // LNA7/LNA7D/L4G1 with Verizon SIM SMS 3GPP, 3GPP2 WORKAROUND + if (is_quectel_dual_format()) { int tmp; tmp = atcmd_plus_qcfg_write(fd, SMS_FORMAT_3GPP); if (tmp == 0) { |