Collaborative Middleware for Bluetooth-Based Ad-Hoc Wireless Networks on Symbian OS

Collaborative Middleware for Bluetooth-Based Ad-Hoc Wireless Networks on Symbian OS

6th WSEAS International Conference on E-ACTIVITIES, Tenerife, Spain, December 14-16, 2007 304 Collaborative Middleware for Bluetooth-based ad-hoc Wireless Networks on Symbian OS FENG GAO, MARTIN HOPE Informatics Research Institute the University of Salford Salford, M5 4WT, UK, Abstract: - In this paper we explore the possibility of using Bluetooth in the development of a Mobile Ad-Hoc Network (MANET) suitable for transmitting data between Symbian OS based Smartphone’s. We also analyse the problems that Bluetooth presents when considering existing MANET routing protocols. Then, we present the design of a collaborative application engine by making allowances for the restrictions associated with Bluetooth and finally we review our current progress and consider future work. Key-Words: -Bluetooth, Wireless, Collaboration, Symbian OS. 1 Motivation Smartphone through a link such as USB or by using a The result of research activity in the field of mobile ad- wireless network such as Bluetooth. hoc networks (MANET) has made short to medium range The initial goal of the work presented in this paper radio transceivers very popular and inexpensive. Most of was to consider if current Smartphone technology can be the practical work and implementations focus on IEEE easily used in combination with Bluetooth, or 802.11 Wireless LAN as an underlying physical radio alternatively what modifications would be required to network and this has been used for simulations or testing. enable Bluetooth-based Ad-hoc networking via the For use in wearable devices like PDAs or cell phones, Symbian OS. Initially, we tried to find a scenario where 802.11 has the disadvantage of consuming more battery most of the characteristics and problems of MANETs power than other technologies such as Bluetooth [1][4]. running over a Bluetooth connection will appear. Within Furthermore, it seems that after some initial problems, this scenario we considered connecting a large number of Bluetooth has become a very common feature in cell Bluetooth-enabled Symbian smartphones to a (multi-hop) phones and PDAs. The research presented in this paper MANET. This includes a maximum of ten nodes within focuses on a collaborative middleware platform running the network because this number would be more likely in on mobile devices (Smartphones) in order to enhance reality, and is also the maximum number of nodes communication and the exchange of data via Bluetooth. Bluetooth has the ability to support. After the restrictions PDAs and Smartphone’s can run applications such as and limitations were considered in Bluetooth networks, a organizers, games, and communications programs (e.g. e- design was proposed which when fully developed acts mail, Web browsers etc). Here the Smartphone’s goal is like a Symbian OS application engine, and meets all the to combine mobile telephony and computing predefined requirements for a collaborative middleware. technologies in a synergistic way. A simple example is There are a numerous applications for the middleware the ability to pull up a person’s contact information or platform proposed in the paper. For example: given a even their picture, hit a button and automatically dial that large office complex where people move around a lot person’s phone number. Other examples include viewing between their office desk, conference rooms, or central a pdf document, dialing an international call via VoIP, or areas like printer-rooms, fixed-line telephones don’t watching live TV and listening to music. However, provide a practical method of voice communications. central to Smartphone technology is the Symbian OS. Therefore, people tend to call their colleagues on their Symbian OS is a full-featured mobile operating system cell phone in order to find out their current location, or in that resides in most of today’s Smartphones [8]. Since order to reach them for urgent requests. Of course, the Symbian OS is an open system, users can download, network carrier charges for these calls, however, the install and uninstall applications written by third-party middleware proposed could possibly enable them to developers (or by the users themselves). No special make the same calls at no cost at all. Another use of this carrier service or device manufacturer’s agreement is system may be at large exhibits or fares where groups of required to distribute new Smartphone applications since people with Bluetooth enabled phones may assemble. they can be downloaded by the user from a PC to the Again the middleware proposed will enable them to share 6th WSEAS International Conference on E-ACTIVITIES, Tenerife, Spain, December 14-16, 2007 305 and relay data such as shared audio / video files or work using its unique Bluetooth address. When connected, the based documents. two devices form a so-called Piconet. The initiator of the connection becomes the Master of this Piconet; the other device becomes a Slave. 2 Bluetooth overview The difference between a master and a slave needs to In this section we provide a very brief overview of the be distinguished first in order to understand this research. relevant aspects of the Bluetooth standard. For detailed A master is a device that establishes the connections to information please see [1][4]. remote device, slaves. A slave can not establish any When established in 1998, the original idea of connections; it will act as a listener to incoming Bluetooth was to create a cheap wireless replacement for connections from the master device. The master the myriad of data cables that surround today’s discovers slave devices and their services and is capable multimedia devices. Like many other communication of connecting to multiple slaves and holding these technologies, Bluetooth is composed of a hierarchy of connections active simultaneously. In essence, the point- components [5], more commonly referred to as a stack to-multipoint connectivity is a single master device (point) and is shown in figure. 1. Bluetooth uses a protocol stack connecting to multiple slave devices (multiple points) and of several layers. The Radio Layer describes the physical the slaves up to a maximum of seven. Using a Bluetooth radio system. The Baseband Layer is responsible for connection between just two devices, it does not matter transmission and reception of data packets, error which one is Bluetooth master or slave. However, if we detection and encryption (if used). The Link Controller wish to connect more than two devices together in the uses a state machine to control synchronization, same session (for example, a multiplayer game with more connection setup and shutdown and the Host-Controller- than two players), it is likely that we will have to Interface (HCI), separates the Bluetooth hardware from consider how the Bluetooth master / slave roles impact the part of the protocol stack that is usually implemented upon the connection setup between the networked peers. in software. Thanks to this standardised interface, the Because once a master connected seven slaves, this Bluetooth hardware and the Bluetooth stacks usually master can not connect any more slaves; however this interoperate very well. The Logical Link Control and peer can be as slave connecting to another master peer, as Adaption Protocol (L2CAP) layer multiplexes different show on Figure 2.The network topology will be data streams, manages different logical channels and complicated, and the requirement of routing protocol is controls fragmentation. Multiple higher layer modules higher as well. may access the L2CAP layer in parallel. These higher layer modules may consist e.g. of RFCOMM for M M emulation of serial connections, OBEX for transmission of serialized data objects or SDP for service discovery. S S/M SDP RFCOMM M S BT Host (SW) Scatternet with Slave Scatternet with Master in one L2CAP in two Piconets and Slave in another Piconet HCI Driver Figure 2: Bluetooth master and slave roles Host Controller Transport Layer 3 Developing on Symbian OS S60 3rd BT Host HCI Firmware Controller platform (HW) The Symbian OS is widely used on a number of Link Manager Protocol Smartphone platforms such as the Series 60, the Series 80, and the Series 90, three of the UI (User Interface), Baseband Link Controller platforms from Nokia, and UIQ (the UI platform from UIQ Technology). At the time of writing, the S60 variant Bluetooth Radio resides on the majority of Smartphone platforms currently available and its third edition is based on Figure 1: Bluetooth stack architecture Symbian OS v9.1[7]. Software applications running on When a device wants to connect another device it first the Symbian OS can be split into a UI (also known as a has to carry out an inquiry for its direct neighbors. After View) and an Engine (also known as a Model). The UI is receiving the inquiry results it can contact another device the part that presents the data to the user. The engine is 6th WSEAS International Conference on E-ACTIVITIES, Tenerife, Spain, December 14-16, 2007 306 concerned with data manipulation and other operations of binary data. OBEX uses a client-server model and is independent of how these are eventually presented to the independent of the transport mechanism and transport user. The engine can therefore be re-used by other API. A Bluetooth enabled device wanting to set up an applications (i.e. it can be built as a shared dll). It is the OBEX communication session with another device is application engine that takes on the role of collaborative considered to be the client device. The OBEX protocol middleware and supplies a set of classes that can re-used also defines a folder-listing object, which is used to by other applications. Like other OSs, Symbian provides browse the contents of folders on remote device. The the API to developers. Its Bluetooth API provides main purpose of the protocol is to support the sending applications with access to RFCOMM, L2CAP, SDP, and receiving of objects in a simple and spontaneous OBEX, and to a limited extent, HCI[4].

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    5 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us