DEVICE PAIRING WITH OPTICAL CODES

Information

  • Patent Application
  • 20230299961
  • Publication Number
    20230299961
  • Date Filed
    April 10, 2023
    a year ago
  • Date Published
    September 21, 2023
    8 months ago
Abstract
Embodiments for device pairing using optical codes are described. One embodiment is a wearable device with an image sensor configured to capture an image including a first optical code from a first host device. The wearable device decodes the first optical code, and in response to the first optical code, initiates broadcast of a pairing advertisement. The host device displays a second optical code in response to the pairing advertisement, and the wearable device captures and processes the second optical code to determine a host pairing advertisement code. The wearable device then, in response to the second optical code, initiate broadcast of a second pairing advertisement including the host pairing advertisement code. In various embodiments, a secure wireless channel is then established and used for further secure communications.
Description
Claims
  • 1. An apparatus of a host device comprising: at least one processor; anda memory storing instructions that, when executed by the processor, configure the apparatus of the host device to perform operations comprising:causing an indication of an optical code to be displayed on a display of the host device, the optical code indicating a host pairing advertisement code; andreceiving a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code.
  • 2. The apparatus of claim 1 wherein the receiving further comprises: receiving, via a first wireless communication, a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code.
  • 3. The apparatus of claim 1, wherein the optical code is a first optical code, and wherein before the causing the operations further comprise: causing an indication of a second optical code to be displayed on the display of the host device.
  • 4. The apparatus of claim 3, wherein the causing the indication of the second optical code further comprises: in response to receiving a user input to initiate pairing with the mobile device, causing, the indication of the second optical code to be displayed on the display of the host device, the second optical code soliciting the generic pairing advertisement from the mobile device.
  • 5. The apparatus of claim 3, wherein the pairing advertisement is a first pairing advertisement, and wherein the operations further comprise: receiving a second pairing advertisement from the mobile device.
  • 6. The apparatus of claim 1, wherein the operations further comprise: in response to a determination that the pairing advertisement comprises the indication of the host pairing advertisement code, sending to the mobile device, a first key.
  • 7. The apparatus of claim 6, wherein the operations further comprise: receiving a second key from the wearable device, the second key based on the first key.
  • 8. The apparatus of claim 7, wherein the operations further comprise: establishing an encrypted connection using the first key and the second key.
  • 9. The apparatus of claim 8 wherein the operations further comprise: transmitting a wireless communication to the wearable device soliciting transmission of content from the mobile device to the host device via the encrypted connection.
  • 10. The apparatus of claim 8, wherein the encrypted connection is established using an elliptic curve Diffie-Hellman (ECDH) exchange with the first key and the second key to establish a shared secret.
  • 11. The apparatus of claim 8, wherein the operations further comprise: generating a first keyed-hash message authentication code (HMAC) based on the shared secret, wherein the shared secret comprises a Diffie-Hellman Key (DHKey);transmitting the first HMAC to the wearable device; andprocessing a second HMAC based on the DHKey received from the wearable device.
  • 12. The apparatus of claim 1, wherein the operations further comprise: an antenna coupled to the memory, and wherein the receiving further comprises:receiving, via the antenna, the pairing advertisement from the mobile device, the pairing advertisement comprising the indication of the host pairing advertisement code.
  • 13. The apparatus of claim 1, wherein the optical code comprises a custom reference shape associated with a shape feature rule.
  • 14. The apparatus of claim 1, wherein the mobile device is a first mobile device and the pairing advertisement is a first pairing advertisement, and wherein the operations further comprise: receiving a second pairing advertisement from a second wearable device; andin response to a determination that the second pairing advertisement does not indicate the host pairing advertisement code, refraining from initiating a secure communication with the second mobile device.
  • 15. The apparatus of claim 1 further comprising: an image sensor coupled to the memory and configured to capture images, and wherein the receiving the pairing advertisement from the mobile device, further comprises:capturing an image comprising the pairing advertisement from a display of the mobile device; anddetermining the pairing advertisement from the image.
  • 16. A non-transitory computer-readable storage medium including instructions that, when processed by an apparatus of a host device, configure the apparatus to perform operations comprising: causing an indication of an optical code to be displayed on a display of the host device, the optical code indicating a host pairing advertisement code; andreceiving a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code.
  • 17. The non-transitory computer-readable storage medium of claim 16 wherein the receiving further comprises: receiving, via a first wireless communication, a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code.
  • 18. The non-transitory computer-readable storage medium of claim 16, wherein the optical code is a first optical code, and wherein before the causing, the operations further comprise: causing an indication of a second optical code to be displayed on the display of the host device.
  • 19. A method performed on an apparatus of a host device, the method comprising: causing an indication of an optical code to be displayed on a display of the host device, the optical code indicating a host pairing advertisement code; andreceiving a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code.
  • 20. The method of claim 19 wherein the receiving further comprises: receiving, via a first wireless communication, a pairing advertisement from a mobile device, the pairing advertisement comprising an indication of the host pairing advertisement code.
Provisional Applications (1)
Number Date Country
62399901 Sep 2016 US
Continuations (2)
Number Date Country
Parent 16947339 Jul 2020 US
Child 18132636 US
Parent 15716124 Sep 2017 US
Child 16947339 US