Patent ID: 9723650
Date: 2017-08-01
CPC Classifications: H04L,H04N,H04W

Claim:
1. A communication apparatus comprising: one or more processors; and a memory storing instructions that, when executed by the one or more processors, cause the communication apparatus to perform a process comprising: performing, at a first communicator, wireless communication with another communication apparatus by a first communication method; and performing, at a second communicator, wireless communication with the another communication apparatus by a second communication method in which a communication speed is faster or a communication range is broader than in the first communication method, wherein in communicating a message for wireless connection using the first communication method with the another communication apparatus, the first communicator includes in the message, service information for specifying a service that is to be executed with execution of a communication using the second communication method, the second communicator establishes a wireless connection with the another communication apparatus using the second communication method after the message for wireless connection using the first communication method is communicated by the first communicator, and the communication apparatus controls, at a controller, the second communicator in such a manner that the wireless connection established, using the second communication method, after the message for wireless connection using the first communication method is communicated, is either disconnected or maintained depending on which service is performed: in a case where a service specified by the service information included in the message communicated by the first communicator is a print service for printing, the communication apparatus controls the second communicator in such a manner that the wireless connection established, using the second communication method, after the message for wireless connection using the first communication method is communicated, is disconnected in response to the print service being completed, and in a case where the service specified by the service information included in the message communicated by the first communicator is a wireless communication parameter setting service for setting a wireless communication parameter for communicating by the second communication method, the communication apparatus controls the second communicator in such a manner that the wireless connection established, using the second communication method, after the message for wireless connection using the first communication method is communicated, is maintained although the wireless communication parameter setting service is completed.