Methods and devices for facilitating bluetooth pairing using a camera as a barcode scanner
Embodiments of the systems, devices and methods described herein generally facilitate performing Bluetooth pairing between a first device and a second device. In accordance with one example embodiment, a first device generates a barcode that encodes Bluetooth pairing data for transmission to the second device, wherein the pairing data comprises a Bluetooth address associated with the first device, and wherein the pairing data further comprises a personal identification number usable to complete the Bluetooth pairing, the barcode is transmitted to the second device, and Bluetooth pairing is performed with the second device.
1. A method for short-range communication pairing, the method comprising:
at a processor of a first communication device, receiving an optical representation of security parameters associated with a second communication device and usable to complete a short-range communication pairing with the second communication device;
decoding the optical representation at the processor, to obtain the security parameters; and
automatically performing the short-range communication pairing using the security parameters, in response to obtaining the security parameters from the optical representation.
2. The method of claim 1 , wherein receiving the optical representation comprises controlling, by the processor, a camera associated with the first communication device to capture an image of the optical representation.
3. The method of claim 2 , further comprising, prior to the decoding, processing the image to identify the optical representation.
4. The method of claim 1 , further comprising sending a message to the second communication device after receiving the optical representation to indicate receipt of the optical representation.
5. The method of claim 1 , wherein the first communication device comprises a photo frame.
6. The method of claim 1 , wherein the first communication device comprises a mobile device.
7. The method of claim 1 , wherein the optical representation is a barcode.
8. A communication device, comprising:
a memory;
a short-range communication transceiver; and
a processor configured to:
receive an optical representation of security parameters associated with a second communication device and usable to complete a short-range communication pairing with the second communication device;
decode the optical representation at the processor, to obtain the security parameters; and
in response to obtaining the security parameters from the optical representation, automatically perform the short-range communication pairing using the security parameters.
9. The communication device of claim 8 , further comprising a camera; wherein the processor is configured, in order to receive the optical representation, to control the camera to capture an image comprising the optical representation.
10. The communication device of claim 9 , wherein the processor is configured to process the image to identify the optical representation prior to decoding the optical representation.
11. The communication device of claim 8 , wherein the processor is configured to send a message after receiving the optical representation, to indicate receipt of the optical representation.
12. The communication device of claim 8 , wherein the communication device is a photo frame.
13. The communication device of claim 8 , wherein the communication device is a mobile device.
14. A non-transitory computer-readable storage medium including a plurality of computer-readable instructions for execution by a processor of a communication device to:
receive an optical representation of security parameters associated with a second communication device and usable to complete a short-range communication pairing with the second communication device;
decode the optical representation at the processor, to obtain the security parameters; and
in response to obtaining the security parameters from the optical representation, automatically perform the short-range communication pairing using the security parameters.
15. The non-transitory computer-readable storage medium of claim 14 , wherein execution of the instructions by the processor configures the processor, in order to receive the optical representation, to control a camera to capture an image comprising the optical representation.
16. The non-transitory computer-readable storage medium of claim 15 , wherein execution of the instructions by the processor configures the processor to process the image to identify the optical representation prior to decoding the optical representation.
17. The non-transitory computer-readable storage medium of claim 14 , wherein execution of the instructions by the processor configures the processor to send a message after receiving the optical representation, to indicate receipt of the optical representation.
18. The non-transitory computer-readable storage medium of claim 14 , wherein the communication device is a photo frame.
19. The non-transitory computer-readable storage medium of claim 14 , wherein the communication device is a mobile device.
20. The non-transitory computer-readable storage medium of claim 14 , wherein the optical representation is a barcode.