133
edits
(→Architecture Designs: Add user interaction description) |
(→Architecture Designs: Add block diagram description) |
||
| Line 13: | Line 13: | ||
== Architecture Designs == | == Architecture Designs == | ||
* Remote Control Service: Entry point of remote control feature. Control service related logic and data in runtime. | |||
* HTTP Server: Serves connections from user. Two types files can be served: | |||
** Static file: Stored in Remote Control Client App, packaged in app://remote-control-client.gaiamobile.org | |||
** Service script: Handle AJAX request and response for secure connection initialization, PIN code pairing and control event processing. Packaged in resource://gre/res/remotecontrol | |||
* Remote Control App: Provides service related user interface on TV. Communicate with Remote Control Service via MozSettings. | |||
User interaction of remote control is divided into three parts: | User interaction of remote control is divided into three parts: | ||
# Establish secure connection | # Establish secure connection | ||
# PIN code pairing | # PIN code pairing (optional, by user settings) | ||
# Control event processing | # Control event processing | ||
edits