diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-02-05 16:09:26 -0600 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-02-08 16:46:46 -0600 |
commit | 568c7e7196537397c99eb1547f61788b4d95b0f7 (patch) | |
tree | b86266c6559235e7bb8c4d91b2174ce7060eec7a /src/pdu_encode.c | |
parent | c75545e97a0d29de082b9ae7a65ec152416753b6 (diff) | |
download | sms-utils-568c7e7196537397c99eb1547f61788b4d95b0f7.tar.gz sms-utils-568c7e7196537397c99eb1547f61788b4d95b0f7.tar.bz2 sms-utils-568c7e7196537397c99eb1547f61788b4d95b0f7.zip |
refactor: encoding/decoding alphabet logging0.0.14
Diffstat (limited to 'src/pdu_encode.c')
-rw-r--r-- | src/pdu_encode.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pdu_encode.c b/src/pdu_encode.c index db8c475..65d2316 100644 --- a/src/pdu_encode.c +++ b/src/pdu_encode.c @@ -172,10 +172,12 @@ int pdu_encode_user_data(char *pdu_str, size_t len, struct pdu_info *pdu, int *n if (pdu->data_coding.general.alphabet == PDU_ALPHABET_DEFAULT) { log_debug("data coding alphabet is default (7-bit)"); - } else if (pdu->data_coding.general.alphabet == PDU_ALPHABET_EIGHT) { - log_debug("data coding alphabet is eight"); } else if (pdu->data_coding.general.alphabet == PDU_ALPHABET_CDMA_DEFAULT) { log_debug("data coding alphabet is CDMA default (7-bit)"); + } else if (pdu->data_coding.general.alphabet == PDU_ALPHABET_EIGHT) { + log_debug("data coding alphabet is eight"); + } else if (pdu->data_coding.general.alphabet == PDU_ALPHABET_CDMA_EIGHT) { + log_debug("data coding alphabet is CDMA eight"); } else { log_debug("data coding alphabet 0x%02X not implemented", pdu->data_coding.general.alphabet); |