A wireless communication device (10, 20) comprising: a first communication section (116, 216) adapted to perform non-contact communication with another wireless communication device (10, 20) and to receive predetermined setting data from the other wireless communication device (10, 20); a second communication section (120, 220) adapted to establish a wireless connection with the other wireless communication device (10, 20); a control section (124, 224) adapted to establish the wireless connection between the second communication section (120, 220) and the other wireless communication device (10, 20) by using the setting data, necessary for the wireless connection, received by the first communication section (116, 216); and a data processing section adapted to store the setting data in a storage medium (160, 260) before the wireless connection is released, wherein the control section (124, 224) is adapted to use the setting data stored in the storage medium (160, 260) at the time of establishing a wireless reconnection between the second communication section (120, 220) and the other wireless communication device (10, 20), wherein the wireless communication device (10, 20) and the other wireless communication device (10, 20) have group information enabling the identification of a group to which each belongs, characterized in that the data processing section is adapted to make a storage time period for the setting data in the storage medium (160, 260) variable depending on whether the group information of the wireless communication device (10, 20) and the group information of the other wireless communication device (10, 20) correspond to each other or not. a first communication section (116, 216) adapted to perform non-contact communication with another wireless communication device (10, 20) and to receive predetermined setting data from the other wireless communication device (10, 20); a second communication section (120, 220) adapted to establish a wireless connection with the other wireless communication device (10, 20); a control section (124, 224) adapted to establish the wireless connection between the second communication section (120, 220) and the other wireless communication device (10, 20) by using the setting data, necessary for the wireless connection, received by the first communication section (116, 216); and a data processing section adapted to store the setting data in a storage medium (160, 260) before the wireless connection is released, wherein the control section (124, 224) is adapted to use the setting data stored in the storage medium (160, 260) at the time of establishing a wireless reconnection between the second communication section (120, 220) and the other wireless communication device (10, 20), wherein the wireless communication device (10, 20) and the other wireless communication device (10, 20) have group information enabling the identification of a group to which each belongs, characterized in that the data processing section is adapted to make a storage time period for the setting data in the storage medium (160, 260) variable depending on whether the group information of the wireless communication device (10, 20) and the group information of the other wireless communication device (10, 20) correspond to each other or not.