1. A communication apparatus comprising:at least one memory storing instructions; and
at least one processor that, upon execution of the stored instructions, is configured to operate as:
a first establishment unit configured to establish a first wireless network;
a first reception unit configured to receive first information from another communication apparatus;
a first provision unit configured to provide a first communication parameter for joining the established first wireless network to the other communication apparatus in a case where a first code stored in the communication apparatus and corresponding to time synchronization processing corresponds to the received first information, and configured not to provide the first communication parameter to the other communication apparatus in a case where the first code does not correspond to the first information; and
a synchronization unit configured to identify the other communication apparatus joining the first wireless network by using the provided first communication parameter, and cause the other communication apparatus identified to execute the time synchronization processing using time information of the communication apparatus.