Searched refs:udhBytes (Results 1 – 2 of 2) sorted by relevance
402 uint8_t udhBytes = headerPdu.GetIndex(); in EncodeHeader7Bit() local403 if (udhBytes > 0) { in EncodeHeader7Bit()404 uint8_t udhLen = (udhBytes + 1) * BIT8 / BIT7; in EncodeHeader7Bit()406 uint8_t ignoredBits = BIT7 - (udhBytes + 1) * BIT8 % BIT7; in EncodeHeader7Bit()415 if (!pdu.WriteBits(numFields, BIT8) || !pdu.WriteBits(udhBytes, BIT8)) { in EncodeHeader7Bit()420 for (uint8_t i = 0; i < udhBytes; i++) { in EncodeHeader7Bit()494 uint8_t udhBytes = headerPdu.GetIndex(); in EncodeHeaderUnicode() local496 if (udhBytes > 0) { in EncodeHeaderUnicode()497 numFields = (udhBytes + data_.userData.length) / HEX_STEP + 1; in EncodeHeaderUnicode()498 if (!pdu.WriteBits(numFields, BIT8) || !pdu.WriteBits(udhBytes, BIT8)) { in EncodeHeaderUnicode()[all …]
155 bool DecodeAscii7Bit(SmsReadBuffer &pdu, uint8_t numFields, uint8_t udhBytes);156 bool DecodeGsm7Bit(SmsReadBuffer &pdu, uint8_t numFields, uint8_t udhBytes);