1

I was wondering if an android App can have access to the beacon data of the nearby WiFi access points (AP), while the phone is associated with a WiFi AP.

Note: I do not want to root the phone or use startscan because it is going to be removed in a future release. I skimmed through WiFi RTT API but it does not seem to provide any other beacon information than RSSI and BSSID.

Thanks for any hints or clues in advance!

  • As there are several such apps available, I'd assume it's possible, yes. Cannot say if each of your details is met, though :) – Izzy Nov 11 '19 at 6:37
  • @Izzy thanks for your comment. As far as I looked into your link, I only found Bluetooth or BLE scanners. I am interested in WiFi beacons only. WifiManager scanning cannot be triggered using app in a future release, and my guess is that all the WiFi scanning apps use this API and will soon fail. Also I am wondering if it is possible to limit the scanning frequency range. – pm89 Nov 11 '19 at 12:55
  • Argh, OK – I must have missed the WiFi part and just seen the "Beacon" keyword. Sorry, no idea, I'm no dev… – Izzy Nov 11 '19 at 20:57
1

I was also looking for this as well and I found this thesis submitted in 2015. They were able to get IEs using Android NDK. I still haven't tried it yet. Also if you have found some other solution could share it.

| improve this answer | |
  • No I have not found a solutions yet. Thanks for the thesis reference. It is mentioned on page 61 that: "The disadvantage is the problem that currently the extended API is not part of the official Android source (AOSP) and therefore the only possibility using it would be by updating the current Android via Fastboot Mode27 or by replacing the current Android operating system with a version that was built with the changed source" – pm89 May 6 at 18:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.