final presentation spring 2003 project id: d0822 project name: wince integrating bt media share...

17
Final Presentation Final Presentation Spring 2003 Spring 2003 Project ID: D0822 Project ID: D0822 Project Name Project Name : : WinCE integrating BT WinCE integrating BT media share application media share application Supervisor Supervisor : : Evgeny Rivkin Evgeny Rivkin Performed by Performed by : : Maya Yokev Maya Yokev Tomer Naftali Tomer Naftali

Post on 22-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Final PresentationFinal Presentation Spring 2003Spring 2003Project ID: D0822Project ID: D0822

Project NameProject Name::WinCE integrating BT WinCE integrating BT media share applicationmedia share application

SupervisorSupervisor::Evgeny RivkinEvgeny Rivkin

Performed byPerformed by::Maya YokevMaya YokevTomer NaftaliTomer Naftali

HDSL labHDSL lab 22

Theoretical BackgroundTheoretical Background Portable electronic devices are one of the Portable electronic devices are one of the

latest fashionslatest fashions Bluetooth® technology is a cutting-edge Bluetooth® technology is a cutting-edge

open specification that enables short-open specification that enables short-range wireless connections between range wireless connections between desktop and notebook computers, desktop and notebook computers, handhelds, personal digital assistants, handhelds, personal digital assistants, mobile phones, camera phones, printers, mobile phones, camera phones, printers, digital cameras, headsets, keyboards and digital cameras, headsets, keyboards and even a computer mouseeven a computer mouse

Bluetooth wireless technology uses a Bluetooth wireless technology uses a globally available frequency band (2.4GHz) globally available frequency band (2.4GHz) for worldwide compatibilityfor worldwide compatibility

HDSL labHDSL lab 33

Theoretical Background (cont)Theoretical Background (cont) Microsoft allows Platform manufacturers to Microsoft allows Platform manufacturers to

customize a Microsoft OS to their specific customize a Microsoft OS to their specific product, using the Platform Builder product, using the Platform Builder automatic tool automatic tool

This customized OS is called an ImageThis customized OS is called an Image Two handheld devices, equipped with Two handheld devices, equipped with

Bluetooth devices, can connect and Bluetooth devices, can connect and exchange data exchange data

This Project brings Microsoft OS This Project brings Microsoft OS customization together with the latest customization together with the latest wireless capability fashionwireless capability fashion

HDSL labHDSL lab 44

AbstractAbstract

The goal of this project is to allow The goal of this project is to allow two handheld devices to exchange two handheld devices to exchange audio files between them, by requestaudio files between them, by request

HDSL labHDSL lab 55

Project DescriptionProject Description

In this project a Windows CE image for a In this project a Windows CE image for a dedicated PC was built and customizededicated PC was built and customize

using Platform Builder 4.2using Platform Builder 4.2 This platform hosts a Bluetooth device to This platform hosts a Bluetooth device to

connect to a similar PC, and through connect to a similar PC, and through Bluetooth wireless communication transfer Bluetooth wireless communication transfer audio files to store and play locallyaudio files to store and play locally

BT device - Ericsson ROK 101 008BT device - Ericsson ROK 101 008

HDSL labHDSL lab 66

WinCE OS based PC

Serial port

Bluetooth

Hard Disk Memory

Sound blaster

MS Media Player 7.1

Media Share App

WinCE OS based PC

Serial port

Bluetooth

Hard Disk Memory

Sound blaster

Media Share App

Block DiagramBlock Diagram

HDSL labHDSL lab 77

Implementation IssuesImplementation Issues Image configuration Image configuration Hardware components integrityHardware components integrity Using the Bluetooth device driver built in Using the Bluetooth device driver built in

the imagethe image The Bluetooth device driver should enable The Bluetooth device driver should enable

data exchange, using high-level Bluetooth data exchange, using high-level Bluetooth API functions API functions

Integration of these functions in an Integration of these functions in an application, using the Bluetooth devices at application, using the Bluetooth devices at hand, did not succeed hand, did not succeed

HDSL labHDSL lab 88

Implementation SolutionsImplementation Solutions The solution was based on a project The solution was based on a project

developed on a previous semester, in the developed on a previous semester, in the HDSL lab HDSL lab

This project offers server-client based This project offers server-client based application for Bluetooth communicationapplication for Bluetooth communication

The application was developed over eVC+The application was developed over eVC++ version 4.0+ version 4.0

It uses the serial port in order to It uses the serial port in order to communicate with the Bluetooth device communicate with the Bluetooth device

Serial communication is fully supported in Serial communication is fully supported in winCEwinCE

HDSL labHDSL lab 99

Implementation Solutions (cont)Implementation Solutions (cont)

Finally the project was enhanced for Finally the project was enhanced for multimedia files exchange and added multimedia files exchange and added browse and search capabilities into a browse and search capabilities into a GUI application GUI application

Using the application, the user can Using the application, the user can play media files through Windows play media files through Windows Media PlayerMedia Player

HDSL labHDSL lab 1010

The Platform and ImageThe Platform and Image

EnvironmentEnvironment• One development stationOne development station• Two PCs loaded with the image, simulating Two PCs loaded with the image, simulating

communication between two winCE platformscommunication between two winCE platforms• Two Ericsson ROK 101 008 BlueTooth unitsTwo Ericsson ROK 101 008 BlueTooth units• ActiveSync v3.7 - Allows synchronization ActiveSync v3.7 - Allows synchronization

between Desktop PC and a winCE platformbetween Desktop PC and a winCE platform Hardware ComponentsHardware Components

• Sound Card Creative EnsoniqSound Card Creative Ensoniq• NE2000 and Realtek Ethernet card NE2000 and Realtek Ethernet card • Two serial portsTwo serial ports

HDSL labHDSL lab 1111

The GUI ApplicationThe GUI Application

HDSL labHDSL lab 1212

Graphical User InterfaceGraphical User Interface

Browse tabBrowse tab: includes explorer like : includes explorer like windowwindow

Search tabSearch tab: includes music files search : includes music files search windowwindow

PlaylList tabPlaylList tab: includes a window : includes a window containing the music file added to a containing the music file added to a playlist, options to play them, or save playlist, options to play them, or save them in a playlist filethem in a playlist file

Chat tabChat tab: includes a chat screen: includes a chat screen

HDSL labHDSL lab 1313

Code Description Code Description

Device Init

Deviceconnectedyes

no

connect

start

Deviceinitiated

noyes

Find clientsyes

Open receivethread

Disconnect

no

SuccessError – notconnected

Success

Connect

HDSL labHDSL lab 1414

Code Description (cont)Code Description (cont)

Receive Thread

Is connected

loop

Error -connection

lost

noyes

Receivetype

Is legaltype noyes

Receivesize

Handletype

HDSL labHDSL lab 1515

Goals vs. Achievements Goals vs. Achievements

Platform Builder knowledge ramp upPlatform Builder knowledge ramp up Creation of a stable windows CE imageCreation of a stable windows CE image Adding the appropriate hardware support Adding the appropriate hardware support

to the imageto the image Building and exporting SDK suitable for Building and exporting SDK suitable for

the platform imagethe platform image Embedded Visual C++ knowledge ramp upEmbedded Visual C++ knowledge ramp up Develop an application using the Bluetooth Develop an application using the Bluetooth

device drive, which is a part of the device drive, which is a part of the platform imageplatform image

HDSL labHDSL lab 1616

Goals vs. Achievements (cont)Goals vs. Achievements (cont)

Using another way to communicate Using another way to communicate through Bluetooth – achieved by through Bluetooth – achieved by using HCI layer, which communicates using HCI layer, which communicates with the serial portwith the serial port

Develop a GUI, user friendly Develop a GUI, user friendly application, for music files handlingapplication, for music files handling

Extend the application for music files Extend the application for music files sharing between two PDAs, using sharing between two PDAs, using Bluetooth wireless communicationBluetooth wireless communication

HDSL labHDSL lab 1717

Future DevelopmentFuture Development - Image- Image

Fine tuning for the Image:Fine tuning for the Image:• Minimize the Image Minimize the Image • Use the high level API for a socket based Use the high level API for a socket based

Bluetooth connectionBluetooth connection Improve the server/client application:Improve the server/client application:

• Improve parallel execution, using threadsImprove parallel execution, using threads• Enhance server support for a number of Enhance server support for a number of

clients, rather than just point to point with a clients, rather than just point to point with a single clientsingle client

• Add support for additional Bluetooth devices, Add support for additional Bluetooth devices, from other manufacturersfrom other manufacturers