Lines Matching refs:pdu

102     public static SmsMessage createFromPdu(byte[] pdu) {
105 msg.parsePdu(pdu);
124 * +CMT: [&lt;alpha>],<length><CR><LF><pdu>
184 byte[] pdu = new byte[size];
185 System.arraycopy(data, 1, pdu, 0, size);
186 msg.parsePdu(pdu);
198 public static int getTPLayerLengthForPDU(String pdu) {
199 int len = pdu.length() / 2;
200 int smscLen = Integer.parseInt(pdu.substring(0, 2), 16);
500 byte pdu[];
507 PduParser(byte[] pdu) {
508 this.pdu = pdu;
531 .calledPartyBCDToString(pdu, cur, len);
547 return pdu[cur++] & 0xff;
561 int addressLength = pdu[cur] & 0xff;
565 ret = new GsmSmsAddress(pdu, cur, lengthBytes);
583 int year = IccUtils.gsmBcdByteToInt(pdu[cur++]);
584 int month = IccUtils.gsmBcdByteToInt(pdu[cur++]);
585 int day = IccUtils.gsmBcdByteToInt(pdu[cur++]);
586 int hour = IccUtils.gsmBcdByteToInt(pdu[cur++]);
587 int minute = IccUtils.gsmBcdByteToInt(pdu[cur++]);
588 int second = IccUtils.gsmBcdByteToInt(pdu[cur++]);
595 byte tzByte = pdu[cur++];
627 int userDataLength = pdu[offset++] & 0xff;
632 userDataHeaderLength = pdu[offset++] & 0xff;
635 System.arraycopy(pdu, offset, udh, 0, userDataHeaderLength);
649 * the pdu minus the user data header, since userDataLength means
652 bufferLen = pdu.length - offset;
665 System.arraycopy(pdu, offset, userData, 0, userData.length);
719 ret = GsmAlphabet.gsm7BitPackedToString(pdu, cur, septetCount,
738 ret = new String(pdu, cur, byteCount, "utf-16");
759 ret = new String(pdu, cur, byteCount, "KSC5601");
770 return (pdu.length > cur);
892 * TS 27.005 3.1, &lt;pdu&gt; definition "In the case of SMS: 3GPP TS 24.011 [6]
899 private void parsePdu(byte[] pdu) {
900 mPdu = pdu;
904 PduParser p = new PduParser(pdu);