| Bluetooth wireless technology is an open specification for a low-power, low-cost, short-range radio technology with rapid growing in recent years. It is mainly used as link between portable devices in place of cables, and can deliver the short-range transmission of voice and data. It makes wireless networking possible among those digital devices such as mobile phones, PDAs, and portable computers, printers, and network gateways. It is a wireless technology that by which the devices are composed of"personal local area network".IrDA(Infrared Data Association) defined a protocol to send an arbitrary"thing", or data object, from one device to another, is referred to as IrOBEX(IrDA Object Exchange, OBEX for short). It is a compact, highly efficient, binary protocol that enables a wide range of devices to exchange data in a simple and spontaneous manner. OBEX performs a function similar to HTTP, a major protocol underlying the World Wide Web. Currently, OBEX protocol is no longer confined to the application of infrared field. Bluetooth SIG has adopted this protocol as a Bluetooth's protocol of application layer. It make the application easily to use Bluetooth or infrared transmission technology for communication with the OBEX protocol.Object-oriented is most concerned with in the software technical fields for nearly 20 years. Object-oriented technology is methodology that we realize the real world in accordance with the normal manner we usually liked. It provides us a new approach for the analysis and design of a information systems.In this paper, we firstly summarized principle of the protocol could divided into layers over a data communication network, and then introduced the Bluetooth protocol stack and Bluetooth profiles. And then we made a brief introduction to the OBEX protocol.In the after chapter, some concepts about the object-oriented analysis and design of software were introduced, and how to use the UML to model a software system. Then, those diagrams of UML described a system from different perspectives were explained.In the final chapter, we introduced how to design a structure of OBEX protocol software in accord with the location the OBEX in the Bluetooth protocol stack and OBEX profile model. And on the basis of this software structure, in accordance with the functions and features of each software modules, the corresponding classes were designed. Meanwhile, the functions of each class are explained, and then we explained how to use sequence diagram to describe the interaction with the related classes and how to use the statechart diagram to describe the state changes. |