A device for wireless communication according to a specific communication protocol defining frames of communication data comprising: a wireless communicator, a memory, a processor for analyzing and generating frames, wherein the processor is configured to determine whether a communication process employing a substitute device identification information has been performed or not by determining whether frame data including specific discrimination information is stored in the memory, wherein the determination is performed when first identification information, which is information for identifying other device from a frame, is received from the other device, in case the determination is made by the processor that the communication process employing a substitute device identification information has been performed, the processor is further configured to: acquire the first identification information, generate second identification information different from the first identification information based on the first identification information, and acquire the substitute device identification information which is unique to the other device from the stored frame data including the specific discrimination information, compare the acquired substitute device identification information and the second identification information, and generate a frame including the first identification information in the case that they are the same. a wireless communicator, a memory, a processor for analyzing and generating frames, wherein the processor is configured to determine whether a communication process employing a substitute device identification information has been performed or not by determining whether frame data including specific discrimination information is stored in the memory, wherein the determination is performed when first identification information, which is information for identifying other device from a frame, is received from the other device, in case the determination is made by the processor that the communication process employing a substitute device identification information has been performed, the processor is further configured to: acquire the first identification information, generate second identification information different from the first identification information based on the first identification information, and acquire the substitute device identification information which is unique to the other device from the stored frame data including the specific discrimination information, compare the acquired substitute device identification information and the second identification information, and generate a frame including the first identification information in the case that they are the same. acquire the first identification information, generate second identification information different from the first identification information based on the first identification information, and acquire the substitute device identification information which is unique to the other device from the stored frame data including the specific discrimination information, compare the acquired substitute device identification information and the second identification information, and generate a frame including the first identification information in the case that they are the same.