Hello to all.
I want to make a sniffer on an android that would catch all the packages via wi-fi. Why it is needed: you need to connect several devices not using 802.11 protocols. Google, a lot of things in the network rests on Wi-Fi Direct, but it's not that. I am trying to create my own protocol, not to become attached to the existing ones. I tried to work with Wi-Fi Direct, there was one problem: when connecting devices, a sign asking for permission to connect was thrown out, this question also exists, I don’t know if only permission is required in Wi-Fi Direct.
Advise articles, sniffer code samples for Android, all that can help)