Wireless communication apparatus, wireless communication method, program, and storage medium
A wireless communication apparatus which can perform communication in a system for performing communication during a predetermined period which repeatedly starts in a predetermined cycle and during which a beacon is transmitted or received receives signals during the predetermined period, and transmits information about the number of transmission sources of the received signal.
1. A wireless 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 wireless communication apparatus to:
receive signals during a discovery window of Neighbor Awareness Networking (NAN);
determine, based on the received signals, a number of types of service being provided in a NAN cluster to which the wireless communication apparatus belongs; and
transmit a discovery beacon containing information about the NAN cluster, the information being based on the determined number of types of service being provided in the NAN cluster.
2. The wireless communication apparatus according to claim 1 , wherein the received signals are publish signals defined in the Neighbor Awareness Networking (NAN).
3. The wireless communication apparatus according to claim 1 , wherein the execution of the instructions further causes the wireless communication apparatus to:
record a service ID indicating a service type,
wherein the determination is made based on the recorded service ID.
4. A method of controlling a wireless communication apparatus, the method comprising:
receiving signals during a discovery window of Neighbor Awareness Networking (NAN);
determining, based on the received signals, a number of types of service being provided in a NAN cluster to which the wireless communication apparatus belongs; and
transmitting a discover beacon containing information about the NAN cluster, the information being based on the determined number of types of service being provided in the NAN cluster.
5. A non-transitory computer-readable storage medium storing a computer program for causing a computer to execute a method of controlling a wireless communication apparatus, the method comprising:
receiving signals during a discovery window of Neighbor Awareness Networking (NAN);
determining, based on the received signals, a number of types of service being provided in a NAN cluster to which the wireless communication apparatus belongs; and
transmitting a discover beacon containing information about the NAN cluster, the information being based on the determined number of types of service being provided in the NAN cluster.