Firefox OS/Remote Control: Difference between revisions

Jump to navigation Jump to search
→‎Ajax Protocol: Add PIN code pairing
(→‎Establish secure connection: Add AJAX detail in steps for reference)
(→‎Ajax Protocol: Add PIN code pairing)
Line 129: Line 129:
   {
   {
     done: false // Symmetic key unwrapping or encrypting UUID
     done: false // Symmetic key unwrapping or encrypting UUID
  }
=== Pair PIN code ===
Request
  {
    action: 'pair-pincode'
    encryptedPIN: <base64>
  }
Response
  {
    ticket: <ticket>
  }
=== Poll pair result ===
Request
  {
    action: 'poll-pair-result'
    ticket: <ticket>
  }
Response
  {
    done: true
    verified: <boolean>
    reason: <reason>
  }
  {
    done: false
   }
   }
==== Touch Events ====
==== Touch Events ====
133

edits

Navigation menu