Communication apparatus, control method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorWataru Tachiwa
Life of this patent
Estimating the term…
Abstract
A communication apparatus, which has a first communication function for executing communication based on a Neighbor Awareness Network (NAN) and a second communication function for executing communication by a wireless LAN by sharing at least a part of a communication circuit with the first communication function, searches a printer by determining whether a value of a Service ID or a value of Service Info of a NAN Attribute included in a Publish message received by the first communication function is a value indicating a print service, and transmits print data to a printer discovered by the search.
Claims22
A communication apparatus comprising:
- one or more processors;
- and
- one or more memories including instructions that, when executed by the one or more processors, cause the communication apparatus to:
- execute a first communication based on a Neighbor Awareness Network (NAN);
- search for one or more printers by determining, in a case where a Publish message including a first NAN Attribute in which a Service ID and Service Info are included is received by the first communication, whether a value of the Service ID or a value of the Service Info of the first NAN Attribute is a value indicating a print service;
- execute a second communication by a wireless LAN to transmit print data to at least one of the one or more printers discovered in the search using the first communication;
- and
- control, in a case where a second NAN Attribute including a BSSID used for establishing a connection of the wireless LAN is received by the first communication, the communication apparatus to transmit, by the second communication, a probe request designating the BSSID as a destination and then establish the connection of the wireless LAN, and to transmit, to the at least one of the one or more printers discovered in the search using the first communication, print data via the established connection of the wireless LAN.
A method of controlling a communication apparatus that executes a first communication based on a Neighbor Awareness Network (NAN) and executes a second communication by a wireless LAN, the method comprising:
- searching for one or more printers by determining, in a case where a Publish message including a first NAN Attribute in which a Service ID and Service Info are included is received by the first communication, whether a value of the Service ID or a value of the Service Info of the first NAN Attribute is a value indicating a print service;
- and
- controlling, in a case where a second NAN Attribute including a BSSID used for establishing a connection of the wireless LAN is received by the first communication, the communication apparatus to transmit, by the second communication, a probe request designating the BSSID as a destination and then establish the connection of the wireless LAN, and to transmit, to the at least one of the one or more printers discovered in the search using the first communication, print data via the established connection of the wireless LAN.
A non-transitory computer-readable storage medium that stores a program for causing a computer comprised in a communication apparatus that executes a first communication based on a Neighbor Awareness Network (NAN) and executes a second communication by a wireless LAN:
- search for one or more printers by determining, in a case where a Publish message including a first NAN Attribute in which a Service ID and Service Info are included is received by the first communication, whether a value of the Service ID or a value of the Service Info of the first NAN Attribute is a value indicating a print service;
- and
- control, in a case where a second NAN Attribute including a BSSID used for establishing a connection of the wireless LAN is received by the first communication, the communication apparatus to transmit, by the second communication, a probe request designating the BSSID as a destination and then establish the connection of the wireless LAN, and to transmit, to the at least one of the one or more printers discovered in the search using the first communication, print data via the established connection of the wireless LAN.
Dependencies are inferred from the claim text.