A method for establishing a wireless connection between a first wireless
device provided in a computer and a second wireless device, wherein group
information that identifies the first wireless device is created and set
for the first wireless device. The group information is transmitted to
the second wireless device and is set for it. The first wireless device
creates identification information that identifies the second wireless
device with the group information to set it for the second wireless
device. The first wireless device uses both of the group information and
identification information to specify the second wireless device.