OBEX and high speed IrDA links

Similar documents
Modelling OBEX over IrDA Protocol Stack

A study of link processing time and propagation delay for IrDA links at Gbit/s data rate

OPTIMUM WINDOW AND FRAME SIZE FOR IrDA LINKS

A Study of the Suitability of IrOBEX for High- Speed Exchange of Large Data Objects

- - BER = 10-8 BER = Figure 10: throughput Vs maximum turn-around time for 16 Mbps

An Efficient Selective-Repeat ARQ Scheme for Half-duplex Infrared Links under High Bit Error Rate Conditions

Optimization of IrDA IrLAP Link Access Protocol

Performance modelling of the IrDA infrared wireless communications protocol

Session Capabilities in OBEX

An Information Broadcasting System with Infrared Data. Communication Protocol

IrDA INTEROPERABILITY

Optical Communications

IrDA IrLAP Throughput Optimisation with Physical Layer Consideration

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Data Link Control Protocols

The Wireless Connectivity Expert

IrDA Infrared Communications: An Overview

Data Link Layer (cont.) ( h h h ) (Sicherungsschicht) HDLC - 1.

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

(Sicherungsschicht) Chapter 5 (part 2) [Wa0001] HDLC - 1.

CCNA Exploration1 Chapter 7: OSI Data Link Layer

Master. Slave. Master. Slaves. TCP/IP Traffic with Efficient Bluetooth Technology. Shafqat Hameed 1, Umar F.Khan 2, *Muhammad Saleem 3

Performance comparison of the IEEE and AIr infrared wireless MAC protocols

Version 1.0.1

CC-SCTP: Chunk Checksum of SCTP for Enhancement of Throughput in Wireless Network Environments

Toward a Reliable Data Transport Architecture for Optical Burst-Switched Networks

Politecnico di Milano Scuola di Ingegneria Industriale e dell Informazione. Link Layer. Fundamentals of Communication Networks

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

16.682: Communication Systems Engineering. Lecture 17. ARQ Protocols

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

Problem 7. Problem 8. Problem 9

Peer-to-Peer Protocols and Data Link Layer. Chapter 5 from Communication Networks Leon-Gracia and Widjaja

Chapter -4 OSI Reference Model

4.0.1 CHAPTER INTRODUCTION

Adaptive Mechanism for Aggregation with fragments retransmission in high-speed wireless networks

Chapter 3. The Data Link Layer

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

6.1 Internet Transport Layer Architecture 6.2 UDP (User Datagram Protocol) 6.3 TCP (Transmission Control Protocol) 6. Transport Layer 6-1

Performance of UMTS Radio Link Control

Real-time and Reliable Video Transport Protocol (RRVTP) for Visual Wireless Sensor Networks (VSNs)

A Backoff Algorithm for Improving Saturation Throughput in IEEE DCF

Direct Link Networks. Lecture - Encoding & Framing 1. Areas for Discussion. Problems

UNIT IV -- TRANSPORT LAYER

Direct Link Networks. Framing. Lecture - Encoding & Framing 1. Problems. Areas for Discussion

Advantages and disadvantages

Introduction to Networks and the Internet

Data Communication and Network. Introducing Networks

1. Data Link Layer Protocols

Expanding the use of CTS-to-Self mechanism to improving broadcasting on IEEE networks

Duke University CompSci 356 Midterm Spring 2016

A RLC/MAC PROTOCOL ARCHITECTURE FOR A WIRELESS IP NETWORK

Network management and QoS provisioning - revise. When someone have to share the same resources is possible to consider two particular problems:

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition

CHAPTER 17 - NETWORK AMD DISTRIBUTED SYSTEMS

A Modified Medium Access Control Algorithm for Systems with Iterative Decoding

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START

SIP-based Mobility Architecture for Next Generation Wireless Networks

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

A Directional MAC Protocol with the DATA-frame Fragmentation and Short Busy Advertisement Signal for Mitigating the Directional Hidden Node Problem

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

Telematics. 5th Tutorial - LLC vs. MAC, HDLC, Flow Control, E2E-Arguments

The GBN sender must respond to three types of events:

WPAN/WBANs: ZigBee. Dmitri A. Moltchanov kurssit/elt-53306/

ITEC 3800 Data Communication and Network. Introducing Networks

Joint PHY/MAC Based Link Adaptation for Wireless LANs with Multipath Fading

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 4. September 09 CMSC417 Set 4 1

Expected Time: 90 min PART-A Max Marks: 42

PROPOSAL OF MULTI-HOP WIRELESS LAN SYSTEM FOR QOS GUARANTEED TRANSMISSION

When two-hop meets VoFi

Incorporation of TCP Proxy Service for improving TCP throughput

Delay Constrained ARQ Mechanism for MPEG Media Transport Protocol Based Video Streaming over Internet

AN ANALYSIS OF THE MODIFIED BACKOFF MECHANISM FOR IEEE NETWORKS

EE 610 Part 2: Encapsulation and network utilities

IEEE Broadband Wireless Access Working Group < Increasing Link Robustness in TG3 Systems

ECMA-397. Short Distance Visible Light Communication (SDVLC) 1 st Edition / December Reference number ECMA-123:2010

Exercises TCP/IP Networking With Solutions

Strategies and Guidelines for Improving Wireless Local Area Network Performance

Name Student ID Department/Year. Midterm Examination. Introduction to Computer Networks Class#: 901 E31110 Fall 2008

Analyzation of Automatic Repeat Request (ARQ) Protocols

Problem Set Name the 7 OSI layers and give the corresponding functionalities for each layer.

Links. CS125 - mylinks 1 1/22/14

EECS150 - Digital Design Lecture 15 - Project Description, Part 5

c) With the selective repeat protocol, it is possible for the sender to receive an ACK for a packet that falls outside of its current window.

CS 421: COMPUTER NETWORKS SPRING FINAL May 24, minutes. Name: Student No: TOT

Analysis of Throughput and Energy Efficiency in the IEEE Wireless Local Area Networks using Constant backoff Window Algorithm

Simulation of TCP Layer

Data Link Layer. Overview. Links. Shivkumar Kalyanaraman

The Link Layer and LANs: Ethernet and Swiches

Mohammad Hossein Manshaei 1393

Adaptive Packetization for Error-Prone Transmission over WLANs with Hidden Terminals

Optimizing Packet Size via Maximizing Throughput Efficiency of ARQ on Bluetooth ACL Data Communication Link

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 18

Bluetooth: Short-range Wireless Communication

TCP and Congestion Control (Day 1) Yoshifumi Nishida Sony Computer Science Labs, Inc. Today's Lecture

ECE4110 Internetwork Programming. Introduction and Overview

under grant CNS This work was supported in part by the National Science Foundation (NSF)

Medium Access Protocols

Transcription:

OBEX and high speed IrDA links Pi Huang and A. C. Boucouvalas Multimedia Communications Research Group School of Design, Engineering and Computing Bournemouth University, Fern Barrow, Poole, BH12 5BB, U.K. Email: {phuang, tboucouv}@bournemouth.ac.uk Abstract OBEX is a higher layer protocol adopted as the framework for wireless object exchange for wireless transports including IrDA and Bluetooth. In this paper, we develop a model which leads to derivation of the OBEX throughput over the IrDA protocol stack for various data rates in the presence of bit errors. We then optimize the OBEX packet size and turnaround for maximum OBEX throughput. The results show significant improvement on OBEX performance using optimized parameters. 1. Introduction IrDA (Infrared Data Association) and Bluetooth are two of the most widely adopted indoor wireless technologies. A large number of portable devices on the market today have been equipped with IrDA ports and more recently Bluetooth chipsets for their wireless communication needs. These devices range widely from mobile phones and digital cameras to portable computers and printers [1] and [2]. In recent years, there have been many studies on the design and performance of physical and link layers of IrDA and Bluetooth systems. In contrast there have not been enough studies to examine the important interaction between the lower and higher layers. OBEX is a compact, efficient, binary session layer protocol that enables a wide range of devices to exchange data in a simple and spontaneous manner. OBEX is defined by members of IrDA for the purpose of interconnecting a wide range of devices that support IrDA protocols [3]. It is not, however, limited in use to only the IrDA environment. OBEX has been adopted by other wireless technology transports, including Bluetooth, as the framework for wireless object exchange. 1

Many link layer performance improvements and evaluations have been undertaken recently to address different infrared link issues including the impact on throughput of future increase in data rates and design issues, minimum link turnaround time [4] and processing speed [5]. In [6], optimum link parameters used to maximize the link throughput are also presented. However, no study has been carried out for the upper layers. It is of interest to examine the compatibility and performance of OBEX over the IrDA stacks. In this paper, we first briefly describe the IrDA protocol stacks and OBEX. We then carry out a mathematical model for OBEX which allows derivation of the OBEX throughput taking into account the lower IrDA protocol stack. Based on this model, the impact of the OBEX packet size and turnaround time on the throughput is studied in a wireless environment of varying BER. In an effort to improve the performance of OBEX when line BER is variable, we then study the optimum OBEX parameters which allow maximum throughput for any BER at different data rates. 2. IrDA Protocol Stacks IrDA featured devices are widespread for the business and mobile environments. The IrDA protocol stack is the layered set of protocols particularly aimed at point-to-point infrared communications and the applications needed in that environment. A. IrPHY (IrDA Physical layer) The IrDA Physical layer defines a directed half duplex serial infrared communications links through free space to facilitate the point-to-point communication. Framing data such as begin and end of frame flags (BOFs and EOFs) and cyclic redundancy checks (CRCs) are also considered to be part of the physical layer. Transceivers with data rates of 4 and 16Mbps employ 32 bit CRC [7] and [8]. B. IrLAP (IrDA Link Access Protocol) IrLAP is the IrDA link layer protocol. It is based on High-Level Data Link Control (HDLC) and Synchronous Data Link Control (SDLC) with extensions for some unique characteristics of infrared communications [9]. IrLAP provides simplex reliable data transfer using the following mechanisms: Retransmission. Low-level flow control. Error detection. 2

By dealing with reliable data transfer at low level, upper layers are free from this concern and can be assured correct delivery. IrLAP transmits data as frames and windows subject to go-back-n (GBN) error recovery, as shown in Fig.1. When the transmitter completes a full window transmission, it sets the P bit in the last data frame to signal a request for an acknowledgement from the receiver. Referring to standards [8] and [9], the window size and frame size range from 0-127 and 128bit-16384bit respectively. t I 0 1 2 3 4 5 6P t ta (a) t w tack t s S7F 7 8 9 10 t w 0 1 2 3 4 5 6P (b) t ack S2F 2 3 4 5 t w t Fout t s t ack 0 1 2 3 4 5 6P S0P 2 (c) S2F Figure 1: A 7 frame window transmission model. (a) Error free transmission of an IrLAP window (b) Retransmission frames due to error frame at I=3 (c) Retransmitted frames and F-timer delay due frame error at I=3 and I=7. C. IrLMP (IrDA Link Management Protocol) IrLMP provides support for multiple software applications or entities to operate independently and concurrently, sharing the single link provided by IrLAP between the transceivers [10]. It also offers higher level discovery which includes address conflict resolution on IrLAP discovery. In this paper, we consider IrLMP has only one application even it allows multiple. After the connection initial negotiation, IrLMP adds two bytes overhead to the upper layer packet as the link management information. 3

D. IrTinyTP (IrDA Tiny Transport Protocol) TinyTP is an optional IrDA layer, although it is so important that it should generally be considered as a required layer [11]. It provides two functions: flow control on a per-lmpconnection basis; Segmentation and reassembly (SAR). SAR is normally disabled by using the default connection parameter. If the communicating peers have large enough buffer size and short propagation delay between them, which is the case for OBEX applications, there is no need to perform flow control. In this case, TinyTP typically adds one byte of information to each upper layer packet. E. OBEX (Object Exchange) OBEX is a session protocol and can be resided on top of any reliable transport (e.g. IrTinyTP). It works for many devices that cannot afford the substantial resources required for an HTTP server. OBEX is enough like HTTP to serve as a compact final hop to a device. OBEX follows a client/server request-response (stop and wait) paradigm for the conversation format [3]. The terms client and server refer to the originator and receiver of the OBEX connection, not necessarily who originated the low level IrLAP connection. Requests are issued by the client (the party that initiates the OBEX connection). Once a request is issued, the client waits for a response from the server before issuing another request. The request/response pair is referred to as an operation. PUT and GET are the two types of operations used in OBEX. As the name indicates, the PUT operation sends one object from the client to the server, while the GET operation requests that the server return an object to the client. The maximum and minimum length for both request and response packets are 512K bits and 2048 bits respectively [3]. Fig.2 illustrates OBEX in the process of packetising a large object for transmission when OBEX is in the PUT operation. The initial OBEX request packet (first packet) will typically, although not strictly required to do so, have certain headers. We assume that first packet includes the object information of name, length and body header. The connection-oriented session allows capabilities information to be exchanged just once at the start of the connection, and allows state information to be kept. The subsequent packets therefore only have to give the overhead information of the packet length field and the body header length field. 4

Object OBEX Packets 1 byte 2 bytes Response code Response length REQ 1 RES 1 REQ 2 RES 2 REQ 3 RES 3 REQ N RES N 1 byte 2 bytes 1 byte 2 bytes l N 1 byte 4 bytes 1 byte 2 bytes n bytes 1 byte 2 bytes 1 byte 2 bytes n bytes OpCode Packet Length Name Header Name Length Name Length header Object Length Body Header OBEX Turnaround Body Length payload OpCode Packet Length Body Header Body Length payload Figure 2: OBEX paketisation, where REQ stands for the request packet, while RES is the response packet. P REQ OBEX + 6 bytes l OBEX 1 byte OBEX Paylaod: P l REQ RES TinyTP + IrLMP 2 bytes TinyTP Overhead: l TTP IrLMP Overhead: l LMP IrLAP 9 bytes IrLAP w indow ACK IrLAP w indow ACK L rem ACK IrLAP w indow ACK IrLAP + Physical Layer Overhead: l LAP +l Phy T full +T rem T T TA TA T RES Figure 3: Mapping OBEX, TinyTP, IrLMP to IrLAP frames. Fig.3 shows the protocol mapping of an OBEX request/response packet pair down to the link layer of the stacks (IrLAP). Symbols used in the modelling are listed in Table 1. Since OBEX uses stop and wait as its transmission scheme, the transmitter has to wait for the acknowledgement before transmits the next packet. If the IrLAP parameters l N < P, one OBEX packet requires fragmentation in order to fit in IrLAP frames and requires more than one IrLAP window for its transmission. If l N P, the OBEX packet can be accommodated within a single IrLAP send send 5

window. The transmitter will simply set the P bit at the end of each transmitted window and indicate an expected acknowledgement request from the other side. Thus, we only need to consider the case of l N P. Sending one OBEX request packet therefore needs several full IrLAP send windows and it is likely that there will also be a single incomplete IrLAP window at the end. TABLE 1: Symbol Parameter Description Unit C Link data rate bit/s p b Link bit error rate - p Frame error rate - N Number of frames in one IrLAP window - l I-frame message data length bit l Phy Physical layer overhead: BOF+EOF+CRC 48bit l LAP S-frame length/ I-frame overhead 24bit l LMP IrLMP overhead 16bits L TTP IrTinyTP overhead 8bit l OBEX OBEX request packet overhead 48bits P REQ OBEX request packet size bit P send Total packet length for IrLAP to send bit t I Transmission time of an Information (I)-frame sec t s Transmission time of a Supervision (S)-frame sec t ack Time to transmit an acknowledgement packet sec t ta IrLAP minimum turnaround time sec t Fout IrLAP F-timer time-out period sec T TA OBEX turnaround time sec 3. Mathematical Model For the purpose of deriving the mathematical model, we assume that packets are sent in the OBEX PUT operation mode. We only consider the connected OBEX packets (not the first packet). Therefore, OBEX packet overhead is fixed in length. The length of the packet header is illustrated in Fig.4. The mathematical model and derivation of OBEX throughput for a connection using the IrDA protocol stacks follows next. 1byte 3bytes 2bytes 1byte 6bytes 4bytes 1byte IrDA Frames BOF IrLAP Overhead IrLMP Overhead TinyTP Overhead OBEX Overhead OBEX Payload CRC EOF Figure 4: IrDA frame structure. 6

Our throughput model is based on [12], which gave a detailed study for IrLAP and derived the IrLAP throughput formula in the presence of BER. It uses the concept of window transmission time t w [13]. t w denotes the average time needed for a full window transmission. It is the average time taken from the beginning of the window s first frame transmission to the beginning of the first frame of the next window. It incorporates time needed for data frame transmissions, acknowledgements, and timer timeouts. Referring to [12], t w is given by: t = Nt + p( t + t ) + t w I Fout s ack l+ l + l LAP Phy Where ti = ( l+ llap + lphy )/ C, ts = ( llap + lphy) / C, p = 1 (1 p b ), t = 2t + t and t = t + t. Fout I 2 ta ack ta s The number of frames correctly transmitted in one full window transmission N corr is also given in [12]: (1 p)(1 (1 p) ) Ncorr = (2) p As described in section II, we consider fixed overheads of 2 bytes and 1 byte for IrLMP and TinyTP respectively for each OBEX packet. Therefore, IrLAP has to transmit a packet with length of Psend = PREQ + llmp + lttp for each OBEX packet, Fig.3. One OBEX packet will be transmitted in several full IrLAP windows and one incomplete IrLAP window. By combining (1) and (2), the average time for sending the full IrLAP windows of one OBEX request packet is given in (3), where floor means round down to the nearest integer. = P The length of the incomplete IrLAP window is given by: L = P mod( l N ) send Tfull floor tw l Ncorr rem send corr The number of frames in the incomplete IrLAP window is: N ceil( L / l) Where ceil means round up to the nearest integer. The probability of having error/errors in the incomplete IrLAP window is: in = rem N (1) (3) (4) (5) p p) in1 = 1 (1 Due to the small value of p, p in1 can be approximated as: N in (6) 7

N in pin1 = 1 (1 p) 1 (1 Nin p) = Nin p (7) While error/errors occur in transmitting the incomplete IrLAP window with probability p in1, due to the randomness of error occurrence, it is sufficient to assume that on average the error occurs in the middle of the window, and a retransmission will occur to recover the error with window length of 0.5N in. If further error/errors occur in the retransmission with probability of 0.5N 2 2 2 1 (1 (1 ) in in in ) 0.5 in p = p p N p, another retransmission window is needed with window length of half the previous, i.e. 0.25N in, and so on. When the retransmission window is less than 1, we consider the whole window has been successfully transmitted. By including all the retransmissions, the average time for transmitting the incomplete window T rem is derived in (8), where X is an integer with value of X = ceil(0.5 N in ) which satisfies 1 N 1 2X in. 1 1 Trem = NintI + p( tfout + ts ) + tack + pin1( NintI + p( tfout + ts ) + tack ) + + pinn ( NintI + p( tfout + ts ) + tack ) 2 2X 1 1 X ii ( + 1) X ii ( 1) 1 2 i 1 2 i 1 ( Nin p) NintI 1 Nin p ( Nin p) = + + + + 2 2 i= 1 i= 2 ( pt ( Fout + ts ) + tack ) (8) Since the OBEX response packets are used only for acknowledgement (no payload), the packet length is equal to the OBEX overhead l OBEX. Due to the small size of the OBEX response packet, it can be accommodated in a single IrLAP window and we assume it is error free. The time required to transmit a response packet T RES is: T RES ( lobex + llmp + lttp ) = + t C By adding up all the time portions, as shown in Fig.3, the average time for transmission of one OBEX packet is: T = T + T + T + 2T full rem The OBEX throughput, which is defined as the useful data bit per second, is therefore given by: P D = REQ In order to normalize the OBEX throughput, throughput efficiency is given by: TPE = D / C (12) l T RES OBEX TA ack (9) (10) (11) 8

Using this mathematical model, in Fig.5, we compare the system throughput efficiency (TPE) for different data rates by using different OBEX packet sizes and turnaround time. OBEX TPE is plotted against BER. An average implemented IrLAP frame size l of 2048bit, window size N of 20 and minimum turnaround time t ta of 10-5 s are used in the simulation. Unless otherwise specified, the same IrLAP parameters are used throughout this paper. Throughput Efficiency 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 1.0E-06 1.0E-05 1.0E-04 Bit Error Rate A, C=1Mb/s B, C=1Mb/s A, C=10Mb/s B, C=10Mb/s A, C=100Mb/s B, C=100Mb/s Figure 5: OBEX TPE using different P REQ and T TA. Where A: P REQ =50Kbit, T TA =10-4 s; B: P REQ =500Kbit, T TA =10-3 s. As shown in Fig.5, the throughput efficiency decreases as the BER increases, and the system has larger TPE for low data rates. The results also show that different OBEX packet sizes and turnaround times have different effects on the TPE. P REQ and T TA have significant effects on the high data rate links, i.e. nearly 30% TPE difference between adopting parameters A and B is shown for 100Mb/s links at BER=10-6. Therefore appropriately adjusting the OBEX parameters may improve the system performance significantly for high data rates. 9

4. OBEX Parameters Optimization As shown in the previous section, OBEX packet size and turnaround time have significant effects on the system TPE. However, OBEX performance can be optimized by choosing appropriate OBEX parameters for any data rates and BERs. In this section, we are going to carry out a detailed study for the OBEX packet size and turnaround time by mathematical analysis and simulation results. A. OBEX packet size: The OBEX packet size P REQ is a negotiable parameter for the connection. Because its value can be chosen from 2Kbits to 512Kbits [3], it is very important to understand the effect of P REQ on the throughput. Considering the large size of P REQ, it is sufficient to assume that P REQ is much larger than the incomplete IrLAP window L rem. By combining equations (3) and (8), the time to transmit P REQ becomes: ( PREQ + llmp + lttp ) tw Tfull + Trem (13) l N P REQ is also large by comparing to the overheads of IrLMP, IrTinyTP and OBEX, thus, we assume PREQ lobex PREQ and P REQ + l LMP + l TTP P REQ. Applying these assumptions to the corr OBEX throughput equation (11), it becomes: PREQ D PREQ p tw + TRES + 2T N l (1 p) (1 (1 p) ) TA (14) By using the approximation of equation (7) and setting A = ( T + 2 T ) l (1 p) N p, we can further simplify equation (14) as: PREQ N p l (1 p) D = P p t + A REQ In equation (15), factor A is independent of P REQ. By considering N p>> pand l (1 p) >> tw, we then have l (1 p) N p>> p tw. Therefore, we can conclude that the throughput D increases with P REQ, which means the system always acquires its maximum throughput at a maximum value of P REQ. w RES TA (15) 10

B. OBEX turnaround time: Second, the OBEX turnaround time T TA in (14), is only presented in the denominator. It leads to the conclusion that throughput D increases when T TA decreases. As shown in the analysis, larger P REQ should offer better OBEX throughput. For T TA, we have proved that the system throughput will always benefit from smaller T TA. It is interesting to see if the throughput can be improved significantly if we were to use even larger P REQ values and smaller T TA. Using (11) and (12), in Fig.6, the OBEX TPE as a function of OBEX packet size P REQ in the 4 6 range of 5 10 ~1 10 bit is examined at BER of 10-6 with T TA of 10-4 s at three different data rates of 1Mbps, 10Mbps and 100Mbps. In Fig.7, the OBEX TPE is also plotted against T TA in the 5 2 range of 1 10 ~1 10 s at 1Mbps, 10Mbps and 100Mbps. P REQ is set at 500Kbit. 0.95 Throughput Efficiency 0.85 0.75 0.65 data rate=1mbps data rate=10mbps data rate=100mbps 5.0E+04 5.0E+05 9.5E+05 OBEX size P REQ (bits) Figure 6: OBEX TPE against P REQ with T TA =10-4 s at BER=10-6 For P REQ, the corresponding OBEX TPE curves show non-linear shapes in Fig.6. This is due to the change of the incomplete IrLAP window L REM that we ignored in (13). However, in spite of the slight fluctuation, TPE increases with P REQ at all data rates. This verifies our analysis for the optimum P REQ. The TPE at 100Mbps benefits most as P REQ increases, while at lower speeds, the benefits are small for very large P REQ. For T TA, in Fig.7, all of the three OBEX TPE curves decrease with increasing T TA. Links at high data rates are more sensitive and vulnerable to the large T TA than at the low data rates. 11

1 Throughput Efficiency 0.9 0.8 0.7 0.6 0.5 0.4 0.3 data rate=1mbps data rate=10mbps data rate=100mbps 1.0E-05 1.0E-04 1.0E-03 1.0E-02 OBEX Turnaround Time (s) Figure 7: OBEX TPE against T TA with P REQ =500Kbit at BER=10-6 Larger P REQ will improve the throughput, however, larger memory buffer size has to be assigned for temporarily storing the unfinished (current transmitting) packet. Given the fact that buffer size is constrained for the resource-limited wireless device, P REQ should not be over size. As shown in Fig.6, high throughput efficiency over 0.85 is achieved when OBEX packet size P REQ is increased to 500Kbit for 100Mbps links. P REQ size of 200Kbit can satisfy 10Mbps and 1Mbps respectively, larger P REQ is not necessary since it leads to only trivial improvement on the throughput. For T TA, this high layer turnaround time depends on the CPU speed of the communication peers rather than the IrDA transceivers themselves. Therefore, smaller T TA requires faster CPU. Smaller T TA can improve the throughput but very small T TA only leads to trivial improvement on the throughput, Fig.7. For 100 Mbps links an OBEX turnaround time of less than 10-4 s is necessary, while for 10Mbps and less data rate links, an OBEX turnaround time of 10-3 s is sufficient if we are not prepared to sacrifice more than a few percent of throughput efficiency. Fig.8 shows the OBEX TPE by using the recommended optimum P REQ and T TA values. Results are plotted against BER in three different data rates of 1Mbps, 10Mbps and 100Mbps. Comparing Fig.8 to the non-optimum cases in Fig.5, considerable improvement on OBEX TPE is shown for the same BER. The system is benefited significantly by using the optimum P REQ and T TA values especially for high data rates. 12

1 Throughput Efficiency 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 data rate=1mbps data rate=10mbps data rate=100mbps 1.0E-06 1.0E-05 1.0E-04 Bit Error Rate Figure 8: OBEX TPE using the recommended optimum P REQ and T TA values 5. Conclusions This article examined the performance of OBEX protocol running on top of the IrDA protocol stack. We have used an analytical model to derive the OBEX throughput equation which depends on BER. Based on the mathematical model, we examined the impact of OBEX packet size and turnaround time on the OBEX throughput efficiency. The non-optimum OBEX parameters show significant detriment on the system performance especially for high data rate links. In order to maximise the throughout and improve the system performance at high BER, the optimum OBEX size and OBEX turnaround time of the model have been studied. The analysis shows the system throughput always benefits by a large OBEX size and a smaller turnaround time. By considering small sacrifice off the system performance, we can compromise the throughput and the hardware requirement. Based on the results, we offer OBEX parameter selection guidelines of suitable OBEX packet size and turnaround time for different data rates. The OBEX throughput shows significant improvements by applying the optimized parameters. 13

REFERENCES [1] Williams S., IrDA: Past, Present and Future, IEEE Personal Communications, 7(1), 11-19 (2000) [2] Sairam, K.V.S.S.S.S.; Gunasekaran, N.; Redd, S.R.; Bluetooth in wireless communication, IEEE Communications Magazine, Volume: 40 Issue: 6, Jun 2002 Page(s): 90-96 [3] IrDA, Object Exchange Protocol (IrOBEX), Version 1.3 (Infrared Data Association, March, 2003) [4] A. C. Boucouvalas, V.Vitsas, '100 Mb/s IrDA Protocol Performance Evaluation", Proceedings of IASTED International Conference on Wireless and Optical Communications (WOC 2001) June 27-29, 2001 Banff, Canada, pp.49-57 [5] P. Chatzimisios and A. C. Boucouvalas ''IrLAP IrDA Protocol Throughput Dependence on Processor Speed'' International Symposium on CSNDSP 2002, Staffordshire University, July 15-17, pp. 272-275. [6] A. C. Boucouvalas, V.Vitsas 'Optimum Window and Frame Size for IrDA Links'. IEE. Electronic Letters, Vol.37, No.3, pp194-196, 1st Feb. 2001 [7] IrDA, Serial Infrared Physical Layer Specification Version 1.1, (Infrared Data Association, 1995) [8] IrDA, Serial Infrared Physical Layer Specification for 16Mb/s Addition (VFIR) Errata to version 1.3, Infrared Data Association, (1999) [9] IrDA, Serial Infrared Link Access Protocol (IrLAP), Version 1.1 (Infrared Data Association, 1996) [10] IrDA, Link Management Protocol (IrLMP), Version 1.1 (Infrared Data Association, 1996) [11] IrDA, Tiny Transport Protocol (IrTinyTP), Version 1.1 (Infrared Data Association, 1996) [12] P. Barker, A.C. Boucouvalas, Performance modelling of the IrDA protocol for Infrared Wireless Communications IEEE Communications magazine, Vol.36, No.12, pp.113-117, December 1998. [13] Bux W., Kummerle K. & Truong H.L., Balanced HDLC procedures: A performance Analysis, IEEE Trans.Com, 1980, com-28, pp.1889-1898. 14