Android Wi-Fi Aware
Wi-Fi Aware is also known as Neighbor Awareness Networking or NAN which is available from Android O with appropriate hardware built-in the device.
Wi-Fi Aware helps to connect & share data with nearby devices which doesnt require any additional configuration , GPS , Wi-Fi Access point , Cellular data or internet.
Wi-Fi Aware is power efficient and uses the battery whenever it’s needed.
In Wi-Fi Aware or NAN there will be ‘Publishers’ and ‘Subscribers’. Publishers are responsible for sending data by forming a cluster with nearby devices or creating a new cluster if the device is the first one in the area. Publishers publishes a discoverable service and Susbscribers receive a notification and accepts these service if he is interested.