Searched refs:dataCoding (Results 1 – 1 of 1) sorted by relevance
796 int dataCoding; in sms_get_coding_scheme() local801 dataCoding = *cur++; in sms_get_coding_scheme()804 switch (dataCoding >> 4) { in sms_get_coding_scheme()811 if (dataCoding == 0x10) return SMS_CODING_SCHEME_GSM7; in sms_get_coding_scheme()812 if (dataCoding == 0x11) return SMS_CODING_SCHEME_UCS2; in sms_get_coding_scheme()816 … if (dataCoding & 0x20) return SMS_CODING_SCHEME_UNKNOWN; /* compressed 7-bits */ in sms_get_coding_scheme()817 if (((dataCoding >> 2) & 3) == 0) return SMS_CODING_SCHEME_GSM7; in sms_get_coding_scheme()818 if (((dataCoding >> 2) & 3) == 2) return SMS_CODING_SCHEME_UCS2; in sms_get_coding_scheme()822 if (!(dataCoding & 4)) return SMS_CODING_SCHEME_GSM7; in sms_get_coding_scheme()