Patent ID: 8467726

Claim:
A communication device which performs, when attached to a first region of a moving body, wireless communication with a communication partner device attached to a second region of the moving body, said communication device comprising: a motion obtaining unit configured to obtain motion information indicating a motion of at least one region of the moving body; a parameter determining unit configured to determine a parameter corresponding to the motion of the region of the moving body indicated by the motion information obtained by said motion obtaining unit, using parameter information in which the motion and a parameter indicating a communication mode for successful wireless communication are associated with each other; and a wireless communication unit configured to perform wireless communication with the communication partner device according to the parameter determined by said parameter determining unit, wherein said motion obtaining unit is configured to obtain, as the motion information, information indicating a motion of the first region, and the parameter information is information in which the motion of the first region and a parameter which corresponds to signal strength of a radio signal received from the communication partner device when the motion is measured and indicates the communication mode for successful wireless communication are associated with each other in advance.