Patent ID: 8650613

Claim:
A method comprising: receiving a device identifier of a second wireless device that is to be connected to a first wireless device; checking a data repository comprising a plurality of data entries that associate a plurality of wireless devices with corresponding codes; matching, by a processing device, the device identifier with one of the plurality of data entries in the data repository, wherein each of the plurality of data entries comprise an organizationally unique identifier (OUI) and a device type, wherein the matching comprises applying a weighing factor to each of the plurality of data entries in view of the OUI and the device type, wherein the weighing factor is greater for the match of the device identifier with combination of the OUI and the device type than for the match of the device identifier with the device type; determining a code of the second wireless device in view of the match of the device identifier with one of the plurality of data entries; and authenticating the second wireless device in view of the code.