Communication apparatus, control method of communication apparatus, and storage medium
A communication apparatus having a direct wireless communication function includes a generation unit configured to generate a first two-dimensional code including an address of the communication apparatus and an SSID corresponding to the direct wireless communication function, and a second two-dimensional code including the address of the communication apparatus and not including the SSID corresponding to the direct wireless communication function, and an output unit configured to output the first two-dimensional code and the second two-dimensional code.
1. A communication apparatus having a direct wireless communication function, the communication apparatus comprising:
A memory storing instructions; and
At least one processor that executes the instructions and is configured to
generate a first two-dimensional code including an address of the communication apparatus and a service set identifier (SSID) corresponding to the direct wireless communication function, and a second two-dimensional code including the address of the communication apparatus and not including the SSID corresponding to the direct wireless communication function;
output the first two-dimensional code or the second two-dimensional code, and
set whether to use the direct wireless communication function,
wherein, in a case where the direct wireless communication function is set not to be used, the first two-dimensional code is not output.
2. The communication apparatus according to claim 1 , wherein the at least one processors is further configured to cause a display to display the first two-dimensional code and the second two-dimensional code.
3. The communication apparatus according to claim 2 ,
wherein the at least one processor is further configured to output the first two-dimensional code for display on a first screen, and output the second two-dimensional code for display on a second screen,
wherein a first object for instructing the communication apparatus to display the second screen is displayed on the first screen, and
wherein a second object for instructing the communication apparatus to display the first screen is displayed the second screen.
4. The communication apparatus according to claim 1 , wherein the at least one processor is configured to cause each of the first two-dimensional code and the second two-dimensional code to be printed on a sheet.
5. The communication apparatus according to claim 1 , wherein the address of the communication apparatus is an IP address of the communication apparatus.
6. The communication apparatus according to claim 1 , wherein each of the first two-dimensional code and the second two-dimensional code is a QR code.
7. The communication apparatus according to claim 1 , wherein the communication apparatus is a printing apparatus.
8. A control method of a communication apparatus having a direct wireless communication function, the control method comprising:
generating a first two-dimensional code including an address of the communication apparatus and an SSID corresponding to the direct wireless communication function, and a second two-dimensional code including the address of the communication apparatus and not including the SSID corresponding to the direct wireless communication function; and
outputting the first two-dimensional code or the second two-dimensional code, and
setting whether to use the direct wireless communication function, wherein
in a case where the direct wireless communication function is set not to be used, the first two-dimensional codes if not output.
9. A storage medium storing a program for causing a computer to execute a control method of a communication apparatus having a direct wireless communication function, the control method comprising:
generating a first two-dimensional code including an address of the communication apparatus and an SSID corresponding to the direct wireless communication function, and a second two-dimensional code including the address of the communication apparatus and not including the SSID corresponding to the direct wireless communication function; and
outputting the first two-dimensional code or the second two-dimensional code, and
setting whether to use the direct wireless communication function, wherein in a case where the direct wireless communication function is set not to be used, the first two-dimensional codes if not output.