Methods and systems for enhanced device pairing
A computer-implemented method including receiving, at a first device from a second device, a wireless beacon transmission; obtaining, by the first device from the wireless beacon transmission, an identifier for the second device; initiating, by the first device, a connection to the second device via a local area network using connection parameters determined based on the identifier; and establishing a pairing relationship between the first device and the second device based on the connection.
1 . A computer-implemented method comprising:
receiving, at a first device from a second device, a wireless beacon transmission;
obtaining, by the first device from the wireless beacon transmission, an identifier for the second device;
initiating, by the first device, a connection to the second device via a local area network using connection parameters determined based on the identifier, the initiating:
using the identifier in a local area network discovery query to obtain the connection parameters for the second device; and
initiating a connection to the second device using the connection parameters; and
establishing a pairing relationship between the first device and the second device based on the connection.
2 . The method of claim 1 , further comprising:
determining, based on a signal strength of the beacon, a proximity of the first device to the second device, wherein the receiving, obtaining, initiating, and establishing is conditioned on the proximity being within a determined threshold.
3 . The method of claim 1 , wherein a plurality of second devices are part of the local area network, the method further comprising:
determining, based on a signal strength of the beacon, the second device from the plurality of second devices that is closest to the first device; and
performing the extracting, using and connecting with the determined second device.
4 . The method of claim 3 , further comprising:
receiving, at the first device from a third device, a wireless beacon transmission, the third device being one of the plurality of second devices;
obtaining, by the first device from the wireless beacon transmission, a third device identifier;
determining, at the first device, that the third device has a proximity closer than the second device;
initiating, by the first device, a connection to the third device via a local area network using connection parameters determined based on the third device identifier; and
establishing a pairing relationship between the first device and the third device based on the connection.
5 . The method of claim 1 , further comprising:
detecting a loss of the connection with the second device;
using stored connection parameters to reestablish the connection between the first device and second device.
6 . The method of claim 5 , further comprising:
determining that the reestablishment of the connection between the first device and the second device was unsuccessful;
detecting the beacon;
using an identifier in the beacon to obtain new connection parameters; and
using the new connection parameters to reestablish the connection between the first device and second device.
7 . The method of claim 1 , further comprising:
determining that the connecting was unsuccessful; and
utilising a secondary connection process to pair the first device and the second device.
8 . The method of claim 7 , wherein the secondary connection process is at least one of a Local Area Network Discovery process; and a display of a connection code on the second device for input into the first device.
9 . The method of claim 1 , wherein the connecting further comprises:
receiving, via a user interface of the first device, a code displayed on the second device.
10 . The method of claim 1 , wherein the connection parameters are a string that is larger than a payload capacity for the wireless beacon transmission.
11 . A first device comprising:
a processor; and
a communications subsystem, wherein the first device is configured to:
receive, at the first device from a second device, a wireless beacon transmission;
obtain from the wireless beacon transmission, an identifier for the second device;
initiate a connection to the second device via a local area network using connection parameters determined based on the identifier, by:
using the identifier in a local area network discovery query to obtain the connection parameters for the second device; and
initiating a connection to the second device using the connection parameters; and
establish a pairing relationship between the first device and the second device based on the connection.
12 . The first device of claim 11 , wherein the first device is further configured to:
determine, based on a signal strength of the beacon, a proximity of the first device to the second device, wherein the first device is conditioned to receive, obtain, initiate, and establish based on the proximity being within a determined threshold.
13 . The first device of claim 11 , wherein a plurality of second devices are part of the local area network, the first device further configured to:
determine, based on a signal strength of the beacon, the second device from the plurality of second devices that is closest to the first device; and
perform the extracting, using and connecting with the determined second device.
14 . The first device of claim 13 , wherein the first device is further configured to:
receive, from a third device, a wireless beacon transmission, the third device being one of the plurality of second devices;
obtain, from the wireless beacon transmission, a third device identifier;
determine, at the first device, that the third device has a proximity closer than the second device;
initiate a connection to the third device via a local area network using connection parameters determined based on the third device identifier; and
establish a pairing relationship between the first device and the third device based on the connection.
15 . The first device of claim 11 , wherein the first device is further configured to:
detect a loss of the connection with the second device; and
use stored connection parameters to reestablish the connection between the first device and second device.
16 . The first device of claim 15 , wherein the first device is further configured to:
determine that the reestablishment of the connection between the first device and the second device was unsuccessful;
detect the beacon;
use an identifier in the beacon to obtain new connection parameters; and
use the new connection parameters to reestablish the connection between the first device and second device.
17 . The first device of claim 11 , wherein the first device is further configured to:
determine that the connecting was unsuccessful; and
utilise a secondary connection process to pair the first device and the second device.
18 . The first device of claim 17 , wherein the secondary connection process is at least one of a Local Area Network Discovery process; and a display of a connection code on the second device for input into the first device.
19 . The first device of claim 11 , wherein the connection parameters are a string that is larger than a payload capacity for the wireless beacon transmission.
20 . A non-transitory computer-readable medium for storing instruction code, which, when executed by a processor of a first device cause the first device to:
receive, at the first device from a second device, a wireless beacon transmission;
obtain from the wireless beacon transmission, an identifier for the second device;
initiate a connection to the second device via a local area network using connection parameters determined based on the identifier by:
using the identifier in a local area network discovery query to obtain the connection parameters for the second device; and
initiating a connection to the second device using the connection parameters; and
establish a pairing relationship between the first device and the second device based on the connection.