130 likes | 305 Views
MobileRC. Group members: Will Worden Jackie Hyunh Chris Schrives. 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
E N D
Group members: • Will Worden • Jackie Hyunh • Chris Schrives
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 • Phone that can run J2ME application (We tested on a Nokia e71/ Symbian S60 FP2) • Computer side requires Python, VLC Player
How do we do it? INTERPERTER • Interpreter runs on computer, Phone connects to. Interpreter parses commands from phone and passes them to VLC for execution
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
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 • 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)
Phone Side • TCP message commands • Predefined port on Computer Side, OS assigns Phone side port
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
Commands • Play • Stop • Resume/Pause • Volume +/- • Full Screen • FFW • RWD • Next • Previous • Mute
GUI • KUIX library
Security • Nonces for individual commands • MD5 Hash of initial remote command • Had intended to use symmetric keys, but had to cut