Preview

Java Bluetooth

Powerful Essays
Open Document
Open Document
29009 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Java Bluetooth
Java Applications for a Bluetooth Platform

By Benjamin Williams 2002

School of Information Technology and Electrical Engineering The University of Queensland

Benjamin Williams 5 Garson Place MC DOWALL, BRISBANE 4053 Ph. (07) 33533607 Mobile. 3842662046 s354399@student.uq.edu.au

To the Head School of Information Technology and Electrical Engineering The University of Queensland St Lucia, QLD 4072 Dear Professor Kaplan, In accordance with the requirements of the degree of Bachelor of Engineering in the division of Electrical Engineering, I present the following thesis entitled ”Java applications for a Bluetooth Platform”. This work was performed under the supervision of Dr Adam Postula. I declare that the work submitted in this thesis is my own, except as acknowledged in the text and footnotes, and has not been previously submitted for a degree at the University of Queensland or any other institution.

Yours Sincerely Benjamin Williams

Acknowledgements
Thank you to Dr Adam Postula, Henry Valk and Paul Logothetis for your assistance with this project.

Thank you to Mum, Dad, Mark, Michael and Susan for your support through out the year.

Abstract
In March 2002 a final year thesis project was undertaken based on a suggestion by Henry Valk of HCV Wireless to investigate the development of a Java application for a Bluetooth platform. The Bluetooth standard is a short range wireless technology that allows different types of devices to form automatic, spontaneous networks. Java applications are portable, secure and robust, which makes them suitable for users of Bluetooth devices to wirelessly download and use to access a service.

There were three main aims of this project •

To analyse the features and limitations of Bluetooth and Java technology and investigate what scenarios could benefit from a wireless application implemented using this combination.



To define a specification for an experimental Bluetooth/Java application and



Bibliography: ...............................................................................................................76 Appendix A – MIDP Application Screens ...................................................................80 Appendix B – MIDP Application Classes....................................................................83 Appendix C – MIDP Application Command Actions ..................................................86 Appendix D – MIDP Application Source Code ...........................................................88 Appendix E – Server Application Source Code ......................................................... 106 Appendix F – Gateway Source Code ......................................................................... 109 Appendix G – Old Java Bluetooth Interface Source Code.......................................... 116 Appendix H – Revised Java Bluetooth Interface Source Code ................................... 123 129 Table of Figures Figure 1. The Bluetooth Protocol Stack .......................................................................12 Figure 2. A Bluetooth Piconet .....................................................................................14 Figure 3. Profiles of the Bluetooth Specification .........................................................17 Figure 4. Java 2 Micro Edition Platform Architecture..................................................19 Figure 5. Topology of the network ..............................................................................39 Figure 6. Architecture of Software Components on the mobile device.........................40 Figure 7. Relationship between interfaces for the Generic Connection Framework......43 Figure 8. Network stacks for the gateway and mobile device.......................................45 Figure 9. Distributed System Layers............................................................................49 Figure 10. Using SOAP with TCP/IP/RFCOMM ........................................................55 Figure 11. Server architecture.....................................................................................59 Figure 12. Database Schema .......................................................................................60 Figure 13. The Interface for the Bluetooth connection classes ....................................62 Figure 14. RFCOMM Class........................................................................................63 Figure 15. The gateway process .................................................................................63 Figure 16. The application running in the emulator......................................................65 130

You May Also Find These Documents Helpful

  • Best Essays

    Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)…

    • 355 Words
    • 3 Pages
    Best Essays
  • Better Essays

    NETW471 Course Project

    • 2998 Words
    • 9 Pages

    Blue-tooth is a great emerging technology being used today, which also has potential for much more uses than the tradition bluetooth headset. Bluetooth connects gadgets together, helping users listen to music, talk on phones without having to deal with frustrating cords and wires. To understand how a Bluetooth connection works, I will use an example such as a phone connected to wireless speaker. First, each device is equipped with Bluetooth connectivity, a feature that requires both software and hardware components. On the hardware side, an antenna-equipped chip in both devices sends and receives signals at a specific frequency. The software interprets incoming Bluetooth signals and sends them out in ways other devices can read and understand. In the case of the wireless speaker, the phone will know how to send audio files and information in a format that the speaker understands, while the speaker can interpret these signals–as well as other indicators such as volume and track controls–from the phone.…

    • 2998 Words
    • 9 Pages
    Better Essays
  • Satisfactory Essays

    It 241 Week 1 Cp

    • 928 Words
    • 4 Pages

    This technology is appropriate for this scenario because it used for communication within close proximity of the user, and Bluetooth provides communication between two devices.…

    • 928 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    It is estimated that Bluetooth wireless speakers alone will generate roughly $430 billion in revenue worldwide in 2014 alone (Cassagnol & Joseph, 2014). Bluetooth Technology Bluetooth technology is also found in computers and computer accessories, like mice and headsets for video games Bluetooth technology is now also found in many places in the medical field, for example in bedside telemetry monitoring equipment that remote transmits a patient’s cardiac rhythm to the monitor room and nurse’s station simultaneously in real time, alerting medical personal immediately of…

    • 1348 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Application Requirements

    • 274 Words
    • 2 Pages

    |Two current applications of WPANs |PDAs and Smart Phones, even tablets using Bluetooth connections. |…

    • 274 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Hand Talk System

    • 11544 Words
    • 47 Pages

    Wireless communication has become an important feature for commercial products and a popular research topic within the last ten years. There are now more mobile phone subscriptions than wired-line subscriptions. Lately, one area of commercial interest has been low-cost, low-power, and short-distance wireless communication used for \personal wireless networks." Technology advancements are providing smaller and more cost effective devices for integrating computational processing, wireless communication, and a host of other functionalities. These embedded communications devices will be integrated into applications ranging from homeland security to industry automation and monitoring. They will also enable custom tailored engineering solutions, creating a revolutionary way of disseminating and processing information. With new technologies and devices come new business activities, and the need for employees in these technological areas. Engineers who have knowledge of embedded systems and wireless communications will be in high demand. Unfortunately, there are few adorable environments available for development and classroom use, so students…

    • 11544 Words
    • 47 Pages
    Powerful Essays
  • Best Essays

    A wireless network allows a user to connect to a network through the use of radio signals. This enables devices to connect to the internet without the use of wires. We use wireless networks continuously throughout the day. Some examples of wireless technologies include cell phones, laptops, tablets, Bluetooth headsets, and much more. Even home security and temperature controls can be controlled wirelessly through the use of applications on cell phones. “Analysis of a Local-Area Wireless Network” is an article that addresses the increasing number of wireless networks. “More companies and schools are installing wireless networks to support a growing population of mobile laptop and PDA users” (Tang et al).…

    • 2006 Words
    • 9 Pages
    Best Essays
  • Satisfactory Essays

    This thesis gives a working example on how to design and implement a remotely controllable embedded system consisting of two subsystems who are communicating with each other using Bluetooth Low Energy. The subsystems are a movable peripheral based on the Parallax Sumobot development kit, and Atmel AVR Butterfly, the Texas Instruments CC2540 development kit and a user input interface using the Apple iPhone 4S.…

    • 1847 Words
    • 53 Pages
    Satisfactory Essays
  • Good Essays

    In [1], Jin-Shyan Lee et al. have given a detailed comparative study of different short-range wireless protocols viz. Blue- tooth (over IEEE 802.15.1), UWB (over IEEE 802.15.3), Zig- Bee (over IEEE 802.15.4) and Wi-Fi (over IEEE…

    • 1767 Words
    • 14 Pages
    Good Essays
  • Powerful Essays

    home security

    • 2158 Words
    • 9 Pages

    system implements wireless Bluetooth technology to provide remote access from PC/laptop or smart phone. The…

    • 2158 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    Java the Amazing Language

    • 7935 Words
    • 32 Pages

    Now is an exciting time for Java. The language touches our lives in numerous ways, whether it is in our ATM and debit cards, our telephones, our household appliances, our desktop…

    • 7935 Words
    • 32 Pages
    Good Essays
  • Powerful Essays

    Automatic Door Locks

    • 8951 Words
    • 36 Pages

    INTRODUCTION Definition of Wireless communication and mobile Communication 1.2 Mobile Phone 1.3 SMS Definition 1.4 History of SMS 1.5 Problem statement 1.6 Objectives 1.7 Scope of the Project 1.7.1 Software 1.7.2 Hardware 2 5 6 6 7 7 8 8 1…

    • 8951 Words
    • 36 Pages
    Powerful Essays
  • Powerful Essays

    Java Ring

    • 6414 Words
    • 26 Pages

    The Java Ring, first introduced at Java One Conference, has been tested at Celebration School, an innovative K-12 school just outside Orlando; FL.The rings given to students are programmed with Java applets that communicate with host applications on networked systems. Applets are small applications that are designed to be run within another application. The Java Ring is snapped into a reader, called a Blue Dot receptor, to allow communication between a host system and the Java Ring.…

    • 6414 Words
    • 26 Pages
    Powerful Essays
  • Satisfactory Essays

    Abstract: BluetoothTM is a wireless technology standard for the interconnection of electronic devices in the personal space. It was originally developed as a cable replacement technology and later on evolved into a Wireless Personal Area Network (WPAN). This paper discusses the implementation, setup, and testing processes involved in connecting a Nokia 7650 mobile phone to a computer running ASTI's Bayanihan Linux v2.0 (BLv2.0), which has built-in BlueZ (the official Linux Bluetooth protocol stack). The application used to interface these devices was developed over one of the layers of the BluetoothTM protocol stack, the Radio Frequency Communication (RFCOMM) layer. RFCOMM is a simple transport protocol, which provides emulation of the RS232 serial ports over the Logical Link Controller and Adaptation Protocol (L2CAP). The setup was tested with four different commercial BluetoothTM enablers.…

    • 1241 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    bluej conclusion

    • 1557 Words
    • 7 Pages

    BlueJ is an integrated development environment (IDE) for the Java programming language, developed mainly for educational purposes, but also suitable for small-scale software development.…

    • 1557 Words
    • 7 Pages
    Satisfactory Essays

Related Topics