Patent ID: 8554140

Claim:
A method of pairing a first device with a second device, the first and second devices being adapted for wirelessly communicating with each other, the pairing of devices aiming at ensuring communication only between trusted devices, the method comprising: in the first device providing an algorithm comprising at least the following states A STANDBY state where the first device is in a default state; A CONNECTED state where wireless communication between the first and second devices has been established; and A PAIRING state comprising a pairing search state where pairing inquiries are repeatedly issued by the first device; providing that when the first device is NOT in the STANDBY or CONNECTED states, the first device is automatically, repeatedly brought in the pairing search state; initiating a pairing search by the first device; receiving by the first device MAC-addresses from a number of replying devices responding to the initiated pairing search; creating a first list of the replying devices, the first list including said MAC-addresses; creating a second list of previously rejected devices (PRD) comprising MAC-addresses of devices which have previously been within a range of pairing of the first device, but which were judged to be a device that is not trusted to be paired with the first device; creating a third list of previously connected devices (PCD) comprising MAC-addresses of devices which were previously judged to be a trusted device; storing said first, second, and third list in a memory of the first device; and sequentially requesting further identification including a class-ID and/or a device name from devices on said list, wherein a trusted device is defined by its class-ID and/or its name.