Lines Matching refs:packet
92 * Write the OBEX CONNECT packet to the server.
111 // check with local max packet size
113 throw new IOException("Packet size exceeds max packet size");
125 * Byte 5&6: Max OBEX packet Length
206 throw new IOException("Packet size exceeds max packet size");
223 * Bytes 2 & 3: packet size
318 throw new IOException("Packet size exceeds max packet size");
336 * An OBEX SETPATH packet to the server:
338 * Byte 2 & 3: packet size
343 byte[] packet = new byte[totalLength];
344 packet[0] = (byte)flags;
345 packet[1] = (byte)0x00;
347 System.arraycopy(head, 0, packet, 2, head.length);
351 sendRequest(ObexHelper.OBEX_OPCODE_SETPATH, packet, returnHeaderSet, null);
356 * Bytes 2 & 3: packet size
440 throw new IOException("Packet received exceeds packet size limit");