A communication apparatus comprising: proximity communication means adapted to communicate with an external apparatus by proximity wireless communication, the proximity communication means communicable with a memory; second wireless communication means adapted to communicate with the external apparatus, the second wireless communication means having a longer communication range than the proximity wireless communication; and control means configured to control an operation of the communication apparatus, wherein the proximity communication means is configured to transmit first data recorded in the memory to the external apparatus in response to receiving a read request from the external apparatus, the first data being a wireless connection parameter required for establishing a connection between the communication apparatus and the external apparatus using the second wireless communication means; wherein the proximity communication means is configured to record second data received from the external apparatus in the memory in response to receiving a write request from the external apparatus, the second data being predetermined information indicating that the external apparatus has acquired the wireless connection parameter, wherein the communication apparatus has a plurality of states including a first state, and a second state in which the communication apparatus consumes a smaller amount of power than in the first state, the communication apparatus is configured to switch to the first state in response to the proximity communication means receiving the write request from the external apparatus, and the communication apparatus is configured not to switch to the first state in response to the proximity communication means receiving the read request from the external apparatus, wherein the control means is configured to activate the second wireless communication means in response to the proximity communication means receiving the write request for the second data to be recorded in the memory from the external apparatus, and the control means is configured not to activate the second wireless communication means in response to the proximity communication means receiving the read request for the first data from the external apparatus. proximity communication means adapted to communicate with an external apparatus by proximity wireless communication, the proximity communication means communicable with a memory; second wireless communication means adapted to communicate with the external apparatus, the second wireless communication means having a longer communication range than the proximity wireless communication; and control means configured to control an operation of the communication apparatus, wherein the proximity communication means is configured to transmit first data recorded in the memory to the external apparatus in response to receiving a read request from the external apparatus, the first data being a wireless connection parameter required for establishing a connection between the communication apparatus and the external apparatus using the second wireless communication means; wherein the proximity communication means is configured to record second data received from the external apparatus in the memory in response to receiving a write request from the external apparatus, the second data being predetermined information indicating that the external apparatus has acquired the wireless connection parameter, wherein the communication apparatus has a plurality of states including a first state, and a second state in which the communication apparatus consumes a smaller amount of power than in the first state, the communication apparatus is configured to switch to the first state in response to the proximity communication means receiving the write request from the external apparatus, and the communication apparatus is configured not to switch to the first state in response to the proximity communication means receiving the read request from the external apparatus, wherein the control means is configured to activate the second wireless communication means in response to the proximity communication means receiving the write request for the second data to be recorded in the memory from the external apparatus, and the control means is configured not to activate the second wireless communication means in response to the proximity communication means receiving the read request for the first data from the external apparatus.