A system comprising: a first device, and a second device, wherein the first device comprises: a communicator configured to perform wireless communication with the second device; and a processor configured to: control the communicator to transmit through an access point AP a request for a Wi-Fi Direct connection to the second device; after transmitting the request for Wi-Fi Direct connection, control the communicator to transmit a provisioning discovery request message to the second device, and in response to receipt of a provisioning discovery response message being from the second device, establish a Wi-Fi Direct connection with the second device; wherein the second device is arranged to enter a standby state for performing Wi-Fi Direct connection in response to receiving the request for the Wi-Fi Direct connection, wherein the second device is arranged to receive the provisioning discovery request message from the first device while operating in the standby state. a first device, and a second device, wherein the first device comprises: a communicator configured to perform wireless communication with the second device; and a processor configured to: control the communicator to transmit through an access point AP a request for a Wi-Fi Direct connection to the second device; after transmitting the request for Wi-Fi Direct connection, control the communicator to transmit a provisioning discovery request message to the second device, and in response to receipt of a provisioning discovery response message being from the second device, establish a Wi-Fi Direct connection with the second device; wherein the second device is arranged to enter a standby state for performing Wi-Fi Direct connection in response to receiving the request for the Wi-Fi Direct connection, wherein the second device is arranged to receive the provisioning discovery request message from the first device while operating in the standby state. a communicator configured to perform wireless communication with the second device; and a processor configured to: control the communicator to transmit through an access point AP a request for a Wi-Fi Direct connection to the second device; after transmitting the request for Wi-Fi Direct connection, control the communicator to transmit a provisioning discovery request message to the second device, and in response to receipt of a provisioning discovery response message being from the second device, establish a Wi-Fi Direct connection with the second device; control the communicator to transmit through an access point AP a request for a Wi-Fi Direct connection to the second device; after transmitting the request for Wi-Fi Direct connection, control the communicator to transmit a provisioning discovery request message to the second device, and in response to receipt of a provisioning discovery response message being from the second device, establish a Wi-Fi Direct connection with the second device; wherein the second device is arranged to enter a standby state for performing Wi-Fi Direct connection in response to receiving the request for the Wi-Fi Direct connection, wherein the second device is arranged to receive the provisioning discovery request message from the first device while operating in the standby state.