WebAPI/PresentationAPI:Protocol Draft: Difference between revisions
< WebAPI
Jump to navigation
Jump to search
m (→References: update references) |
(→Requirement: update requirement) |
||
Line 3: | Line 3: | ||
== Requirement == | == Requirement == | ||
* Device Discovery | * Device Discovery | ||
** Device information: unique name, user-friendly name, | ** Device information: unique name, user-friendly name, address for ctrl server | ||
** Device capability: resolution, supported media type, supported apps | ** Device capability: resolution, supported media type, supported apps, supported IO capability | ||
** Protocol information: protocol version | ** Protocol information: protocol version | ||
* Service Launching | * Service Launching | ||
** Service information: app/page URL | ** Service information: app/page URL | ||
** Session information: session Id | ** Session information: session Id, bootstrap info for communication | ||
** Controlling message: launch, reconnect, terminate | ** Controlling message: launch, reconnect, terminate | ||
** User settings: preferred locale | ** User settings: preferred locale | ||
Line 14: | Line 14: | ||
** establish dedicate transportation channel | ** establish dedicate transportation channel | ||
* Security | * Security | ||
** device challenge | ** device challenge: OOB channel, passkey | ||
** data encryption | ** data encryption: key derived from challenge, key exchange for communication channel | ||
== Architecture == | == Architecture == |
Revision as of 10:51, 29 March 2016
This is a draft of protocol proposal for 2-UAs Presentation Scenario
Requirement
- Device Discovery
- Device information: unique name, user-friendly name, address for ctrl server
- Device capability: resolution, supported media type, supported apps, supported IO capability
- Protocol information: protocol version
- Service Launching
- Service information: app/page URL
- Session information: session Id, bootstrap info for communication
- Controlling message: launch, reconnect, terminate
- User settings: preferred locale
- Communication
- establish dedicate transportation channel
- Security
- device challenge: OOB channel, passkey
- data encryption: key derived from challenge, key exchange for communication channel
Architecture
Protocol Details
Launch
- STEP 1: find device
- STEP 1a: query device capability
- STEP 2: setup control channel to remote device
- STEP 2a: device challenge / device pairing
- STEP 3: launch app / page
- STEP 4: setup communication channel
- STEP 5: close control channel
Terminate
- STEP 1: setup control channel to remote device
- STEP 1a: complete challenge with stored information
- STEP 2: terminate app / page via session Id
- STEP 3: close control channel
Reconnect
- STEP 1: setup control channel to remote device
- STEP 1a: complete challenge with stored information
- STEP 2: reconnect app / page via session Id
- STEP 3: setup communication channel
- STEP 4: close control channel