133
edits
(→Establish secure connection: Add source link) |
(→PIN code pairing: Add source link) |
||
| Line 61: | Line 61: | ||
# Client sends PIN code to pairing.sjs. [[Firefox_OS/Remote_Control#Pair_PIN_code|Detail]] | # 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. [https://github.com/MDTsai/gecko-dev/blob/Bug_1235013_new_httpserver/b2g/remotecontrol/pairing.sjs#L48 source] | ||
# 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) | ||
edits