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 performing Bluetooth pairing on a device, the method performed by a processor of the device, the method comprising:
receiving a barcode comprising pairing data, the pairing data comprising a Bluetooth address and a personal identification number usable to complete a Bluetooth pairing, and wherein the barcode further comprises pairing initiation data usable to automatically initiate the Bluetooth pairing at the device;
decoding the barcode to obtain the pairing data and the pairing initiation data; and
automatically performing the Bluetooth pairing using the pairing data in response to obtaining the pairing initiation data.
2. The method of claim 1 , where the receiving the barcode comprises using a camera associated with the device, where the camera is configured to capture an image comprising the barcode.
3. The method of claim 2 , further comprising, prior to said decoding, processing the image to identify the barcode.
4. The method of claim 1 , further comprising sending a message after receiving the barcode, said message configured to indicate receipt of the barcode.
5. The method of claim 1 , wherein the device comprises a photo frame.
6. The method of claim 1 , wherein the device comprises a mobile device.
7. A device comprising a memory, a Bluetooth transceiver, and further comprising a processor, wherein the processor is configurable to:
receive a barcode comprised of pairing data, the pairing data is further comprised of a Bluetooth address and a personal identification number usable to complete a Bluetooth pairing, and wherein the barcode further comprises pairing initiation data usable to automatically initiate the Bluetooth pairing at the device;
decode the barcode to obtain the pairing data and the pairing initiation data; and
automatically perform the Bluetooth pairing using the pairing data in response to obtaining the pairing initiation data.
8. The device of claim 7 , wherein the barcode is received using a camera associated with the device, wherein the camera is configured to capture an image comprising the barcode.
9. The device of claim 8 , wherein the processor is configured to process the image to identify the barcode prior to decoding the barcode.
10. The device of claim 7 , wherein the processor is configured to send a message after receiving the barcode, said message configured to indicate receipt of the barcode.
11. The device of claim 7 , wherein the device comprises a photo frame.
12. The device of claim 7 , wherein the device comprises a mobile device.
13. A non-transitory computer-readable storage medium upon which a plurality of computer-readable instructions for execution by a processor of a device is stored, wherein execution of the instructions causes the processor to:
receive a barcode comprised of pairing data, the pairing data further comprised of a Bluetooth address and a personal identification number usable to complete a Bluetooth pairing, and wherein the barcode further comprises pairing initiation data usable to automatically initiate the Bluetooth pairing at the device;
decode the barcode to obtain the pairing data and the pairing initiation data; and
automatically perform the Bluetooth pairing using the pairing data in response to obtaining the pairing initiation data.