133
edits
(→Ajax Protocol: Add PIN code pairing) |
(→PIN code pairing: Add AJAX protocol reference) |
||
| Line 52: | Line 52: | ||
# User enter PIN code on screen. | # User enter PIN code on screen. | ||
# Client encrypts PIN code. | # Client encrypts PIN code. | ||
# Client sends PIN code to pairing.sjs. | # Client sends PIN code to pairing.sjs. [[Firefox_OS/Remote_Control#Pair_PIN_code|Detail]] | ||
# Pairing.sjs replies a ticket number. | # Pairing.sjs replies a ticket number. | ||
# Pairing.sjs decrypts PIN code using symmetric key received in establish secure connection. | # Pairing.sjs decrypts PIN code using symmetric key received in establish secure connection. | ||
# Pairing.sjs confirms PIN code correct from remote control service and delete pending PIN code. | # Pairing.sjs confirms PIN code correct from remote control service and delete pending PIN code. | ||
# Pairing.sjs requests Gaia system app to dismiss pairing notification on screen. (send chrome event) | # Pairing.sjs requests Gaia system app to dismiss pairing notification on screen. (send chrome event) | ||
# Client queries PIN code pairing result from pairing.sjs by ticket number. | # Client queries PIN code pairing result from pairing.sjs by ticket number. [[Firefox_OS/Remote_Control#Poll_pair_result|Detail]] | ||
# Client reloads the URL with UUID. | # Client reloads the URL with UUID. | ||
edits