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/pdu_decode.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/pdu_decode.c')
-rw-r--r-- | src/pdu_decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pdu_decode.c b/src/pdu_decode.c index 7f76ff5..9014162 100644 --- a/src/pdu_decode.c +++ b/src/pdu_decode.c @@ -237,7 +237,7 @@ int pdu_decode_user_data(const char *pdu_str, struct pdu_info *pdu, int *nr_octe // CDMA 7-BIT ENCODING } else if (pdu->data_coding.general.alphabet == PDU_ALPHABET_CDMA_DEFAULT) { - if (is_vzw_lte()) { + if (is_telit_lte_vzw_3gpp2_format()) { // LE910-SVG stores data length as # of septets log_debug("counting PDU length byte as number of septets (LE910-SVG/LE910-SV1/LE910-NA1/VZW)"); *nr_octets = octets_from_septets(pdu->user_data_len); @@ -340,7 +340,7 @@ int pdu_decode_user_data(const char *pdu_str, struct pdu_info *pdu, int *nr_octe } //Remove padded byte for data length of 7 characters if not LE910-SVG - if (!is_vzw_lte() && (pdu->user_data[i-1] == 0)) { + if (!is_telit_lte_vzw_3gpp2_format() && (pdu->user_data[i-1] == 0)) { log_debug("Removing padded char"); i--; pdu->user_data_len--; |