1 / 26

ACS SEMINAR

ACS SEMINAR. Mobile Applications with J2ME and JSR 82 Student: Borja Gomez Zarceño Mentor: Dr. Stephan Rupp Institute of Communication Networks and Computer Engineering University of Stuttgart. Agenda. Bluetooth J2ME APIS. What is Bluetooth. Cable replacement technology. Features.

gella
Télécharger la présentation

ACS SEMINAR

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ACS SEMINAR Mobile Applications with J2ME and JSR 82 Student: Borja Gomez Zarceño Mentor: Dr. Stephan Rupp Institute of Communication Networks and Computer Engineering University of Stuttgart ACS SEMINAR

  2. Agenda Bluetooth J2ME APIS ACS SEMINAR

  3. What is Bluetooth • Cable replacement technology ACS SEMINAR

  4. Features • Wireless and Automatic • Cheap • Single Standard on the ISM band • Handles Data and Voice • Omnidirectional signals • Frequency Hopping ACS SEMINAR

  5. Bluetooth Applications • File transfer • Ad-hoc Networking • Device Synchronization • Peripheral connectivity • Car Kits • Mobile Payments ACS SEMINAR

  6. Network Topology ACS SEMINAR

  7. Bluetooth Protocol Stack ACS SEMINAR

  8. Bluetooth Profiles • Different Vendors • A device must conform to a profile • GAP • SDAP • SPP ACS SEMINAR

  9. Agenda Bluetooth J2ME APIS ACS SEMINAR

  10. J2ME • Java joins Bluetooth technology • Compact and Portable Platform • Developer Needs for Embedded Devices • Heterogeneous devices ACS SEMINAR

  11. J2ME configurations • J2ME under two configurations • CDC • CLDC • CLDC: • Provides a virtual machine KVM • A set of APIs and Libraries • CLASSES • METHODS ACS SEMINAR

  12. CLDC • Provides run time environment • Targets resource constrained devices • 512 KB of memory • Limited power supply • Limited connectivity to Networks • Simple User interface ACS SEMINAR

  13. MIDP 2.0 • Mobile interface Device Profile • Extends and Addresses CLDC • Abstracts into Java Classes ACS SEMINAR

  14. Agenda Bluetooth J2ME APIS ACS SEMINAR

  15. JSR 82 • Provide API for targeted Bluetooth-Enabled devices • Hides Stack • Classes • Methods ACS SEMINAR

  16. Organization and Packages(I) • CLDC and GCF • Javax.microedition.io • Java.io • Java.lang • Java.util • MIDP2.0 • Javax.microedition.io.lcdui • Javax.microedition.media • Javax.microedition.midlet • JSR82 • Javax.Bluetooth • Javax.Obex ACS SEMINAR

  17. JSR 82 Underlying Requirements • Minimum Profiles • GAP, SDAP and SPP • Support of three communication layers • SDP • RFCOMM • L2CAP • Bluetooth Control Center ACS SEMINAR

  18. Using the API ACS SEMINAR

  19. MIDlet Anatomy ACS SEMINAR

  20. Device Management • Local Device • getAddress() • getDiscoveryAgent() • SetDiscoverable() • Remote Device • RemoteDevice getRemoteDevice (javax.microedition.io.Connection) ACS SEMINAR

  21. Discovery ACS SEMINAR

  22. Service registration • To be performed by a server: • Create describing record • Add it to SDDB • Manage the Database by updating ACS SEMINAR

  23. COMMUNICATION(I) • SPP is an interface to RFCOMM: • Stream-based interface • 2 devices: One session at a time • Up to 60 logical channels emulated • Up to 30 RFCOMM services ACS SEMINAR

  24. COMMUNICATION (II) • CLIENT • Initiate discovery • Get the URL • Open a connection • Sending and receiving data • SERVER • Build up a URL and place is SDDB • Accepting connections from the client • Sending and Receiving data ACS SEMINAR

  25. CONCLUSIONS JSR 82 • Easy to develope WL application • Making use of Java • Standard Way • Benefit from the Bluetooth Market ACS SEMINAR

  26. THAT WAS ALL!! THANK U VERY MUCH!! ACS SEMINAR

More Related