Terminal device, computer program for terminal device, and method implementable by terminal device
The terminal device uses NFC and Wi-Fi interfaces to operate the printer as a master station and transmit specific request signals to establish a wireless connection when a Probe Response is absent, addressing the failure in existing systems and ensuring communication and printing functionality.
Patent Information
- Application Number
- JP2023038498
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-27
AI Technical Summary
Existing communication systems fail to establish a wireless connection between a terminal device and a printer when the terminal device does not receive a Probe Response signal from the printer.
The terminal device employs a first and second interface for wireless communication, using NFC and Wi-Fi, to establish a connection by outputting predetermined information to operate the printer as a master station of a wireless network if a Probe Response is not received, and subsequently transmitting different request signals to establish a connection based on printer type.
Enables the establishment of a wireless connection between the terminal device and the printer even when a Probe Response is not received, allowing for seamless communication and printing operations.
Smart Images

Figure 2024129352000001
Abstract
Description
[Technical field]
[0001] The technology disclosed in this specification relates to a terminal device that establishes a wireless connection with a communication device. [Background technology]
[0002] Patent Document 1 discloses a communication system including a printer and a terminal device. When the terminal device receives a Probe Response signal from the printer in response to transmitting a Probe Request signal to the printer, the terminal device establishes a Soft AP connection with the printer. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-17601 A Summary of the Invention [Problem to be solved by the invention]
[0004] In Patent Document 1, no consideration is given to the case where the terminal device does not receive a probe response signal from the printer.
[0005] This specification provides a technique that can establish a wireless connection between a terminal device and a communication device even when the terminal device does not receive a first response signal from the communication device. [Means for solving the problem]
[0006] A terminal device disclosed in the present specification may include a first interface, a second interface different from the first interface, the second interface for performing wireless communication, an output unit, a receiving unit for receiving identification information for identifying a communication device via the first interface, a first request signal transmitting unit for transmitting a first request signal including first destination information for which the identification information is used to the communication device via the second interface when the identification information is received, an establishment unit for establishing a first wireless connection between the terminal device and the communication device via the second interface when a first response signal is received from the communication device via the second interface in response to transmitting the first request signal to the communication device, and an output control unit for causing the output unit to output predetermined information indicating that a predetermined operation is to be performed on the communication device when the first response signal is not received from the communication device via the second interface in response to transmitting the first request signal to the communication device, the predetermined operation being an operation for causing the communication device to operate as a parent station of a wireless network.
[0007] According to the above configuration, in response to transmitting a first request signal to the communication device, the terminal device causes the output unit to output predetermined information when the terminal device does not receive a first response signal from the communication device. This allows a user to execute a predetermined operation on the communication device according to the predetermined information to operate the communication device as a master station of a wireless network. When the communication device operates as a master station, a wireless connection can be established between the terminal device and the communication device. That is, even when the terminal device does not receive a first response signal from the communication device, a wireless connection can be established between the terminal device and the communication device.
[0008] A computer program for the terminal device, a computer-readable recording medium storing the computer program, and a method executed by the terminal device are also novel and useful. Also, a communication system including the terminal device and a communication device is novel and useful. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 shows the configuration of a communication system. [Diagram 2] FIG. 2 is a sequence diagram of case A in which a Wi-Fi connection is established between a printer and an AP using a stealth SoftAP. [Diagram 3] FIG. 3 is a continuation of the sequence diagram of FIG. [Figure 4] FIG. 4 is a continuation of the sequence diagram of FIG. [Diagram 5] FIG. 5 is a sequence diagram of case B in which a Wi-Fi connection is established between a printer and an AP by using a normal SoftAP. [Figure 6] FIG. 6 is a sequence diagram of case C in which a Wi-Fi connection between a printer and an AP is established normally using a SoftAP. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Configuration of communication system 2; Fig. 1 1, the communication system 2 includes a terminal device 10, a printer 100A, a printer 100B, and an access point 200. In the following, the access point is referred to as "AP."
[0011] Configuration of terminal device 10 The terminal device 10 is a portable terminal device, such as a mobile phone, a smartphone, a PDA, a tablet PC, or a laptop PC. In a modified example, the terminal device 10 may be a stationary PC. The terminal device 10 includes an operation unit 12, a display unit 14, an NFC interface 16, a Wi-Fi interface 18, and a control unit 30. In the following, the interface is referred to as "I / F".
[0012] The operation unit 12 is an I / F that enables a user to input various information to the terminal device 10, and includes, for example, a touch screen, buttons, or both. The display unit 14 is a display for displaying various information.
[0013] The NFC I / F 16 is configured to perform Near Field Communication (NFC) communication in accordance with the NFC standard. The NFC standard is a wireless communication standard based on international standards such as ISO / IEC 14443, 15693, and 18092.
[0014] The Wi-Fi I / F 18 is configured to perform Wi-Fi communication according to the Wi-Fi system. The Wi-Fi system is, for example, a wireless communication system based on the Institute of Electrical and Electronics Engineers, Inc. (IEEE) 802.11 standard and standards equivalent thereto. Standards equivalent to IEEE 802.11 include, for example, IEEE 802.11a, 11b, 11g, 11n, and 11ac.
[0015] The differences between the NFC I / F16 and the Wi-Fi I / F18 will be described. The communication speed of the Wi-Fi communication via the Wi-Fi I / F18 is faster than the communication speed of the NFC communication via the NFC I / F16. Specifically, the maximum communication speed of the Wi-Fi communication is, for example, 600 Mbps. The maximum communication speed of the NFC communication is, for example, 424 Kbps. The frequency of the carrier wave in the Wi-Fi communication is different from the frequency of the carrier wave in the NFC communication. Specifically, the frequency of the carrier wave in the Wi-Fi communication is, for example, 1.0 GHz band, 2.4 GHz band, 5.0 GHz band, or 6.0 GHz band. The frequency of the carrier wave in the NFC communication is, for example, 13.56 MHz band. The maximum distance at which the Wi-Fi communication can be performed is greater than the maximum distance at which the NFC communication can be performed. Specifically, the maximum distance at which the Wi-Fi communication can be performed is, for example, about 100 m. The maximum distance at which NFC communication can be performed is, for example, approximately 10 cm.
[0016] The control unit 30 includes a CPU 32 and a memory 34. The memory 34 stores an operating system (OS) program 36 and an application program 38. The CPU 32 executes various processes according to the OS program 36 and the application program 38 stored in the memory 34. The memory 34 is, for example, a read-only memory (ROM) or a random-access memory (RAM). The OS program 36 controls the basic operation of the terminal device 10. The application program 38 establishes a wireless connection according to the Wi-Fi system between the terminal device 10 and the printer 100A, or between the terminal device 10 and the printer 100B. The application program 38 then establishes a wireless connection according to the Wi-Fi system between the printer 100A and the AP 200, or between the printer 100B and the AP 200. The application program 38 then causes the printer 100A or the printer 100B to execute printing. Hereinafter, a wireless connection according to the Wi-Fi system will be referred to as a "Wi-Fi connection." The OS program 36 will be referred to as an "OS 36." The application program 38 will be referred to as an "app 38." The app 38 is downloaded from a server on the Internet and installed in the terminal device 10. The server is provided by the vendor of the OS 36. In a modified example, the server may be provided by the vendor of the printer 100A or the printer 100B.
[0017] Configuration of Printer 100A and Printer 100B The printer 100A can execute a printing function, and is, for example, a peripheral device of the terminal device 10. In a modified example, the printer 100A may be a multi-function device that can execute one or more other functions, such as a scanning function or a facsimile function, in addition to the printing function. The printer 100A has a model name MN1. The printer 100A includes an operation unit 112, a display unit 114, a print engine 116, an NFC I / F 118, a first Wi-Fi I / F 120, a second Wi-Fi I / F 122, and a control unit 130.
[0018] The operation unit 112 is an I / F that allows the user to input various information to the printer 100A, and includes, for example, a touch screen, buttons, or both. The operation unit 112 includes a Wi-Fi button for operating the printer 100A as a normal Software Access Point (SoftAP). The display unit 114 is a display for displaying various information. The print engine 116 includes, for example, an inkjet or laser printing mechanism.
[0019] The NFC I / F 118 has the same configuration as the NFC I / F 16 of the terminal device 10. The first Wi-Fi I / F 120 and the second Wi-Fi I / F 122 have the same configuration as the Wi-Fi I / F 18 of the terminal device 10. The first Wi-Fi I / F 120 is assigned a MAC address MACpr1.
[0020] The printer 100A particularly supports the SoftAP function of IEEE802.11. When the SoftAP function of the printer 100A is activated, the printer 100A operates as an AP of the wireless network. That is, the printer 100A operates as a master station of the wireless network. In this state, the printer 100A can establish a wireless connection with another device. That is, the other device can participate as a slave station in the wireless network in which the printer 100A operates as a master station.
[0021] In this embodiment, two types of SoftAPs are disclosed. Specifically, a normal SoftAP that operates as an AP of a wireless network identified by a published SSID and a stealth SoftAP that operates as an AP of a wireless network identified by a stealth SSID are disclosed. When the printer 100A operates as a normal SoftAP, the first Wi-Fi I / F 120 transmits a Probe Response to an external device in response to receiving a Probe Request from an external device in which an SSID for the normal SoftAP is specified. When the printer 100A operates as a normal SoftAP, the first Wi-Fi I / F 120 transmits a Probe Response to the external device even if it receives a Probe Request from an external device in which an SSID is not specified. That is, when the printer 100A operates as a normal SoftAP, the first Wi-Fi I / F 120 transmits a Probe Response to the external device in response to receiving a Probe Request, regardless of whether an SSID is specified in the Probe Request received from the external device. When the printer 100A is operating as a stealth SoftAP, the first Wi-Fi I / F 120 transmits a probe response to the external device in response to receiving a probe request in which the SSID for the stealth SoftAP is specified from the external device. When the printer 100A is operating as a stealth SoftAP, the first Wi-Fi I / F 120 does not transmit a probe response to the external device when receiving a probe request in which the SSID is not specified from the external device. The SSID for the normal SoftAP and the SSID for the stealth SoftAP are different. The SSID for the normal SoftAP and the SSID for the stealth SoftAP are determined in advance before the printer 100A is shipped. The printer 100A is configured to start up as a stealth SoftAP when the printer 100A is turned on for the first time after the printer 100A is shipped. The SSID for the normal SoftAP and the SSID for the stealth SoftAP that identify the printer 100B are different.The SSID for the normal SoftAP and the SSID for the stealth SoftAP are determined in advance before the shipment of the printer 100B. The printer 100B is configured to start up as a stealth SoftAP when the printer 100B is turned on for the first time after the shipment of the printer 100B.
[0022] The control unit 130 includes a CPU 132 and a memory 134. The memory 134 stores a program 136. The CPU 132 executes various processes according to the program 136. The memory 134 further stores a model name MN1 and a MAC address "MACpr1". If the NFC I / F 118 is an independent I / F that cannot communicate with the CPU 132, the model name MN1 and the MAC address "MACpr1" are stored in the NFC I / F 118. The memory 134 further stores a power flag. The power flag indicates either "ON" or "OFF". The power flag being "ON" indicates that the printer 100A has not been powered on even once since shipment. The power flag being "OFF" indicates that the printer 100A has been powered on at least once since shipment. Before shipment of the printer 100A, the power flag is set to "ON".
[0023] The printer 100B has a model name MN2. The printer 100B has an operation unit similar to the operation unit 112 of the printer 100A, except that the printer 100B does not have a Wi-Fi button. The printer 100B has a display unit similar to the display unit 114 of the printer 100A, except that the printer 100B can display a Wi-Fi icon. The Wi-Fi icon is selected by the user to operate the printer 100B as a normal SoftAP. The printer 100B has a configuration similar to that of the printer 100A, except for the operation unit and the display unit. The first Wi-Fi I / F 120B of the printer 100B is assigned a MAC address "MACpr2". The memory of the printer 100B stores the model name MN2, the MAC address "MACpr2", and a power flag. Before the printer 100B is shipped, the power flag is set to "ON".
[0024] AP200 Configuration The AP 200 operates as a master station of a wireless network, and stores the SSID "AP1" and the password "PW1" as information about the wireless network in which the AP 200 operates as a master station.
[0025] Specific cases 2 to 6, specific cases A, B, and C realized by the communication system 2 of the present embodiment will be described. In the description of the processes in Figs. 2 to 6, the processes executed by the CPU 32 of the terminal device 10 will not be described mainly about the CPU 32, but will be described mainly about the terminal device 10, the application 38, the NFC I / F 16, or the Wi-Fi I / F 18. The processes executed by the CPU 132 of the printer 100A will not be described mainly about the CPU 132, but will be described mainly about the printer 100A, the NFC I / F 118, the first Wi-Fi I / F 120, or the second Wi-Fi I / F 122.
[0026] Case A: Figures 2 to 4 Case A will be described with reference to Figs. 2 to 4. In case A, a Wi-Fi connection is established between the printer 100A and the AP 200 in response to the printer 100A starting up as a stealth SoftAP. In the initial state of case A, that is, before T10 is executed, a Wi-Fi connection is established between the Wi-Fi I / F 18 of the terminal device 10 and the AP 200. The printer 100A is not powered on after the printer 100A is shipped and before T10 is executed. That is, the power flag in the memory 134 is set to "ON".
[0027] When the printer 100A detects a power-on operation by the user, the printer 100A turns on the power of the printer 100A at T10. In response to the printer 100A being turned on, the NFC I / F 118 of the printer 100A operates in Card Emulation mode (CE mode). The CE mode is a mode in which the NFC I / F 118 operates as a "card" that is a format defined by the NFC Forum. The printer 100A determines that the printer 100A has been powered on for the first time since shipment because the power flag in the memory 134 is "ON". As a result, the printer 100A starts up as a stealth SoftAP at T12. The printer 100A operating as a stealth SoftAP communicates with an external device via the first Wi-Fi I / F 120. The printer 100A starts up as a stealth SoftAP, so that the printer 100A operates as a master station of a wireless network. The SSID of the printer 100A operating as a SoftAP includes the MAC address of the printer 100A, "MACpr1," and is, for example, the SSID "SETUP-NFC-MACpr1." The printer 100A changes the power flag in the memory 134 from "ON" to "OFF."
[0028] When the terminal device 10 detects an application startup operation by the user in T20, the application 38 is started. The application 38 displays a home screen on the display unit 14. The application 38 further detects a first setup operation by the user in T20. The first setup operation is an operation for executing a first setup for establishing a Wi-Fi connection between the printer and the AP using an NFC connection. The application 38 supplies a Reader transition instruction to the NFC I / F 16 in T22. The Reader transition instruction is a signal for transitioning the NFC I / F 16 to a Reader mode of the NFC system. The Reader mode is a mode for reading data from an NFC device operating in the CE mode. In this embodiment, the NFC I / F 16 operating in the Reader mode reads data from the NFC I / F 118 of the printer 100A operating in the CE mode.
[0029] When the NFC I / F 16 of the terminal device 10 receives a Reader transition instruction from the application 38 at T22, the NFC I / F 16 transitions to the Reader mode at T24. Next, the NFC I / F 16 supplies operation information to the application 38 at T26.
[0030] When the application 38 receives the operation information from the NFC I / F 16 in T26, in T28, it displays an operation screen on the display unit 14. The operation screen includes a message for urging the user to bring the terminal device 10 closer to the printer.
[0031] At T30, the user brings the terminal device 10 closer to the printer 100A. When the distance between the NFC I / F 16 of the terminal device 10 and the NFC I / F 118 of the printer 100A becomes equal to or shorter than a predetermined distance, communication for establishing an NFC connection is executed between the NFC I / F 16 of the terminal device 10 and the NFC I / F 118 of the printer 100A. As a result, at T32, an NFC connection is established between the terminal device 10 and the printer 100A. When an NFC connection is established between the printer 100A and the terminal device 10, the NFC I / F 118 of the printer 100A receives the model name MN1 and the MAC address "MACpr1" of the printer 100A from the memory 134. The NFC I / F 16 of the terminal device 10 executes a process for reading the model name MN1 and the MAC address "MACpr1" received by the NFC I / F 118 of the printer 100A. As a result, in T34, the application 38 receives the model name MN1 and the MAC address "MACpr1" from the NFC I / F 118 of the printer 100A via the NFC I / F 16 of the terminal device 10. Next, the application 38 generates an SSID "SETUP-NFC-MACpr1" including the predetermined character strings "SETUP" and "NFC" and the received MAC address "MACpr1". In T40, the application 38 supplies a connection instruction including the generated SSID "SETUP-NFC-MACpr1" to the Wi-Fi I / F 18. The connection instruction is a signal for instructing the Wi-Fi I / F 18 to establish a Wi-Fi connection between the terminal device 10 and the printer 100A.
[0032] When the Wi-Fi I / F 18 of the terminal device 10 receives a connection instruction from the application 38 in T40, it broadcasts a Probe Request including the SSID "SETUP-NFC-MACpr1" in the connection instruction in T42.
[0033] In case A, the printer 100A operates as a stealth SoftAP in a wireless network identified by the SSID “SETUP-NFC-MACpr1.” Therefore, the first Wi-Fi I / F 120 transmits a Probe Response, which is a response to the Probe Request, to the terminal device 10 at T44.
[0034] When the Wi-Fi I / F 18 of the terminal apparatus 10 receives the Probe Response from the printer 100A in T44, the Wi-Fi I / F 18 supplies, in T46, to the application 38 a confirmation signal indicating that the Probe Response has been received.
[0035] When the application 38 receives a confirmation signal from the Wi-Fi I / F 18 in T46, it causes the display unit 14 to display a first confirmation screen including the SSID "SETUP-NFC-MACpr1" in T48. The first confirmation screen asks the user whether to permit the terminal device 10 to join the wireless network using the SSID "SETUP-NFC-MACpr1". When the application 38 detects a user operation indicating that the terminal device 10 is permitted to join the wireless network using the SSID "SETUP-NFC-MACpr1" in T50 of FIG. 5, it supplies an OK signal to the Wi-Fi I / F 18 in T52.
[0036] When the Wi-Fi I / F 18 of the terminal device 10 receives an OK signal from the application 38 in T52, the Wi-Fi I / F 18 executes a disconnection process to disconnect the Wi-Fi connection between the terminal device 10 and the AP 200 in T54. This disconnects the Wi-Fi connection between the terminal device 10 and the AP 200. Next, the Wi-Fi I / F 18 executes a first Wi-Fi connection process to establish a Wi-Fi connection between the terminal device 10 and the printer 100A in T56. In the first Wi-Fi connection process, various communications such as a 4-way handshake are executed between the terminal device 10 and the printer 100A. This establishes a Wi-Fi connection between the Wi-Fi I / F 18 of the terminal device 10 and the first Wi-Fi I / F 120 of the printer 100A operating as a stealth SoftAP in T58. Specifically, the terminal device 10 participates as a child station in a wireless network in which the printer 100A operates as a parent station. In the T60, the Wi-Fi I / F 18 supplies an establishment signal indicating that a Wi-Fi connection has been established to the application 38.
[0037] As described above, the terminal device 10 establishes a Wi-Fi connection between the terminal device 10 and the printer 100A after disconnecting the Wi-Fi connection between the terminal device 10 and the AP 200. The reason why the terminal device 10 disconnects the Wi-Fi connection between the terminal device 10 and the AP 200 will be described. The Wi-Fi I / F 18 of the terminal device 10 in this embodiment cannot establish two wireless connections at the same time. That is, in a state where the terminal device 10 has established a Wi-Fi connection with the AP 200, the terminal device 10 cannot establish a Wi-Fi connection between the terminal device 10 and the printer 100A. Therefore, in order to establish a Wi-Fi connection between the terminal device 10 and the printer 100A, the terminal device 10 needs to disconnect the Wi-Fi connection established between the terminal device 10 and the AP 200.
[0038] When the application 38 receives an establishment signal from the Wi-Fi I / F 18 in T60, in T62, the application 38 transmits a search request to the printer 100A via the Wi-Fi I / F 18. The search request is a signal requesting the printer 100A to search for APs present around the printer 100A, that is, within a range where Wi-Fi communication with the printer 100A can be performed.
[0039] When the first Wi-Fi I / F 120 of the printer 100A receives a search request from the terminal device 10 in T62, the second Wi-Fi I / F 122 of the printer 100A broadcasts a Probe Request without specifying an SSID. The Probe Request is a signal for searching for APs present around the printer 100A. In this embodiment, the second Wi-Fi I / F 122 receives a Probe Response including the SSID "AP1" from the AP 200 in T66. In this case, the first Wi-Fi I / F 120 transmits the search result including the SSID "AP1" to the terminal device 10 in T70.
[0040] When the application 38 receives the search result from the printer 100A via the Wi-Fi I / F 18 in T70, it causes the display unit 14 to display a search result screen including the SSID "AP1" in the search result in T72. When the application 38 detects the selection of the SSID "AP1" by the user in T74, it causes the display unit 14 to display a password entry screen in T76. When the application 38 detects the input of the password "PW1" by the user in T78, it transmits a connection request including the SSID "AP1" and the password "PW1" to the printer 100A via the Wi-Fi I / F 18 in T80 of FIG. 4. After transmitting the connection request to the printer 100A in T80, the application 38 periodically transmits an inquiry signal to the printer 100A to inquire whether a Wi-Fi connection based on the connection request has been established.
[0041] When the first Wi-Fi I / F 120 of the printer 100A receives a connection request from the terminal device 10 in T80, a second Wi-Fi connection process is executed between the second Wi-Fi I / F 122 of the printer 100A and the AP 200 in T82. In the second Wi-Fi connection process, various communications such as a 4-way handshake are executed between the printer 100A and the AP 200. In the course of the various communications, communication is executed using the SSID "AP1" and the password "PW1", and authentication of the SSID "AP1" and the password "PW1" is executed by the AP 200. If this authentication is successful, a Wi-Fi connection is established between the second Wi-Fi I / F 122 of the printer 100A and the AP 200 in T84. When a Wi-Fi connection is established between the second Wi-Fi I / F 122 of the printer 100A and the AP 200, the AP 200 operating as a parent station assigns an IP address to the second Wi-Fi I / F 122 of the printer 100A operating as a child station. The printer 100A stores the assigned IP address in the memory 134. After storing the IP address in the memory 134, the first Wi-Fi I / F 120 receives an inquiry signal from the terminal device 10 and then transmits a Wi-Fi connection completion notification to the terminal device 10 at T90. The Wi-Fi connection completion notification indicates that a Wi-Fi connection has been established between the printer 100A and the AP 200.
[0042] When the application 38 receives a Wi-Fi connection completion notification from the printer 100A via the Wi-Fi I / F 18 in T90, the application 38 transmits an IP address request to the printer 100A via the Wi-Fi I / F 18 in T92. The IP address request is a signal requesting the printer 100A to transmit the IP address of the Wi-Fi I / F 122 with which a Wi-Fi connection with the AP 200 has been established.
[0043] When the first Wi-Fi I / F 120 of the printer 100A receives the IP address request from the terminal device 10 in T92, it receives the IP address assigned to the second Wi-Fi I / F 122 from the memory 134 of the printer 100A. The first Wi-Fi I / F 120 transmits the received IP address to the terminal device 10 in T94.
[0044] When the application 38 receives an IP address from the printer 100A via the Wi-Fi I / F 18 in T94, the application 38 transmits a setup completion notification to the printer 100A via the Wi-Fi I / F 18 in T96. The setup completion notification is a signal for causing the printer 100A to terminate operation as a stealth SoftAP.
[0045] When the first Wi-Fi I / F 120 of the printer 100A receives a setup completion notification from the terminal device 10 at T96, the printer 100A stops operating as a stealth SoftAP at T98. This disconnects the Wi-Fi connection between the Wi-Fi I / F 18 of the terminal device 10 and the first Wi-Fi I / F 120 of the printer 100A.
[0046] At T110, the application 38 supplies a Wi-Fi connection instruction including the SSID “AP1” and the password “PW1” to the Wi-Fi I / F 18.
[0047] When the Wi-Fi I / F 18 of the terminal device 10 receives a Wi-Fi connection instruction from the application 38 in T110, the Wi-Fi I / F 18 executes a third Wi-Fi connection process for establishing a Wi-Fi connection between the terminal device 10 and the AP 200 by using the SSID "AP1" and the password "PW1" in T112. As a result, a Wi-Fi connection is established between the Wi-Fi I / F 18 of the terminal device 10 and the AP 200 in T114. The third Wi-Fi connection process is similar to the second Wi-Fi connection process in T82, except that the communication target of the AP 200 is the terminal device 10 instead of the printer 100A. The Wi-Fi I / F 18 supplies a Wi-Fi connection completion notification including the SSID "AP1" to the application 38 in T116.
[0048] When the application 38 receives a Wi-Fi connection completion notification from the Wi-Fi I / F 18 in T116, the application 38 transmits a capability information request to the printer 100A via the Wi-Fi I / F 18 and the AP 200 in T120. The capability information request includes the IP address received in T94 as a destination IP address. The capability information request is a signal for requesting the device to which the request is to be sent to transmit capability information. The capability information indicates functions that can be executed by the device that received the capability information request.
[0049] When the second Wi-Fi I / F 122 of the printer 100A receives a capability information request from the terminal device 10 via the AP 200 in T120, the second Wi-Fi I / F 122 transmits the capability information to the terminal device 10 via the AP 200 in T122. The capability information includes print function information. In this embodiment, the print function information indicates one or more print settings that can be specified in the printer 100A. The print function information includes, for example, paper sizes that can be used in the printer 100A.
[0050] When the application 38 receives the capability information from the printer 100A via the Wi-Fi I / F 18 and the AP 200 in T122, the application 38 stores the capability information in the memory 34. This allows the application 38 to transmit print data to the printer 100A via the Wi-Fi I / F 18 and the AP 200 based on print settings designated by the user from among print settings included in the print function information. This allows the user to use the application 38 to cause the printer 100A to execute printing.
[0051] As described above, when a Wi-Fi connection with the printer 100A is established (T58), the terminal device 10 transmits the SSID "AP1" and the password "PW1" to the printer 100A via the Wi-Fi I / F 18. This enables the printer 100A to establish a Wi-Fi connection with the AP 200 using the SSID "AP1" and the password "PW1".
[0052] Case B; Figure 5 Case B will be described with reference to FIG. 5. In case B, a Wi-Fi connection is established between the printer 100A and the AP 200 in response to the printer 100A starting up as a normal SoftAP. The initial state of case B is a state in which the printer 100A is powered off after the process of T122 in case A is executed. Therefore, a Wi-Fi connection is not established between the printer 100A and the AP 200. In the initial state of case B, a Wi-Fi connection is established between the Wi-Fi I / F 18 of the terminal device 10 and the AP 200.
[0053] When the printer 100A detects a power-on operation by the user, it turns on the printer 100A in T210. In case B, because the power flag in the memory 134 is "OFF", the printer 100A determines that the power-on in response to the power-on operation by the user is the second or subsequent power-on since shipment, and does not start the printer 100A as a stealth SoftAP. In other words, even if the printer 100A is turned on in T210, the SoftAP function of the printer 100A remains disabled.
[0054] Thereafter, between the terminal device 10 and the printer 100A, processes similar to those from T20 to T40 in Fig. 2 are executed. In T242, the Wi-Fi I / F 18 of the terminal device 10 broadcasts a Probe Request including the SSID "SETUP-NFC-MACpr1".
[0055] In case B, the printer 100A does not operate as a SoftAP in the wireless network identified by the SSID “SETUP-NFC-MACpr1.” Therefore, even if the first Wi-Fi I / F 120 receives a Probe Request including the SSID “SETUP-NFC-MACpr1” from the terminal device 10 at T242, the first Wi-Fi I / F 120 does not transmit a Probe Response to the terminal device 10.
[0056] When the terminal device 10 does not receive a Probe Response from the printer 100A even after a predetermined time has elapsed since the Wi-Fi I / F 18 transmitted a Probe Request to the printer 100A, the terminal device 10 determines that there is no printer operating as a SoftAP in the wireless network identified by the SSID "SETUP-NFC-MACpr1" around the terminal device 10. In this case, the Wi-Fi I / F 18 supplies a failure notification to the application 38 in T250. The failure notification indicates that the terminal device 10 has failed to establish a Wi-Fi connection with the printer.
[0057] When the application 38 of the terminal device 10 receives a failure notification from the Wi-Fi I / F 18 in T250, it identifies the model name MN1 of the printer 100A received through the NFC connection in T34 of FIG. 2. Next, in T252, the application 38 causes the display unit 14 to display a first instruction screen for the model name MN1. The first instruction screen includes a message that prompts the user to operate a Wi-Fi button included in the operation unit 112 of the printer 100A. The first instruction screen prompts the user to perform an operation to operate the printer 100A as a master station of a wireless network.
[0058] When the printer 100A detects in T260 that the user has operated the Wi-Fi button, in T262 the printer 100A starts up as a normal SoftAP. The wireless network formed by the printer 100A operating as a normal SoftAP is identified by the SSID "SETUP-MN1-pr1" which includes the model name MN1 of the printer 100A. The character string "SETUP" in the SSID is predetermined information. The character string "MN1" is the model name of the printer 100A. The character string "pr1" is information identified from the MAC address "MACpr1" of the printer 100A.
[0059] In T270, the application 38 detects a second setup operation by the user. The second setup operation is an operation for executing a second setup that establishes a Wi-Fi connection between the printer and the AP without using an NFC connection. The application 38 generates an SSID "SETUP-*-*" that includes a predetermined character string "SETUP". The "*" in the SSID is a wildcard that indicates an arbitrary character string of any number of digits. In T272, the application 38 supplies a connection instruction that includes the generated SSID "SETUP-*-*" to the Wi-Fi I / F 18.
[0060] When the Wi-Fi I / F 18 of the terminal apparatus 10 receives a connection instruction from the application 38 in T272, the Wi-Fi I / F 18 broadcasts a Probe Request including the SSID "SETUP-*-*" in the connection instruction in T274.
[0061] In case B, the printer 100A operates as a SoftAP in a wireless network identified by the SSID "SETUP-MN1-pr1." Therefore, at T276, the first Wi-Fi I / F 120 transmits a Probe Response, which is a response to the Probe Request, to the terminal device 10. The Probe Response includes the SSID "SETUP-MN1-pr1."
[0062] When the Wi-Fi I / F 18 of the terminal apparatus 10 receives the Probe Response from the printer 100A in T276, the Wi-Fi I / F 18 supplies a confirmation signal including the SSID “SETUP-MN1-pr1” to the application 38 in T278. The confirmation signal indicates that the Probe Response has been received by the Wi-Fi I / F 18.
[0063] When the application 38 receives a confirmation signal from the Wi-Fi I / F 18 in T278, the application 38 causes the display unit 14 to display a second confirmation screen including the SSID "SETUP-MN1-pr1" in T280. The second confirmation screen inquires of the user whether to permit the terminal device 10 to participate in the wireless network using the SSID "SETUP-MN1-pr1". Following T280, processes similar to T50 to T78 in FIG. 3 and processes similar to T80 to T96 in FIG. 4 are executed between the terminal device 10, the printer 100A, and the AP 200. In case B, in a process similar to T58 in FIG. 3, a Wi-Fi connection is established between the Wi-Fi I / F 18 of the terminal device 10 and the first Wi-Fi I / F 120 of the printer 100A that normally operates as a SoftAP. Also, in a process similar to T84 in FIG. 4, a Wi-Fi connection is established between the second Wi-Fi I / F 122 of the printer 100A and the AP 200. Next, in T298, the printer 100A ends the operation as a normal SoftAP. As a result, the Wi-Fi connection between the Wi-Fi I / F 18 of the terminal device 10 and the first Wi-Fi I / F 120 of the printer 100A is disconnected. Then, processes similar to T110 to T122 in FIG. 4 are executed between the terminal device 10, the printer 100A, and the AP 200. As a result, the application 38 can transmit print data to the printer 100A via the Wi-Fi I / F 18 and the AP 200. Therefore, the user can use the application 38 to cause the printer 100A to execute printing.
[0064] Effect of Case B As described above, when the terminal apparatus 10 detects a second setup operation by the user (T270 in FIG. 5) after displaying the first instruction screen on the display unit 14, it transmits a Probe Request including the SSID "SETUP-*-*" (T274). Then, when the terminal apparatus 10 receives a Probe Response from the printer 100A (T276), it establishes a Wi-Fi connection with the printer 100A (the same process as T58 in FIG. 3). In this way, the terminal apparatus 10 can establish a Wi-Fi connection with the printer 100A even if it does not receive a Probe Response from the printer 100A in response to the Probe Request including the SSID "SETUP-NFC-MACpr1".
[0065] Case C; Figure 6 Case C will be described with reference to FIG. 6. In case C, a Wi-Fi connection is established between the printer 100B and the AP 200 in response to the printer 100B starting up as a normal SoftAP. In the initial state of case C, that is, the state before T310 is executed, the power of the printer 100B is turned off after the Wi-Fi connection is established between the printer 100B and the AP 200. Therefore, in the initial state of case C, a Wi-Fi connection is not established between the printer 100B and the AP 200. In the initial state of case C, a Wi-Fi connection is established between the Wi-Fi I / F 18 of the terminal device 10 and the AP 200. In addition, the power flag in the memory of the printer 100B is set to "OFF".
[0066] When the printer 100B detects a power-on operation by the user, the printer 100B turns on the power of the printer 100B in T310. In case C, the printer 100B determines that the power-on in response to the power-on operation by the user is the second or subsequent power-on since shipment because the power flag in the memory of the printer 100B is "OFF". Therefore, the printer 100B does not start up the printer 100B as a stealth SoftAP.
[0067] 2 are executed between the terminal device 10 and the printer 100B. In case C, in a process similar to T34, the application 38 receives the model name MN2 and the MAC address "MACpr2" from the NFC I / F 118B of the printer 100B via the NFC I / F 16. The connection instruction transmitted in T40 includes the SSID "SETUP-NFC-MACpr2". In this case, the Wi-Fi I / F 18 of the terminal device 10 broadcasts a Probe Request including the SSID "SETUP-NFC-MACpr2" in the connection instruction in T342.
[0068] In case C, the printer 100B does not operate as a SoftAP in the wireless network identified by the SSID “SETUP-NFC-MACpr2.” Therefore, even if the first Wi-Fi I / F 120B receives a Probe Request including the SSID “SETUP-NFC-MACpr2” from the terminal device 10 at T342, the first Wi-Fi I / F 120B does not transmit a Probe Response to the terminal device 10.
[0069] T350 is the same as T250 in FIG. 5. When the application 38 receives a failure notification from the Wi-Fi I / F 18 in T350, the application 38 identifies the model name MN2 of the printer 100B. Next, in T352, the application 38 displays a second instruction screen for the model name MN2 on the display unit 14. The second instruction screen includes a message that prompts the user to perform settings for operating the printer 100B as a master station of a wireless network by selecting a Wi-Fi icon displayed on the display unit of the printer 100B. The second instruction screen prompts the user to perform an operation for operating the printer 100B as a master station of a wireless network. Since the model name MN1 of the printer 100A and the model name MN2 of the printer 100B are different, the first instruction screen and the second instruction screen are different.
[0070] When the printer 100B detects an operation of the Wi-Fi icon by the user in T360, the printer 100B starts up as a normal SoftAP in T362. The wireless network formed by the printer 100B operating as a normal SoftAP is identified by the SSID "SETUP-MN2-pr2" which includes the model name MN2 of the printer 100B. The character string "SETUP" in the SSID is predetermined information. The character string "MN2" is the model name of the printer 100B. The character string "pr2" is information identified from the MAC address "MACpr2" of the printer 100B.
[0071] T370 to T374 are the same as T270 to T274 in FIG.
[0072] In case C, the printer 100B operates as a normal SoftAP in a wireless network identified by the SSID "SETUP-MN2-pr2". Therefore, in T376, the first Wi-Fi I / F 120B transmits a Probe Response, which is a response to the Probe Request, to the terminal device 10. The Probe Response includes the SSID "SETUP-MN2-pr2". T378 is the same as T278 in FIG. 5.
[0073] When the application 38 receives a confirmation signal from the Wi-Fi I / F 18 in T378, in T380, the application 38 displays a second confirmation screen including the SSID "SETUP-MN2-pr2" on the display unit 14. Thereafter, processes similar to those in T50 to T78 in FIG. 3 and those similar to those in T80 to T96 in FIG. 4 are executed between the terminal device 10, the printer 100B, and the AP 200. In case C, in a process similar to that in T58 in FIG. 3, a Wi-Fi connection is established between the Wi-Fi I / F 18 of the terminal device 10 and the first Wi-Fi I / F 120B of the printer 100B operating as a normal SoftAP. In addition, in a process similar to that in T84 in FIG. 4, a Wi-Fi connection is established between the second Wi-Fi I / F 122B of the printer 100B and the AP 200. Next, in T398, the printer 100B ends the operation as a normal SoftAP. This disconnects the Wi-Fi connection between the Wi-Fi I / F 18 of the terminal device 10 and the first Wi-Fi I / F 120B of the printer 100B. After that, processes similar to those of T110 to T122 in FIG. 4 are executed between the terminal device 10, the printer 100B, and the AP 200. This allows the application 38 to transmit print data to the printer 100B via the Wi-Fi I / F 18 and the AP 200. This allows the user to use the application 38 to cause the printer 100B to execute printing.
[0074] Effects of Cases B and C As described above, the terminal device 10 displays an instruction screen that prompts the user to perform different operations depending on the model name of the printer. This allows the terminal device 10 to display a message depending on the printer used by the user. In this case, the user can operate the printer as a master station of the wireless network by performing an operation depending on the model name of the printer. This allows a Wi-Fi connection to be established between the terminal device 10 and the printer 100A or the printer 100B.
[0075] Effects of the embodiment According to the above configuration, when the terminal device 10 receives a Probe Response from the printer 100A via the Wi-Fi I / F 18 in response to transmitting a Probe Request to the printer 100A (T44 in FIG. 2), the terminal device 10 establishes a Wi-Fi connection with the target printer via the Wi-Fi I / F 18 (T58). On the other hand, when the terminal device 10 does not receive a Probe Response from the printer 100A via the Wi-Fi I / F 18 in response to transmitting a Probe Request to the printer 100A (FIG. 5), the terminal device 10 displays a first instruction screen (T252 in FIG. 5). This allows the user to execute the operation shown on the first instruction screen on the printer 100A to operate the printer 100A as a master station of the wireless network. In this case, a Wi-Fi connection can be established between the terminal device 10 and the printer 100A. That is, even if the terminal device 10 does not receive a Probe Response from the printer 100A, a Wi-Fi connection can be established between the terminal device 10 and the printer 100A.
[0076] Furthermore, when the terminal device 10 does not receive a Probe Response from the printer 100B via the Wi-Fi I / F 18 in response to transmitting a Probe Request to the printer 100B (FIG. 6), the terminal device 10 displays a second instruction screen (T352 in FIG. 6). This allows the user to execute the operation indicated on the second instruction screen on the printer 100B to operate the printer 100B as a master station of the wireless network. In this case, a Wi-Fi connection can be established between the terminal device 10 and the printer 100B. That is, even if the terminal device 10 does not receive a Probe Response from the printer 100B, a Wi-Fi connection can be established between the terminal device 10 and the printer 100B.
[0077] Correspondence The NFC I / F 16 is an example of a "first interface". The Wi-Fi I / F 18 is an example of a "second interface". The display unit 14 is an example of an "output unit". The printer 100A and the printer 100B are examples of a "communication device". The MAC address is an example of "identification information". The SSID "SETUP-NFC-MACpr1" and the SSID "SETUP-NFC-MACpr2" are examples of "first destination information". The Probe Requests of T42 in FIG. 2, T242 in FIG. 5, and T342 in FIG. 6 are examples of "first request signals". The Probe Response of T44 in FIG. 2 is an example of "first response signals". The Wi-Fi connection of T58 in FIG. 3 is an example of "first wireless connection". The Wi-Fi button operation of T260 in FIG. 5 and the Wi-Fi icon operation of T360 in FIG. 6 are examples of "predetermined operations". The message included in the first instruction screen of T252 in FIG. 5 and the message included in the second instruction screen of T352 in FIG. 6 are examples of "predetermined information". The SSID "SETUP-*-*" is an example of "second destination information". The Probe Request of T274 in FIG. 5 and T374 in FIG. 6 are examples of "second request signals". The Probe Response of T276 in FIG. 5 and T376 in FIG. 6 are examples of "second response signals". The Wi-Fi connection of T58 in FIG. 3 cited in FIG. 5 and the Wi-Fi connection of T58 in FIG. 3 cited in FIG. 6 are examples of "second wireless connections". The second setup operation of T270 in FIG. 5 and T370 in FIG. 6 are examples of "transmission operations". The SSID "SETUP-NFC-MACpr1" and the SSID "SETUP-NFC-MACpr2" are examples of "first SSIDs". The SSID "SETUP-*-*" is an example of a "second SSID." A parent station when the printer 100A operates as a stealth SoftAP is an example of a "first parent station." A parent station when the printer 100A operates as a normal SoftAP is an example of a "second parent station." A Wi-Fi connection established between the terminal device 10 and the access point 200 is an example of a "third wireless connection." The SSIDs "AP1" and "PW1" of T80 in FIG. 4 are examples of "establishment information."The Wi-Fi button operation of the T260 in Figure 5 is an example of the "first operation." The Wi-Fi icon operation of the T360 in Figure 6 is an example of the "second operation."
[0078] T42 in Fig. 2, T242 in Fig. 5, and T342 in Fig. 6 are examples of processing executed by a "first request signal transmitting unit." T58 in Fig. 3 is an example of processing executed by an "establishing unit." T252 in Fig. 5 and T352 in Fig. 6 are examples of processing executed by an "output control unit."
[0079] Although specific examples of the technology disclosed in this specification have been described in detail above, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and variations of the specific examples exemplified above. Modifications of the above embodiments are described below.
[0080] First Modification 5, the terminal device 10 may execute the processes after T272 without detecting the second setup operation by the user. For example, the terminal device 10 may execute the processes after T272 when a predetermined time has elapsed since the first instruction screen was displayed on the display unit 14. The predetermined time is, for example, one minute.
[0081] Second Variation The "first destination information" and the "second destination information" are not limited to the SSID, and may be, for example, a MAC address.
[0082] Third Modification When the Wi-Fi I / F 18 of the terminal device 10 can simultaneously establish two wireless connections, T54 in Fig. 3 and T110 to T116 in Fig. 4 may be omitted. In this modification, the "disconnection unit" may be omitted.
[0083] Fourth Variation T80 in Fig. 4 may be omitted. In this modification, the "establishment information transmission unit" may be omitted.
[0084] Fifth Variation The information displayed on the instruction screen may be the same regardless of the model name of the printer. In this modification, the instruction screen may include a message prompting the user to perform an operation to operate the printer as a master station of the wireless network.
[0085] Sixth Variation 2, the terminal device 10 may receive, for example, a series name of the printer 100A or information indicating whether or not the printer 100A has a Wi-Fi button, instead of the model name MN1 of the printer 100A. In one example, the terminal device 10 may display, on the display unit 14, an instruction screen including content that prompts the user to perform different operations depending on the series name of the printer 100A. In another example, the terminal device 10 may display, on the display unit 14, an instruction screen including content that prompts the user to perform different operations depending on the presence or absence of a Wi-Fi button in the printer 100A.
[0086] Seventh Variation The "first interface" is not limited to NFC I / F 16, and may be, for example, a Bluetooth I / F, a camera, or a touch screen. Bluetooth is a registered trademark of Bluetooth SIG.
[0087] Eighth Variation The "identification information" is not limited to a MAC address, but may be, for example, a printer identification number or a printer name.
[0088] Ninth Variation The "output unit" is not limited to the display unit 14, but may be, for example, a speaker.
[0089] 10th Variation The terminal device 10 may receive function information from the printer 100A indicating whether the printer 100A can execute the first setup at T34 in Fig. 2. In case A in Fig. 2, since the function information indicates that the printer 100A can execute the first setup, the terminal device 10 executes the process from S40 onwards. On the other hand, if the function information indicates that the printer 100A cannot execute the first setup, the terminal device 10 displays a screen including a message prompting the user to perform the second setup operation instead of the process from S40 onwards.
[0090] 11th Variation In the above embodiment, the processing of each step in FIG. 2 to FIG. 6 is realized by software (e.g., OS program 36, application 38, program 136), but at least one of these processes may be realized by hardware such as a logic circuit.
[0091] The technical elements described in this specification or drawings have technical utility either alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies illustrated in this specification or drawings can achieve multiple objectives simultaneously, and achieving one of these objectives is itself technically useful.
[0092] In the scope of the claims at the time of filing of this patent application, even if each claim is dependent on only some of the claims, it is not limited to the fact that each claim can be dependent on only those some of the claims. Each claim can also be dependent on other claims that are not dependent on it at the time of filing to the extent that there is no technical contradiction. In other words, the technology of each claim can be combined in various ways as follows: Item 1 A terminal device, A first interface; a second interface different from the first interface, the second interface being for performing wireless communication; and An output unit; a receiving unit that receives identification information for identifying a communication device via the first interface; a first request signal transmission unit that transmits a first request signal including first destination information for which the identification information is used, to the communication device via the second interface when the identification information is received; an establishment unit that establishes a first wireless connection between the terminal device and the communication device via the second interface when a first response signal is received from the communication device via the second interface in response to transmitting the first request signal to the communication device; an output control unit that outputs, to the output unit, predetermined information indicating that a predetermined operation is to be executed by the communication device when the first response signal is not received from the communication device via the second interface in response to transmitting the first request signal to the communication device, the predetermined operation being an operation for causing the communication device to operate as a master station of a wireless network; A terminal device comprising: Item 2 The terminal device further comprises: a second request signal transmitting unit configured to transmit, after the predetermined information is output to the output unit, a second request signal including second destination information different from the first destination information via the second interface; The terminal device described in item 1, wherein the establishment unit establishes a second wireless connection between the terminal device and the communication device via the second interface when it receives a second response signal from the communication device via the second interface in response to transmitting the second request signal. Item 3 The terminal device described in item 2, wherein the second request signal transmission unit transmits the second request signal when it detects a transmission operation by a user to the terminal device after the specified information is output to the output unit. Item 4 the first destination information includes a first SSID; 4. The terminal device according to item 2 or 3, wherein the second destination information includes a second SSID different from the first SSID. Item 5 the first SSID is information for identifying a first wireless network in which the communication device operates as a first master station; 5. The terminal device according to item 4, wherein the second SSID is information that identifies a second wireless network in which the communication device operates as a second master station. Item 6 The terminal device described in item 5, wherein, when operating as the first parent station, the communication device transmits a response signal when receiving a request signal including the first SSID, and does not transmit a response signal when receiving a request signal not including the SSID. Item 7 The terminal device further comprises: a disconnection unit that disconnects the third wireless connection with the access point when the terminal device receives the first response signal from the communication device in a state in which the terminal device has established a third wireless connection with the access point; The terminal device according to any one of items 2 to 6, wherein the establishment unit establishes the second wireless connection between the terminal device and the communication device via the second interface when disconnecting the third wireless connection with the access point. Item 8 The terminal device further comprises: A terminal device as described in item 7, further comprising an establishment information transmitting unit that, when establishing the second wireless connection between the terminal device and the communication device, transmits establishment information for establishing a wireless connection between the communication device and the access point using the second wireless connection via the second interface to the communication device. Item 9 The predetermined operation is a first operation if the communication device is a first type of communication device; A terminal device according to any one of items 1 to 8, comprising a second operation different from the first operation when the communication device is a second type of communication device different from the first type of communication device. Item 10 A terminal device according to any one of claims 1 to 9, wherein the first interface is an interface for performing wireless communication. Item 11 11. The terminal device according to any one of claims 1 to 10, wherein the identification information includes a MAC address of the communication device. Item 12 A computer program for a terminal device, comprising: The terminal device A first interface; a second interface different from the first interface, the second interface being for performing wireless communication; and An output unit; A computer, Equipped with The computer program causes the computer to: a receiving unit that receives identification information for identifying a communication device via the first interface; a first request signal transmission unit that transmits a first request signal including first destination information for which the identification information is used, to the communication device via the second interface when the identification information is received; an establishment unit that establishes a first wireless connection between the terminal device and the communication device via the second interface when a first response signal is received from the communication device via the second interface in response to transmitting the first request signal to the communication device; an output control unit that outputs, to the output unit, predetermined information indicating that a predetermined operation is to be executed by the communication device when the first response signal is not received from the communication device via the second interface in response to transmitting the first request signal to the communication device, the predetermined operation being an operation for causing the communication device to operate as a master station of a wireless network; A computer program that functions as a Item 13 A method performed by a terminal device, comprising: The terminal device A first interface; a second interface different from the first interface, the second interface being for performing wireless communication; and An output unit; Equipped with The method comprises: a receiving step of receiving, via the first interface, identification information for identifying a communication device; a first request signal transmitting step of transmitting a first request signal including first destination information for which the identification information is used, to the communication device via the second interface when the identification information is received; an establishing step of establishing a first wireless connection between the terminal device and the communication device via the second interface when a first response signal is received from the communication device via the second interface in response to transmitting the first request signal to the communication device; an output control step of causing the output unit to output predetermined information indicating that a predetermined operation is to be executed by the communication device when the first response signal is not received from the communication device via the second interface in response to transmitting the first request signal to the communication device, the predetermined operation being an operation for causing the communication device to operate as a master station of a wireless network; A method comprising: [Explanation of symbols]
[0093] 2: communication system, 10: terminal device, 12: operation unit, 14: display unit, 16: NFC I / F, 18: Wi-Fi I / F, 30: control unit, 32: CPU, 34: memory, 36: OS program, 38: application, 100A: printer, 100B: printer, 112: operation unit, 114: display unit, 116: print engine, 118, 118B: NFC I / F, 120, 120B: first Wi-Fi I / F, 122, 122B: second Wi-Fi I / F, 130: control unit, 132: CPU, 134: memory, 136: program, 200: access point
Claims
1. A terminal device, A first interface; a second interface different from the first interface, the second interface being for performing wireless communication; and An output unit; a receiving unit that receives identification information for identifying a communication device via the first interface; a first request signal transmission unit that transmits a first request signal including first destination information for which the identification information is used, to the communication device via the second interface when the identification information is received; an establishment unit that establishes a first wireless connection between the terminal device and the communication device via the second interface when a first response signal is received from the communication device via the second interface in response to transmitting the first request signal to the communication device; an output control unit that causes the output unit to output predetermined information indicating that a predetermined operation is to be executed by the communication device when the first response signal is not received from the communication device via the second interface in response to transmitting the first request signal to the communication device, the predetermined operation being an operation for causing the communication device to operate as a master station of a wireless network; A terminal device comprising:
2. The terminal device further comprises: a second request signal transmitting unit configured to transmit, after the predetermined information is output to the output unit, a second request signal including second destination information different from the first destination information via the second interface; The terminal device according to claim 1 , wherein the establishment unit establishes a second wireless connection between the terminal device and the communication device via the second interface when a second response signal is received from the communication device via the second interface in response to transmitting the second request signal.
3. The terminal device according to claim 2 , wherein the second request signal transmission unit transmits the second request signal when detecting a transmission operation by a user to the terminal device after the specific information is output to the output unit.
4. the first destination information includes a first SSID; The terminal device according to claim 2 , wherein the second destination information includes a second SSID different from the first SSID.
5. the first SSID is information for identifying a first wireless network in which the communication device operates as a first master station; The terminal device according to claim 4 , wherein the second SSID is information for identifying a second wireless network in which the communication device operates as a second master station.
6. The terminal device according to claim 5, wherein, when operating as the first master station, the communication device transmits a response signal when it receives a request signal including the first SSID, and does not transmit a response signal when it receives a request signal not including the SSID.
7. The terminal device further comprises: a disconnection unit that disconnects the third wireless connection with the access point when the terminal device receives the first response signal from the communication device in a state in which the terminal device has established a third wireless connection with the access point; The terminal device according to claim 2 , wherein the establishment unit establishes the second wireless connection between the terminal device and the communication device via the second interface when disconnecting the third wireless connection with the access point.
8. The terminal device further comprises: The terminal device according to claim 7, further comprising an establishment information transmitting unit that, when establishing the second wireless connection between the terminal device and the communication device, transmits establishment information for establishing a wireless connection between the communication device and the access point using the second wireless connection via the second interface to the communication device.
9. The predetermined operation is a first operation if the communication device is a first type of communication device; The terminal device according to claim 1 , further comprising a second operation different from the first operation when the communication device is a second type of communication device different from the first type of communication device.
10. The terminal device according to claim 1 , wherein the first interface is an interface for performing wireless communication.
11. The terminal device according to claim 1 , wherein the identification information includes a MAC address of the communication device.
12. A computer program for a terminal device, comprising: The terminal device A first interface; a second interface different from the first interface, the second interface being for performing wireless communication; and An output unit; A computer, Equipped with The computer program causes the computer to: a receiving unit that receives identification information for identifying a communication device via the first interface; a first request signal transmission unit that transmits a first request signal including first destination information for which the identification information is used, to the communication device via the second interface when the identification information is received; an establishment unit that establishes a first wireless connection between the terminal device and the communication device via the second interface when a first response signal is received from the communication device via the second interface in response to transmitting the first request signal to the communication device; an output control unit that causes the output unit to output predetermined information indicating that a predetermined operation is to be executed by the communication device when the first response signal is not received from the communication device via the second interface in response to transmitting the first request signal to the communication device, the predetermined operation being an operation for causing the communication device to operate as a master station of a wireless network; A computer program that functions as a
13. A method performed by a terminal device, comprising: The terminal device A first interface; a second interface different from the first interface, the second interface being for performing wireless communication; and An output unit; Equipped with The method comprises: a receiving step of receiving, via the first interface, identification information for identifying a communication device; a first request signal transmitting step of transmitting, to the communication device via the second interface, a first request signal including first destination information for which the identification information is used, when the identification information is received; an establishing step of establishing a first wireless connection between the terminal device and the communication device via the second interface when a first response signal is received from the communication device via the second interface in response to transmitting the first request signal to the communication device; an output control step of causing the output unit to output predetermined information indicating that a predetermined operation is to be executed by the communication device when the first response signal is not received from the communication device via the second interface in response to transmitting the first request signal to the communication device, the predetermined operation being an operation for causing the communication device to operate as a master station of a wireless network; A method comprising:
Citation Information
Patent Citations
Communication apparatus
JP2017017601A
