1 / 16

MobileRC

MobileRC. Will Worden Jackie Huynh Chris Shrives. What does it do?. Use your cell phone as a remote control for a media control center Two sides – Computer Side application and Phone Side application. Technologies involved. WLAN connection between phone and computer

oria
Download Presentation

MobileRC

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. MobileRC Will Worden Jackie Huynh Chris Shrives

  2. What does it do? • Use your cell phone as a remote control for a media control center • Two sides – Computer Side application and Phone Side application

  3. Technologies involved • WLAN connection between phone and computer • Phone that can run J2ME application (We tested on a Nokia e71/ Symbian S60 FP2) • Computer side requires Python, VLC Player

  4. How do we do it? • Interpreter runs on computer, Phone connects to. Interpreter parses commands from phone and passes them to VLC for execution INTERPERTER

  5. Phone Side • J2me application • Connects over Wireless LAN rather than over the air through cellular network • No data costs associated with it • TCP /UDP connection, predefined ports

  6. Phone Side • Networking aspects • Finding Peers • Features both manual entry (history of previous connections stored locally on phone) • Automated peer detection on WLAN • UDP broadcast on subnet to find listening peers

  7. Peerfinding Registrar Service

  8. Peerfinding Broadcast Address Message hashed with md5

  9. Peerfinding Host compared, Connect

  10. Phone Side • TCP message commands after connection established • Predefined port on Computer Side, OS assigns Phone side port

  11. Problems Encountered on PhoneSide • Problems found: Many wireless routers don’t allow broadcast msg • Nokia does not recognize 255.255.255.255 as valid host • Symbian does not allow phone to report its own IP address (Security feature) • Nokia phones cannot connect to an address with port 80 (Midlet must be signed by trusted authority such as Verisign or Thawte) • Workaround: Connects to a registrar service that provides the IP information.

  12. Computer Side • Python • Makes separate TCP connection to VLC (localhost) • Has mapped commands to VLC commands • Originally intended to have own GUI, cut this feature

  13. Problems found on Computer Side • VLC does not provide any playback information that can be used to create playback information

  14. Commands • Play • Stop • Resume/Pause • Volume +/- • Full Screen • FFW • RWD • Next • Previous • Mute (VLC bugged)

  15. GUI • KUIX library (http://www.kalmeo.org/projects/kuix) • Uses CSS to create dynamic UI

  16. Outside sources • http://www.kalmeo.org/projects/kuix • Md5 implementation for j2me • http://mobilepit.com/10/compact-md5-class-library-for-j2me-javame-app.html

More Related