TAMZ. JavaME. Optional APIs. Department of Computer Science VŠB-Technical University of Ostrava
|
|
- Kevin Rogers
- 5 years ago
- Views:
Transcription
1 Optional APIs 1
2 Detecting API Presence (1) Optional APIs may be present in your phone, but then again, they may be missing (remember the SAX parser). We need a mechanism to detect presence of a given API and behave accordingly. We can detect presence of specific classes by calling Class.forName(). public class MyXmlParserFactory { public static MyXmlParser getparser() throws ClassNotFoundException { try { Class.forName("org.xml.sax.helpers.DefaultHandler"); Class.forName("javax.xml.parsers.SAXParserFactory"); return (MyXmlParser)(Class.forName("XML.MySAXParser").newInstance()); } catch (Exception e) { System.err.println("SAX parser unavailable"); } try { Class.forName("org.kxml2.io.KXmlParser"); return (MyXmlParser)(Class.forName("XML.MykXmlParser").newInstance()); } catch (Exception e) { System.err.println("kXML parser unavailable"); } throw new ClassNotFoundException("No XML parser package found"); } } 2
3 Detecting API Presence (2) However, there is still a catch when you create your MIDlet, you must have the libraries present to compile the bytecode (most APIs are either in WTK or supplied by vendor's SDK e.g. Nokia UI, Mascot Capsule). Also, we must sometimes solve a problem with different revisions of the same API. We can usually obtain version information from a system property: System.getProperty("microedition.location.version"); System.getProperty("microedition.io.file.FileConnection.version"); (null API is not supported) Also, the API usually defines more properties, connected with its functionality, for example the music folder URL for filesystem access: System.getProperty("filecon.dir.music"); 3
4 File Connection API (part of JSR-75) 4
5 Accessing Files (1) The FileConnection API uses GFC to open files and directories. There are only two classes, one interface and two exceptions. Availability of FC can be tested by: if (System.getProperty("microedition.io.file.FileConnection.version")!= null) { // FC available, we can use it. } FileSystemRegistry allows to obtain filesystem roots for both built-in and external memory by FileSystemRegistry.listRoots(). An implementation of FileSystemListener can be added (and removed) to detect insertion and removal of external memory cards. IllegalModeException and ConnectionClosedException can be thrown to detect incorrect file access mode or closed connection. 5
6 Accessing Files (2) FileConnection interface is based on StreamConnection and is used to read/write files and directories. try { FileConnection fconn = (FileConnection) Connector.open("file:///e:/out.txt",Connector.READ_WRITE); // URI is valid, but streams may still throw IOExceptions if (!fconn.exists()) { fconn.create(); } // create file OutputStream os = fcon.openoutputstream(); fconn.close(); } catch (IOException ioe) { } And inside of the try-catch block we can extract directory contents: if( conn.isdirectory() ){ Enumeration names = conn.list(); //Directory contents while( names.hasmoreelements() ){ String name = (String) e.nextelement(); } // do something }
7 PIM API (part of JSR-75) 7
8 Accessing PIM Data The PIM API can be used to obtain Lists of Contacts, Events and ToDos Several exceptions exist, identifying empty, full and unsupported fields. Changes in fields must be commited. import javax.microedition.pim.*; if (System.getProperty("microedition.pim.version")!= null) { // FC available, we can use it. } Obtaining PIM instance: PIM pim = PIM.getInstance(); Contact PIM ContactList RepeatRule Event PIMItem 0..* 0..* PIMList EventList ToDo ToDoList 8
9 PIM PIM lists The PIM class can be used to open local PIM lists, list names of PIM lists and convert data from/to serial format (VCARD). Supported formats are obtained by calling supportedserialformats(type). More info can be found in API doc. PIM pim = PIM.getInstance(); ContactList cl; Vector mobn = new Vector(); try { cl = (ContactList) pim.openpimlist(pim.contact_list, PIM.READ_WRITE); } catch (Exception e) { /* security or unsupported exception */ } Contact c; for (Enumeration contacts = cl.items(); contacts.hasmoreelements();) { c = (Contact) contacts.nextelement(); int phonenumbercount = c.countvalues(contact.tel); for(int i = 0; i < phonenumbercount; i++) { if((c.getattributes(contact.tel,i) & Contact.ATTR_MOBILE)!= 0) { mobn.addelement(c.getstring(contact.tel, i)); } }}
10 PIM vcard example BEGIN:VCARD VERSION:2.1 N:Moravec;Pavel FN:Pavel Moravec ORG:VSB-TU Ostrava TITLE:Assistant professor NOTE:Know your lecturer! TEL;WORK;VOICE: TEL;CELL: ****** X-IRMC-LUID: ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;FEECS, VSB-TUO =0D=0A 17.listopadu 15;Ostrava-Poruba;MSK;708 33;Czech Republic URL;WORK: REV: T194140Z END:VCARD
11 Bluetooth API (JSR-82) 11
12 Bluetooth The Bluetooth wireless connectivity technology was originally envisioned in 1994 by the Swedish phone equipment maker Ericsson as a way for mobile devices to communicate with each other at short ranges, up to 10 meters. In 1998, Ericsson, IBM, Intel, Nokia, and Toshiba formed the Bluetooth Special Interest Group consortium to develop a royalty-free, open specification for short-range wireless connectivity. Since then, more than 2000 companies have joined the Bluetooth SIG, including virtually all manufacturers of phone, computer, and PDA equipment. Source: 12
13 Bluetooth Network Topology Bluetooth-enabled devices are organized in groups called piconets. A piconet consists of a master and up to seven active slaves. A master and a single slave use point-to-point communication; if there are multiple slaves, point-to-multipoint communication is used. A master unit is the device that initiates the communication. A device in one piconet can communicate to another device in another piconet, forming a scatternet. s m s&m s s Source: 13
14 Bluetooth Profiles Bluetooth profiles are intended to ensure interoperability among different devices and applications. A profile defines the roles and capabilities for specific types of applications. Generic Access Profile Defines connection procedures, device discovery, and link management. At a minimum all Bluetooth devices must support this profile. Service Discovery Application and Profile Defines the features and procedures for an application to discover services registered in other devices. Serial Port Profile Defines the requirements for Bluetooth devices that need to set up connections that emulate serial cables.... Source: 14
15 Java APIs for Bluetooth Wireless Technology While Bluetooth hardware has advanced, there has been no standardized way to develop Bluetooth applications, until JSR 82 came into play. It hides the complexity of the Bluetooth protocol stack behind a set of Java APIs that allow you to focus on application development rather than the low-level details of Bluetooth. Like all JSRs, the Java APIs for Bluetooth are being developed through the Java Community Process. Its expert group has members representing 20 companies. The final specification is available for download. JSR 82 consists of two optional packages: the core Bluetooth API and the Object Exchange (OBEX) API. The latter is transport-independent and can be used without the former. Source: 15
16 Device Management The Java Bluetooth APIs contain the classes LocalDevice and RemoteDevice, which provide the device-management capabilities defined in the Generic Access Profile. The LocalDevice class retrieves the device's type and the kinds of services it offers. The RemoteDevice class represents a remote device and provides methods to retrieve information about the device, including its Bluetooth address and name. LocalDevice local = LocalDevice.getLocalDevice(); String address = local.getbluetoothaddress(); String name = local.getfriendlyname(); RemoteDevice remote = RemoteDevice.getRemoteDevice(...) String address = remote.getbluetoothaddress(); String name = remote.getfriendlyname(); 16
17 Discovering a Remote Device Each Bluetooth device has a specific code (CoD class of device), which consists of service class of each device (e.g. Telephony, networking, ) device class consisting of two parts major (computer, audio,...) minor (PDA for computer, headset for audio), which identify the type of the device. This code identifies, what is the function and role of given device. Each Bluetooth device has also an unique 6-byte MAC address, through which it can be addressed. Some devices can be discovered, while others are not Generally discoverable devices (GIAC) can be discovered at all times Limited Discoverable devices (LIAC) can be discovered for short time periods (e.g. 30 seconds after a button on BT handsfree is pressed) Non-discoverable devices (NOT_DISCOVERABLE) are invisible. 17
18 Offering a Bluetooth Service The steps involved in registering a service are defined in the Service Discovery Protocol (SDP), which is part of the Bluetooth Specification, and are as follows: create a service record, add the service record to the Service Discovery Database, set security measures associated with connections to clients, accept connections from clients Each Bluetooth service offered by a host is represented by a Service Record in the Service Discovery Database (SDDB). To connect to a service a client obtains a Service Record from the server and uses the information therein to connect to the service. 18
19 Requesting a Connection Bluetooth services are uniquely identified by a 128-bit Universally Unique Identifier (UUID). Every service has a UUID including generic low-level protocols and profiles. LocalDevice local = LocalDevice.getLocalDevice(); UUID uuid = new UUID(" AABBCCDDEEFF", true); DiscoveryAgent agent = local.getdiscoveryagent(); String url = agent.selectservice(uuid, ServiceRecord.NOAUTHENTICATE_NOENCRYPT, false); if (url == null) { throw new IOException("Device not found"); } StreamConnection connection = (StreamConnection)Connector.open(url); InputStream input = connection.openinputstream(); Note: For convenience the Service Discovery Protocol allows the use of 16-bit or 32-bit alias ( short ) UUIDs. UUIDs must be generated (e.g. by uuidgen) or obtained from 19
20 Offering a Connection The acceptandopen() method makes the server ready to accept client connections. It blocks until the server accepts the client connection. LocalDevice local = LocalDevice.getLocalDevice(); local.setdiscoverable(discoveryagent.giac); UUID uuid = new UUID(" AABBCCDDEEFF", true); String url = "btspp://localhost:" + uuid.tostring(); StreamConnectionNotifier notifier = Connector.open(url.toString()); StreamConnection connection = notifier.acceptandopen(); InputStream input = connection.openinputstream(); OutputStream output = connection.openoutputstream(); 20
21 Well-known UUIDs SDP 0x bit RFCOMM 0x bit OBEX 0x bit HTTP 0x000C 16-bit L2CAP 0x bit BNEP 0x000F 16-bit Serial Port 0x bit ServiceDiscoveryServerServiceClassID 0x bit BrowseGroupDescriptorServiceClassID 0x bit PublicBrowseGroup 0x bit OBEX Object Push Profile 0x bit OBEX File Transfer Profile 0x bit Personal Area Networking User 0x bit Network Access Point 0x bit Group Network 0x bit Base UUID Value (used in promoting 16-bit and 32-bit UUIDs to 128-bit UUIDs) 0x F9B34FB
22 Device Discovery Because wireless devices are mobile they need a mechanism that allows them to find other devices and gain access to their capabilities. The DiscoveryAgent class and DiscoveryListener interface provide the necessary discovery services. The DiscoveryAgent class provides methods to perform device and service discovery. A local device must have only one DiscoveryAgent object. LocalDevice local = LocalDevice.getLocalDevice(); DiscoveryAgent agent = local.getdiscoveryagent(); 22
23 Discovery Listener The DiscoveryListener interface allows an application to receive device discovery and service discovery events. DiscoveryAgent startinquiry() cancelinquiry() searchservice() 1 DiscoveryListener devicediscovered() inquirycompleted() servicediscovered() servicesearchcompleted() public class Discoverer implements DiscoveryListener {... public void startdiscovery() { agent = local.getdiscoveryagent(); agent.startinquiry(discoveryagent.giac, this); } 23
24 Discovery Listener (1) When a device is discovered the devicediscovered() method is called by an implementation. It may be called many times. public void devicediscovered(remotedevice device, DeviceClass type) { try{ remotedevices.addelement(remotedevice); } catch(exception e){ } } The inquirycompleted() method is called by the implementation when the device inquiry has completed. public void inquirycompleted(int status) { if (status == INQUIRY_COMPLETED) { } else if (status == INQUIRY_TERMINATED){ } else if (status == INQUIRY_ERROR) { } } 24
25 Discovery Listener (2) Once we obtain a remote device, we can search for offered services by searchservices(attrset, uuidset, remotedevice, this) and servicesdiscovered method is called on the Listener each time a service is found. It can be used to list the services and select an usable one, or for other purposes. public void servicesdiscovered(int transid, ServiceRecord[] servrecord) { for(int i = 0; i < servrecord.length; i++) { DataElement servicenameelement = servrecord[i].getattributevalue(0x0100); String servicename = ((String)serviceNameElement.getValue()).trim(); } } 25
26 Connection Protocols JSR 82 specifies support for three communication protocols: L2CAP The Logical Link Control and Adaption Protocol (L2CAP) is the lowest level data transmission protocol in the Bluetooth stack. Data is sent and received in packets, whose maximum size is defined by the Maximum Transmission Unit (MTU). RFCOMM The RFCOMM layer provides a stream based connection protocol analogous to serial port communication and is the basis of the Serial Port Profile (SPP). OBEX OBEX is the highest level communication protocol available in JSR 82, sitting on top of RFCOMMM and L2CAP. OBEX, the Object Exchange protocol, can be used to send and receive complete objects (e.g. files, images etc). 26
27 Connection Examples The addresses can be either constructed (see above), or stored (e.g. in record store). String UUID = new UUID(0xABCD1234).toString(); L2CAP String url="btl2cap://001a2b3c4d5e:" + UUID + ";ReceiveMTU=500;TransmitMTU=500"; RFCOMM String url="btspp://001a2b3c4d5e:" + UUID //e.g. 0x1101 for serial port + ";authenticate=false;encrypt=false;master=true"; String srvurl ="btspp://localhost:" + UUID + ";name=sserver" OBEX String url="btgoep://00a3920b2c22:" + channel; String srvurl="btgoep://localhost:" + UUID; StreamConnection conn = (StreamConnection)Connector.open(url); 27
28 OBEX remarks OBEX defines several commands, which can processed by OBEX server. Once a client session is established, they are processed by your class extending ServerRequestHandler. The commands are: CONNECT SET PATH PUT GET DELETE connection from client change current directory send an object from client receive an object by client remove the object on server An authenticator is used to verify the client 28
EE579: Annavaram & Krishnamachari. Bluetooth Communication. Basics. Network Stack. Network Topology
Bluetooth Introduction and Detailed JSR 82 Explanation Murali Annavaram & Bhaskar Krishnamachari Ming Hsieh Department of Electrical Engineering USC A Brief Introduction to Bluetooth Bhaskar Krishnamachari
More informationMobile Systeme Grundlagen und Anwendungen standortbezogener Dienste. Location Based Services in the Context of Web 2.0
Mobile Systeme Grundlagen und Anwendungen standortbezogener Dienste Location Based Services in the Context of Web 2.0 Department of Informatics - MIN Faculty - University of Hamburg Lecture Summer Term
More informationIndex. Cambridge University Press Bluetooth Essentials for Programmers Albert S. Huang and Larry Rudolph. Index.
802.11, 2, 27 A2DP. See Advanced Audio Distribution Profile, 33 accept, 25, 45 47, 61, 75, 78, 80, 82, 101, 107, 108, 122, 125, 161, 162 acceptandopen, 149, 153, 154 ACL, 12 adapter, 7 adaptive frequency
More informationChapter B4. An Echoing Client/Server Application Using BlueCove
Chapter B4. An Echoing Client/Server Application Using BlueCove In many ways, this chapter is similar to chapter B1, in that it s about an echo client/server application using Bluetooth. It deserves it
More informationMIDP: OBEX API Developer s Guide. Version 1.0; June 22, Java
F O R U M N O K I A MIDP: OBEX API Developer s Guide Version 1.0; June 22, 2006 Java Copyright 2006 Nokia Corporation. All rights reserved. Nokia and Forum Nokia are registered trademarks of Nokia Corporation.
More informationJ2ME crash course. Harald Holone
J2ME crash course Harald Holone 2006-01-24 Abstract This article gives a short, hands-on introduction to programming J2ME applications on the MIDP 2.0 platform. Basic concepts, such as configurations,
More informationBluetooth. Bluetooth Radio
Bluetooth Bluetooth is an open wireless protocol stack for low-power, short-range wireless data communications between fixed and mobile devices, and can be used to create Personal Area Networks (PANs).
More informationFILE TRANSFER PROFILE
Part K:12 FILE TRANSFER PROFILE This application profile defines the application requirements for Bluetooth devices necessary for the support of the File Transfer usage model. The requirements are expressed
More informationBluetooth: Short-range Wireless Communication
Bluetooth: Short-range Wireless Communication Wide variety of handheld devices Smartphone, palmtop, laptop Need compatible data communication interface Complicated cable/config. problem Short range wireless
More informationIrDA INTEROPERABILITY
Part F:2 IrDA INTEROPERABILITY The IrOBEX protocol is utilized by the Bluetooth technology. In Bluetooth, OBEX offers same features for applications as within the IrDA protocol hierarchy and enabling the
More informationMI-BPS (Wireless Networks) FIT - CTU
Evropský sociální fond Praha & EU: Investujeme do vaší budoucnosti MI-BPS (Wireless Networks) FIT - CTU Alex Moucha Lecture 8 - Piconets, Scatternets, Bluetooth, Zigbee 1 Piconet an ad-hoc network linking
More informationENRNG3076 : Oral presentation BEng Computer and Communications Engineering
Jean Parrend ENRNG3076 : Oral presentation BEng Computer and Communications Engineering 1 Origin 2 Purpose : Create a cable replacement standard for personal area network Handle simultaneously both data
More informationBluetooth for Java BRUCE HOPKINS AND RANJITH ANTONY
Bluetooth for Java BRUCE HOPKINS AND RANJITH ANTONY Bluetooth for Java Copyright 2003 by Bruce Hopkins and Ranjith Antony All rights reserved. No part of this work may be reproduced or transmitted in any
More informationJava 2 Micro Edition Socket, SMS and Bluetooth. F. Ricci 2008/2009
Java 2 Micro Edition Socket, SMS and Bluetooth F. Ricci 2008/2009 Content Other Connection Types Responding to Incoming Connections Socket and Server Socket Security Permissions Security domains Midlet
More informationIntroduction to Wireless Networking ECE 401WN Spring 2009
I. Overview of Bluetooth Introduction to Wireless Networking ECE 401WN Spring 2009 Lecture 6: Bluetooth and IEEE 802.15 Chapter 15 Bluetooth and IEEE 802.15 What is Bluetooth? An always-on, short-range
More informationChapter B2. L2CAP Echoing
Chapter B2. L2CAP Echoing The echoing client/server application in chapter B1 uses RFCOMM, a stream-based communications API which is implemented on top of the packet-based L2CAP. L2CAP segments the stream
More information12/2/09. Mobile and Ubiquitous Computing. Bluetooth Networking" George Roussos! Bluetooth Overview"
Mobile and Ubiquitous Computing Bluetooth Networking" George Roussos! g.roussos@dcs.bbk.ac.uk! Bluetooth Overview" A cable replacement technology! Operates in the unlicensed ISM band at 2.4 GHz! Frequency
More informationCHAPTER ONE 1.0 INTRODUTION 1.1 PROJECT OBJECTIVES 1.2 PROBLEM DEFINITION
CHAPTER ONE 1.0 INTRODUTION Bluetooth wireless technology is a short range communication technology intended to replace the cables connecting portable and/or fixed devices while maintaining high levels
More informationBluetooth Demystified
Bluetooth Demystified S-72.4210 Postgraduate Course in Radio Communications Er Liu liuer@cc.hut.fi -10 Content Outline Bluetooth History Bluetooth Market and Applications Bluetooth Protocol Stacks Radio
More informationBluetooth. Quote of the Day. "I don't have to be careful, I've got a gun. -Homer Simpson. Stephen Carter March 19, 2002
Bluetooth Stephen Carter March 19, 2002 Quote of the Day "I don't have to be careful, I've got a gun. -Homer Simpson 1 About Bluetooth Developed by a group called Bluetooth Special Interest Group (SIG),
More informationCS4/MSc Computer Networking. Lecture 13: Personal Area Networks Bluetooth
CS4/MSc Computer Networking Lecture 13: Personal Area Networks Bluetooth Computer Networking, Copyright University of Edinburgh 2005 BlueTooth Low cost wireless connectivity for Personal Area Networks
More informationOverview of Bluetooth
Wireless Application Programming with J2ME and Bluetooth Page 1 http://developers.sun.com/techtopics/mobility/midp/articles/bluetooth1/ Dec 19, 2004 Article Wireless Application Programming with J2ME and
More informationBluetooth. The Bluetooth Vision. Universal Wireless Connectivity. Universal Wireless Connectivity
1 2 The Vision Universal wireless connectivity Replace existing cables with radio Connect systems that have been separate Ubiquitous computing environment Intelligent devices performing distributed services
More informationInside Bluetooth Low Energy
Inside Bluetooth Low Energy Naresh Gupta BOSTON LONDON artechhouse.com Contents Preface Acknowledgments Foreword xix xxiii xxv Introduction 1 1.1 Introduction to Wireless Communication 1 1.2 Data Rates
More informationWireless Personal Area Networks & Wide Area Networks
Wireless Personal Area Networks & Wide Area Networks Patrick J. Stockreisser p.j.stockreisser@cs.cardiff.ac.uk Lecture Outline In the lecture we will: Look at PAN s in more detail Look at example networks
More informationBluetooth PCI Adapter
Table of Contents 1 Introduction...2 2 Installation...2 2.1 Software Installation...2 2.1.1 Installation on Windows 95/98/ME/2000/XP...2 2.1.2 Installation on Windows NT...3 2.1.3 Installation on Linux...3
More informationLocal Area Networks NETW 901
Local Area Networks NETW 901 Lecture 6 IEEE 802.15.1 - Bluetooth Course Instructor: Dr.-Ing. Maggie Mashaly maggie.ezzat@guc.edu.eg C3.220 1 The 802.15 Family Target environment: communication of personal
More informationProgramming Bluetooth-enabled devices using J2ME. Java. in a teacup. 36 April 2006 ACM QUEUE rants:
Programming Bluetooth-enabled devices using J2ME Java in a teacup 36 April 2006 ACM QUEUE rants: feedback@acmqueue.com FOCUS Purpose-Built Systems STEPHEN JOHNSON THALES-RAYTHEON FFew technology sectors
More informationNetworking 2. IP over Bluetooth
Networking 2 IP over Bluetooth IP over Bluetooth Part 1: Setup Connect your Pis directly to the monitor, keyboard, and mouse, login, and start X No VNC or SSH connections We will make a point-to-point
More informationCALIFORNIA SOFTWARE LABS
CALIFORNIA SOFTWARE LABS R E A L I Z E Y O U R I D E A S California Software Labs 6800 Koll Center Parkway, Suite 100 Pleasanton CA 94566, USA. Phone (925) 249 3000 Fax (925) 426 2556 info@cswl.com http://www.cswl.com
More informationBluetooth hotspots: Extending the reach of Bluetooth by seamlessly transporting Bluetooth communications over IP Networks
Bluetooth hotspots: Extending the reach of Bluetooth by seamlessly transporting Bluetooth communications over IP Networks David Mackie and Peter Clayton Department of Computer Science Rhodes University,
More informationVersion 1.0.1
1 of 19 Pages SyncML OBEX Binding Abstract This document describes how to use SyncML over OBEX. The document uses the primitives and methods defined in the OBEX specification V1.2 as defined in [1]. The
More informationWireless Networked Systems
Wireless Networked Systems CS 795/895 - Spring 2013 Lec #7: Medium Access Control WPAN, Bluetooth, ZigBee Tamer Nadeem Dept. of Computer Science Bluetooth Page 2 Spring 2013 CS 795/895 - Wireless Networked
More informationOne day Crash Course in Java ME Development. by Michael Sharon, Co-founder/CTO, Socialight
One day Crash Course in Java ME Development by Michael Sharon, Co-founder/CTO, Socialight sources: http://www.biskero.org/?p=430, http://alindh.iki.fi/2006/06/27/mobile-platform-statistics/, http://en.wikipedia.org/wiki/mobile_development
More informationBluetooth. Mobila applikationer och trådlösa nät HI /3/2013. Lecturer: Anders Lindström,
Mobila applikationer och trådlösa nät HI1033 Lecturer: Anders Lindström, anders.lindstrom@sth.kth.se Lecture 7 Today s topics Bluetooth NFC Bluetooth 1 Bluetooth Wireless technology standard for exchanging
More informationBluetooth Tutorial. Bluetooth Introduction. Bluetooth Technology
Bluetooth Tutorial Bluetooth strives to remove the never ending maze of wires which provide a communication link between different electronic devices, through a short range wireless solution. Consider
More informationObjectives of the Bluetooth Technology
Bluetooth Origin of the name Harald I Bleutooth (in Danish, Harald Blåtand) (b. c. 910 d. c. 987), king of Denmark was credited with the first unification of Denmark and Norway Ericsson, inspired on the
More informationBluetooth Wireless Technology meets CAN
Bluetooth Wireless Technology meets CAN Matthias Fuchs esd electronic system design GmbH, Hannover, Germany To access mobile and moving CAN fieldbus systems a wireless approach is often a good solution.
More informationDepartment of Electronic Engineering FINAL YEAR PROJECT REPORT
Department of Electronic Engineering FINAL YEAR PROJECT REPORT BEngCE-2005/06-BECE-AS-01 Bluetooth Application Development on Mobile Devices Student Name: Pang Chun Sau Student ID: Supervisor: Dr SUNG,
More informationUNIT 5 P.M.Arun Kumar, Assistant Professor, Department of IT, Sri Krishna College of Engineering and Technology, Coimbatore.
Communication Switching Techniques UNIT 5 P.M.Arun Kumar, Assistant Professor, Department of IT, Sri Krishna College of Engineering and Technology, Coimbatore. Bluetooth Techniques References 1. Wireless
More informationSpecification Volume 2. Specification of the Bluetooth System. Wireless connections made easy. Profiles
Specification Volume 2 Specification of the Bluetooth System Wireless connections made easy Profiles Version 1.1 February 22 2001 BLUETOOTH SPECIFICATION Version 1.1 page 2 of 452 Revision History The
More informationCollaborative 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 iddleware for Bluetooth-based ad-hoc Wireless Networks on Symbian OS FENG GAO, ARTIN HOPE Informatics
More informationF O R U M N O K I A. Games over Bluetooth: Recommendations to Game Developers. Version 1.0; November 13, Mobile Games
F O R U M N O K I A Games over Bluetooth: Recommendations to Game Developers Version 1.0; November 13, 2003 Mobile Games Copyright 2003 Nokia Corporation. All rights reserved. Nokia and Nokia Connecting
More informatione-pg Pathshala Quadrant 1 e-text
e-pg Pathshala Subject : Computer Science Module: Bluetooth Paper: Computer Networks Module No: CS/CN/37 Quadrant 1 e-text In our journey on networks, we are now exploring wireless networks. We looked
More informationGuide to Wireless Communications, 3 rd Edition. Objectives
Guide to Wireless Communications, 3 rd Edition Chapter 5 Wireless Personal Area Networks Objectives Describe a wireless personal area network (WPAN) List the different WPAN standards and their applications
More informationBLUETOOTH HID PROFILE
BLUETOOTH HID PROFILE iwrap APPLICATION NOTE Wednesday, 14 July 2010 Version 1.4 Copyright 2000-2010 Bluegiga Technologies All rights reserved. Bluegiga Technologies assumes no responsibility for any errors
More informationIntroducing Bluetooth
Chapter 1 Introducing Bluetooth In This Chapter From the beginning, Bluetooth technology was intended to hasten the convergence of voice and data to handheld devices, such as cellular telephones and portable
More informationBhopal, , India 3 M.Tech Scholor,Department Of Computer Science, BIST Bhopal. Bhopal, , India
Indirect Mobile Data Transfer Under Bluetooth Protocol 1 Pramod Kumar Maurya, 2 Gireesh Dixit, 3 Jay Prakash Maurya 1 M.Tech Scholor, 2 HOD, Department Of Computer Science, MPM, Bhopal, Bhopal, 462021,
More information[A SHORT REPORT ON BLUETOOTH TECHNOLOGY]
2011 [A SHORT REPORT ON BLUETOOTH TECHNOLOGY] By Ram Kumar Bhandari 1. Introduction Bluetooth Technology A Technical Report Bluetooth is a short-ranged wire-less communication technology implementing the
More informationSpecial Course in Computer Science: Local Networks. Lecture
Special Course in Computer Science: Local Networks Lecture 11 16.5.2012 Roadmap of the Course So far Basic telecom concepts General study of LANs Local Networks Ethernet Token bus Token ring ATM LAN Wi-Fi
More informationblucat Joseph Paul Cohen The wireless future is here now!
blucat Joseph Paul Cohen http://blucat.sf.net The wireless future is here now! Overview Streams (w/jokes) blucat inline netcat replacements blucat as Bluetooth nmap rfcomm and l2cap basics look at some
More informationIMPLEMENTATION AND SECURITY OF BLUETOOTH TECHNOLOGY
Bachelor s Thesis (UAS) Information Technology Networking and Programming 2011 IDAHOSA AKHANOLU IMPLEMENTATION AND SECURITY OF BLUETOOTH TECHNOLOGY i BACHELOR S THESIS (UAS) ABSTRACT TURKU UNIVERSITY OF
More informationALL SAINTS COLLEGE OF TECHNOLOGY, BHOPAL
BLUETOOTH Amita Tiwari IIIrd Semester amitaasct@gmail.com Sunil Kumar IIIrd Semester sunilasct@gmail.com ALL SAINTS COLLEGE OF TECHNOLOGY, BHOPAL ABSTRACT Blue tooth is a standard developed by a group
More informationENVIRONMENTAL SENSING PROFILE
ENVIRONMENTAL SENSING PROFILE Bluetooth Profile Specification Date 2014-Nov-18 Revision Group Prepared By SFWG Feedback Email sf-main@bluetooth.org Abstract: This profile enables a Collector device to
More informationIntroduction to Bluetooth Wireless Technology
Introduction to Bluetooth Wireless Technology Jon Inouye Staff Software Engineer Mobile Platforms Group Intel Corporation Bluetooth Bluetooth is is a a trademark trademark owned owned by by Bluetooth Bluetooth
More informationEXTENDING THE REACH OF PERSONAL AREA NETWORKS BY TRANSPORTING BLUETOOTH COMMUNICATIONS OVER IP NETWORKS
EXTENDING THE REACH OF PERSONAL AREA NETWORKS BY TRANSPORTING BLUETOOTH COMMUNICATIONS OVER IP NETWORKS A thesis submitted in fulfilment of the requirements for the degree of Master of Science of Rhodes
More informationBlueSerial. Bluetooth Serial RS232 Port Adapters. User Manual HANTZ + PARTNER. The Upgrade Company!
Bluetooth Serial RS232 Port Adapters User Manual HANTZ + PARTNER The Upgrade Company! www.hantz.com Deutschland: Tel.: 0761 / 59 21 00 Fax: 0761 / 58 52 28 Schweiz: Tel.: 061 / 27 311-31 Fax: 061 / 27
More informationEmbedded Systems. 8. Communication
Embedded Systems 8. Communication Lothar Thiele 8-1 Contents of Course 1. Embedded Systems Introduction 2. Software Introduction 7. System Components 10. Models 3. Real-Time Models 4. Periodic/Aperiodic
More informationChapter 1. Introduction. 1.1 Understanding Bluetooth as a Software Developer
Chapter 1 Introduction Bluetooth is a way for devices to wirelessly communicate over short distances. Wireless communication has been around since the late nineteenth century, and has taken form in radio,
More informationRab Nawaz Jadoon (Assistant Professor) Department of Computer Science COMSATS University, Abbottabad, Pakistan
Rab Nawaz Jadoon (Assistant Professor) Department of Computer Science COMSATS University, Abbottabad, Pakistan rabnawaz@ciit.net.pk 1 TABLE OF CONTENTS 1. Introduction... 3 1.1 History... 3 1.2 Bluetooth
More informationS60 Platform: Bluetooth API Developer s Guide
S60 Platform: Bluetooth API Developer s Guide Version 2.0 December 22, 2006 S60 S60 p l a t f o pr m l a t f o r m S60 Platform: Bluetooth API Developer s Guide 2 Legal notice Copyright 2004 2006 Nokia
More informationRedes Inalámbricas Tema 2.B Wireless PANs: Bluetooth
Redes Inalámbricas Tema 2.B Wireless PANs: Bluetooth Bluetooh Acknowledgments: Foo Chun Choong, Ericsson Research / Cyberlab Singapore, and Open Source Software Lab, ECE Dept, NUS Máster de Ingeniería
More information6/21/2016 bluetooth printing support
Develop hardware and software to enable Wireless printing using a USB printer Setting up of server device/printer Device inquiry Sending of print data to printer What is Bluetooth? Bluetooth is also known
More informationSolving the Interference Problem due to Wireless LAN for Bluetooth Transmission Using a Non- Collaborative Mechanism. Yun-Ming, Chiu 2005/6/09
Solving the Interference Problem due to Wireless LAN for Bluetooth Transmission Using a Non- Collaborative Mechanism Yun-Ming, Chiu 2005/6/09 Outline Overview Survey of Bluetooth Structure of Bluetooth
More informationComputer Networks II Advanced Features (T )
Computer Networks II Advanced Features (T-110.5111) Bluetooth, PhD Assistant Professor DCS Research Group Based on slides previously done by Matti Siekkinen, reused with permission For classroom use only,
More informationSERVICE DISCOVERY IN MOBILE PEER-TO-PEER ENVIRONMENT
SERVICE DISCOVERY IN MOBILE PEER-TO-PEER ENVIRONMENT Arto Hämäläinen Lappeenranta University of Technology P.O. Box 20, 53851 Lappeenranta, Finland arto.hamalainen@lut.fi Jari Porras Lappeenranta University
More informationInside Bluetooth. Host. Bluetooth. Module. Application RFCOMM SDP. Transport Interface. Transport Bus. Host Controller Interface
Inside Bluetooth Application Host Application Host Audio (SCO) RFCOMM SDP Data (ACL) Control API and Legacy Support Modules Bluetooth HCI Driver Transport Interface Physical I/F Transport Bus Bluetooth
More informationAn Architectural Framework to deploy Scatternet-based Applications over Bluetooth
An Architectural Framework to deploy Scatternet-based Applications over Bluetooth Nitin Pabuwal, Navendu Jain and B. N. Jain Department of Computer Science and Engineering Indian Institute of Technology,
More informationMOTO Q 9h Java ME Developer Guide. Version 01.00
MOTO Q 9h Version 01.00 Copyright 2007, Motorola, Inc. All rights reserved. This documentation may be printed and copied solely for use in developing products for Motorola products. In addition, two (2)
More informationSession Capabilities in OBEX
Session Capabilities in OBEX Version 0.14 July 16, 2002 Authors: David Suvak Contributors: Kevin Hendrix Extended Systems Extended Systems Revision History Revision Date Comments 0.1 30-May-01 Initial
More informationTracing Bluetooth Headsets with the CATC Bluetooth Analysers
Enabling Global Connectivity Computer Access Technology Corporation Tel: (408) 727-6600, Fax: (408) 727-6622 www.catc.com Tracing Bluetooth Headsets with the CATC Bluetooth Analysers Application Note Introduction
More informationDIAL-UP NETWORKING PROFILE
Part K:7 DIAL-UP NETWORKING PROFILE This profile defines the requirements for Bluetooth devices necessary for the support of the Dial-up Networking use case. The requirements are expressed in terms of
More informationSoftware Development & Education Center. Java Platform, Micro Edition. (Mobile Java)
Software Development & Education Center Java Platform, Micro Edition (Mobile Java) Detailed Curriculum UNIT 1: Introduction Understanding J2ME Configurations Connected Device Configuration Connected, Limited
More information10.1 SERIAL PORTS AND UARTS
RS- serial ports have nine circuits, which can be used for transferring data and signalling. can emulate the serial cable line settings and status of an RS- serial port. provides multiple concurrent connections
More informationMinne menet, Mobiili-Java?
Minne menet, Mobiili-Java? Java Platform, Micro Edition Status and Future Directions Antero Taivalsaari Sun Microsystems, Inc. December 2005 Growth Continues (2005 vs. 2003) 1 Billion Installed Base as
More informationDevelopment of a Service Discovery Architecture for. Christian Schwingenschlögl, Anton Heigl
Development of a Service Discovery Architecture for the Bluetooth Radio System Christian Schwingenschlögl, Anton Heigl Technische Universität München (TUM), Institute of Communication Networks Arcisstr.
More informationBlueCore. Operation of Bluetooth v2.1 Devices. Application Note. Issue 7
BlueCore Operation of Bluetooth v2.1 Devices Application Note Issue 7 Page 1 of 26 Document History Revision Date History 1 06 DEC 07 Original publication of this document. 2 27 MAR 08 Bonding description
More informationWAP/ WML : Wireless Protocol wireless protocol
Device Connectivity Device Connectivity Pervasive computing devices do not develop their full potential unless they are connected to applications and services through the Internet. Device connectivity
More informationblu2i Obex Push Client Host - Module Protocol Specification
blu2i ObexPush Client - Doc No: SDS_BT003_1v0 Issue No : 1.0 Date : 13 Nov 2006 Page 1 of 16 blu2i Obex Push Client Host - Module Protocol 2006 COPYRIGHT Ezurio Ltd This document is issued by Ezurio Limited
More informationCSPP : Introduction to Object-Oriented Programming
CSPP 511-01: Introduction to Object-Oriented Programming Harri Hakula Ryerson 256, tel. 773-702-8584 hhakula@cs.uchicago.edu August 7, 2000 CSPP 511-01: Lecture 15, August 7, 2000 1 Exceptions Files: Text
More informationBLUETOOTH PBAP AND MAP PROFILES. iwrap APPLICATION NOTE
BLUETOOTH PBAP AND MAP PROFILES iwrap APPLICATION NOTE Thursday, 20 March 2014 Version 2.5 Copyright 2000-2014 Bluegiga Technologies All rights reserved. Bluegiga Technologies assumes no responsibility
More informationBluetooth. Bluetooth Basics Bluetooth and Linux Bluetooth at AG Tech. Dr.-Ing. H. Ritter, 7.1
Bluetooth Bluetooth Basics Bluetooth and Linux Bluetooth at AG Tech Dr.-Ing. H. Ritter, http://www.hartmut-ritter.de/ 7.1 I. Bluetooth Idea Universal radio interface for ad-hoc wireless connectivity Interconnecting
More informationABSTRACT. With the advancement in technology, life is becoming increasingly easier for the
ABSTRACT With the advancement in technology, life is becoming increasingly easier for the physically challenged individuals. Technology is being used to help, the cripple to walk, the deaf to hear and
More informationImplementation of Broadcasting System Using Bluetooth
Implementation of Broadcasting System Using Bluetooth E.Srinivas Assistant Professor Department of Electronics and Communication Engineering Anurag group of institutions, hyderabad, Andhra pradesh, India
More information1. BLUETOOTH BASEBAND
MEMBER HOME PAGE PUBLIC SITE FAQ S The Bluetooth SIG, Inc. Member Web Site Assigned Numbers - Bluetooth Baseband Home Bluetooth Baseband Link Manager Protocol (LMP) Logical Link Control and Adaptation
More informationSensor Application for Museum Guidance
Sensor Application for Museum Guidance Radka Dimitrova a a TU,Dresden, Germany, e-mail: dimitrova@ifn.et.tu-dresden.de Abstract - This article examines the conditions for successful communication and power
More informationBT 31 Data Sheet. Amp ed RF Technology Inc.
BT 31 Data Sheet Amp ed RF Technology Inc. Product Specification BT31 Features Bluetooth features FCC&Bluetooth licensed radio Bluetooth v3.0 Class 1 radio Range up to 100m LOS 1.5Mbps data throughput
More informationBluetooth. Basic idea
Bluetooth Basic idea Universal radio interface for ad-hoc wireless connectivity Interconnecting computer and peripherals, handheld devices, DAs, cell phones replacement of IrDA Embedded in other devices,
More informationData sheet Wireless UART firmware version 4
Data sheet Wireless UART firmware version 4 BLUETOOTH is a trademark owned by Bluetooth SIG, Inc., U.S.A. and licensed to Free2move Rev: 05 December 2006 Table of contents 1 GENERAL INFORMATION...4 1.1
More informationDESIGN REPORT BLUETOOTH AUTOMATION
IMPERIAL COLLEGE LONDON ELECTRICAL AND ELECTRONIC ENGINEERING 2006/07 PROJECTS FOR 3EM/3T STUDENTS GROUP DESIGN AND BUILD PROJECT FOR WIZZY ELECTRONICS LIMITED DESIGN REPORT BLUETOOTH AUTOMATION 22 FEBRUARY
More informationPocket Gamelan: A Blueprint for Performance Using Wireless Devices
Research Online Faculty of Creative Arts - Papers (Archive) Faculty of Law, Humanities and the Arts 2005 Pocket Gamelan: A Blueprint for Performance Using Wireless Devices Greg Schiemer, schiemer@uow.edu.au
More informationMobile Application Development. Introduction. Dr. Christelle Scharff Pace University, USA
Mobile Application Development Introduction Dr. Christelle Scharff cscharff@pace.edu Pace University, USA Objectives Getting an overview of the mobile phone market, its possibilities and weaknesses Providing
More informationBluetooth Information Exchange Network
Bluetooth Information Exchange Network Xiaoning (Linda) Liu A thesis submitted to AUT University In partial fulfilment of the requirements for the degree of Master of Engineering (ME) October 2008 School
More informationIntroduction to Bluetooth
Introduction to Bluetooth Kirsten Matheus The idea behind Bluetooth The problems when trying to realize the idea The solutions used in Bluetooth How well the solutions work 12.06.2003 1 he Idea Behind
More informationWireless service developing for ubiquitous computing environments using J2ME technologies
Wireless service developing for ubiquitous computing environments using J2ME technologies José Miguel Rubio Escuela de Ingeniería Informática Facultad de Ingeniería, PUCV Valparaíso, Chile jose.rubio.l@ucv.cl
More informationMOBILE COMPUTING. Jan-May,2012. ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala.
WPAN: Bluetooth MOBILE COMPUTING Jan-May,2012 ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala Email-alakroy.nerist@gmail.com EM Spectrum ISM band 902 928 Mhz 2.4 2.4835 Ghz 5.725 5.85 Ghz LF MF
More informationProduct Specification
Product Specification Description The BT233/224 Bluetooth USB Adapter is an evaluation platform for the BT33 and BT24 module series. This adaptor allows a developer to quickly utilize the embedded AT command
More informationData Synchronization in Mobile Computing Systems Lesson 08 SyncML Language Features
Data Synchronization in Mobile Computing Systems Lesson 08 SyncML Language Features Oxford University Press 2007. All rights reserved. 1 A mobile computing system Consists of (i) mobile device, (ii) personal
More informationKINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK. Sub.Code/ Name : IT1452 FUNDAMENTALS OF PERVASIVE COMPUTING
IT1452 Fundamentals Of Pervasive Computing 1 KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK Sub.Code/ Name : IT1452 FUNDAMENTALS OF PERVASIVE COMPUTING Year / Sem : IV
More informationBluetooth in Mobile Devices
Bluetooth in Mobile Devices Vidar Rinne Mälardalen University School of Innovation, Design and Engineering Computer Science: Game Development vre03001@student.mdh.se Abstract The basic idea of Bluetooth
More information