1 / 21

Final Presentation Semester A

Pundik Dmitry & Blekhman Alexandr Instructor: Konstanin Sinyuk. הטכניון - מכון טכנולוגי לישראל המעבדה למערכות ספרתיות מהירות הפקולטה להנדסת חשמל. Final Presentation Semester A. LAN Access Point Extension. Abstract.

jadzia
Download Presentation

Final Presentation Semester A

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. Pundik Dmitry & Blekhman Alexandr Instructor: Konstanin Sinyuk הטכניון - מכון טכנולוגי לישראלהמעבדה למערכות ספרתיות מהירות הפקולטה להנדסת חשמל Final PresentationSemester A LAN Access Point Extension Pundik Dmitry & Blekhman Alexandr 2001/02

  2. Abstract • In our project we rebuild the infrastructure of a project that is written by the second team in CE Lab (Haim and Eran). • The system is called LIS (Local Information System), and it uses a LAP (LAN Access Point) in order to connect an information service, and transfer data. • The connection and transfer is made through BlueTooth wireless communication technology, and we have to replace the current stack, while making minimal changes to the API, in order to minimize the effect on the already running projects. Pundik Dmitry & Blekhman Alexandr 2001/02

  3. BlueTooth Overview Short range wireless technology. Network solution for handheld devices. Pundik Dmitry & Blekhman Alexandr 2001/02

  4. Client 1 Client 7 Client 2 BT BT BT BT System Overview LAN PC LAP PC • • • PC Pundik Dmitry & Blekhman Alexandr 2001/02

  5. Our Project Part A The goal of our project is to develop and integrate a new BT stack in the current application: The previous BT was built for concept demonstration system. This stack only partially implements the BlueTooth standard stack. The implementation of the stack was rather simple and inefficient. Pundik Dmitry & Blekhman Alexandr 2001/02

  6. Project Part A Final Architecture • In the end of current project part, we have released two java objects: • RFSocket – object, implementing the socket, which transferres the data. • RFServerSocket – object, implementing the server of the BT connection. These objects allow transparent use of client/server architecture in Java applications over Bluetooth network. Pundik Dmitry & Blekhman Alexandr 2001/02

  7. Porting To Java • Both classes were written in C/C++, and compiled into a Dinamic Link Library (DLL). • Their API’s were ported to Java, so the second project team can integrate it in their work. • The porting was made using JNI – Java Native Interface. Pundik Dmitry & Blekhman Alexandr 2001/02

  8. JNI • The Java Native Interface (JNI) allows Java code to operate with applications written in other languages. • You can call functions and methods implemented in other languages, such as C or C++. • This can be used in integrating an already existing (legacy) application into a Java application. Pundik Dmitry & Blekhman Alexandr 2001/02

  9. Project Software DesignServer Side User 2 Java Objects JNI API RFServices DLL (C++) API Digianswer BlueTooth stack Pundik Dmitry & Blekhman Alexandr 2001/02

  10. Project Software DesignClient Side User Java Object JNI API RFSocket implementation (C++) API Digianswer BlueTooth stack Pundik Dmitry & Blekhman Alexandr 2001/02

  11. RFServerSocket Functionality RFServerSocket implements the server side BT connection. Performs the clients search and sets up the connection. It export RFSocket object for data transfer for each client connected. It works on PC devices, and uses the Multi Point connection to clients. Search RFSocket RFServerSocket Accept Connect Pundik Dmitry & Blekhman Alexandr 2001/02

  12. RFSocket Functionality RFSocket implements the basic socket stream functions, as object Socket in Java. For the user it has the same API both on the iPaq devices, and the server. This object operates with one BT device, using Point To Point connection with the server. HCI Input Stream Read RFSocket HCI Output Stream Write Disconnect Pundik Dmitry & Blekhman Alexandr 2001/02

  13. RFServerSocket API Main methods: • Connect: initializes the connection, performs inquiry, builds the database of clients and services, creates the connections to all the clients found. • Accept: returns a reference to one RFSocket of all alive connections at a time. • Close: closes all connections, destroys databases, and exits. Pundik Dmitry & Blekhman Alexandr 2001/02

  14. RFServerSocket Design • RFServerSocket is based on DigiAnswer API, supplied with the DigiAnswer BT device. • The connection is created through Serial Port Profile, which creates a virtual COM port for every client. • The RFServerSocket creates the connection with all the clients found. The device list can be updated. • Every connected client has a corresponding RFSocket, stored in a list inside the RFServerSocket. • Every RFSocket has a different local service, used by the connection. Pundik Dmitry & Blekhman Alexandr 2001/02

  15. RFServerSocket API Diagram Connected RFSockets, one to every available local service: Connect Accept Close Pundik Dmitry & Blekhman Alexandr 2001/02

  16. RFServerSocket Design Diagram Virtual COM port RFSocket API User RFServerSocket API Digianswer BlueTooth stack BT hardware Pundik Dmitry & Blekhman Alexandr 2001/02

  17. RFSocket API Main methods: • GetInputStream: returns the stream, that reads the data. The stream implements Java’s inputStream interface. • GetOutputStream: returns the stream, that sends the data. The stream implements Java’s outputStream interface. • Disconnect: disconnects the client the object refers to, and notifies the server about the socket termination. Pundik Dmitry & Blekhman Alexandr 2001/02

  18. RFSocket API Diagram Virtual COM port Disconnect GetInputStream GetOutputStream InputStream OutputStream Call the server for disconnection Read Write Pundik Dmitry & Blekhman Alexandr 2001/02

  19. Problems Encountered • The server is located on the laptop, because the DigiAnswer BT device is PCMCIA. • Difference between BT stack versions on the iPaqs, and the server caused many crashes and connection failures. • The Java VM on iPaq is a PersonalJava, which made the porting difficult. • Absence of Jbuilder on the laptop made us write the Java code on a PC, and run it on the laptop, without any debugging abilities. • General inconveniences, like writing on a laptop, transferring data to PC, and debugging on iPaq. Pundik Dmitry & Blekhman Alexandr 2001/02

  20. Semester B • Complete the porting of RFSocket for the client (iPaq) to Java. • Run numerous tests on the objects, and fix the bugs found. • Integrate the Java objects RFServerSocket and RFSocket in the project of the second team (Haim and Eran) • Transfer the LAP to the iPaq from the Laptop. Pundik Dmitry & Blekhman Alexandr 2001/02

  21. Time Table Pundik Dmitry & Blekhman Alexandr 2001/02

More Related