diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2023-01-06 17:52:09 +0200 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2023-01-06 19:13:55 +0200 |
commit | e8b95d56ac9e06c3dc55f2c6fc3b2e177f9b10b0 (patch) | |
tree | 6b16f8af8a6aa3f177f9f243f182e9e1d06c9919 /src/sms_list.c | |
parent | cd38e2b12d6f13dfd03eed207aa7f262e00099f1 (diff) | |
download | sms-utils-e8b95d56ac9e06c3dc55f2c6fc3b2e177f9b10b0.tar.gz sms-utils-e8b95d56ac9e06c3dc55f2c6fc3b2e177f9b10b0.tar.bz2 sms-utils-e8b95d56ac9e06c3dc55f2c6fc3b2e177f9b10b0.zip |
[GP-1842] Refactoring - Renamed Verizon 3GPP2 detection functions
Renamed the functions to better represent their behavior and purpose.
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) { |