Following the documentation here:
http://developer.android.com/training/connect-devices-wirelessly/nsd-wifi-direct.html
It appears to be possible to broadcast data to all nearby devices that have WiFi Direct without establishing a connection by just putting the data in a WifiP2pDnsSdServiceInfo object. This works for my purposes as I'm attempting to establish a simple P2P messaging app amongst multiple nearby devices. However it seems like a misuse of the API as this is intended to carry information to setup a connection and advertise a service. My questions are:
- What are the pros and cons of sending data this way (please ignore security)?
- Will there be delays in messages being sent/received.
- What will the impact on battery life be like?