Patent ID: 7822834

Claim:
A communication system comprising a computer and a device capable of performing wireless communication with each other, wherein the computer comprises: a signal transmission unit configured to output a signal by wireless communication in accordance with a first wireless setting and subsequently to output a message packet by wireless communication; and a setting data sending unit configured to transmit second wireless setting data to the device by wireless communication in accordance with the first wireless setting in response to the device returning identification data of the device to the computer as a response to the signal output by the signal transmission unit; wherein the device comprises: a detection unit configured to detect the signal output by the computer by wireless communication and subsequently to detect the message packet output by the computer by wireless communication; a wireless setting changing unit configured to change a wireless setting for the device while the detection unit is detecting the signal; a replying unit configured to return the identification data of the device to the computer corresponding to the source of the signal in accordance with a wireless setting when the signal and the message packet are detected by the detection unit and not to return the identification data when the signal is detected but the subsequent message packet is not detected by the detection unit; a receiving unit configured to receive the second wireless setting data from the computer by wireless communication in accordance with the wireless setting used in response to the detection unit detection of the signal; and a setting unit configured to make wireless setting of the device in accordance with the second wireless setting data received by the receiving unit.