I'm only in the pre-first stage of the project, so the question is very straight forward and basic. I like to listen to (using Java/C++) every WiFi packets in the range of my laptop, all I care for are the message headers and the very existence of the message so encryption doesn't really play a role here.
Is there a way to get that from Windows(8)/Ubuntu? I didn't manage to find any sort of API form Broadcom, so I guess accessing the card directly won't be trivial. If that's impossible then I could try and do the same with WindowsPhone 8, so if any one know a way for that, it would also be very helpful.
You can try the links below..
jNetPcap http://jnetpcap.com/examples
WinPcap https://www.winpcap.org/docs/docs_40_2/html/group__wpcapsamps.html