icon_android Android

Logs the mobile device’s Wi-Fi sensor, current AP and surrounding Wi-Fi visible devices with respective RSSI dB values at specified intervals.

Android can take up to 60 seconds to resolve all the found Wi-Fi device’s names. There is no way around this. The default and recommended scanning interval is 60 seconds or higher.

Settings

  • Aware_Preferences.STATUS_WIFI: true or false to activate or deactivate sensor.
  • Aware_Preferences.FREQUENCY_WIFI: how often to scan for devices, in seconds (default = 60 seconds).

aware-broadcasts

  • WiFi.ACTION_AWARE_WIFI_NEW_DEVICE: new Wi-Fi device detected.
  • WiFi.ACTION_AWARE_WIFI_SCAN_STARTED: scan session has started.
  • WiFi.ACTION_AWARE_WIFI_SCAN_ENDED: scan session has ended.
  • WiFi.ACTION_AWARE_WIFI_REQUEST_SCAN: request a Wi-Fi scan as soon as possible.

aware-providers

Wi-Fi Sensor

Contains the mobile device’s Wi-Fi sensor information.

WiFi_Sensor.CONTENT_URI
content://com.aware.provider.wifi/sensor_wifi

Table field Field type Description
_id INTEGER primary key, auto incremented
timestamp REAL unixtime milliseconds since 1970
device_id TEXT AWARE device UUID
mac_address TEXT device’s MAC address
bssid TEXT currently connected access point MAC address
ssid TEXT currently connected access point network name

Wi-Fi Data

Contains the scan results data.

WiFi_Data.CONTENT_URI
content://com.aware.provider.wifi/wifi
Table field Field type Description
_id INTEGER primary key, auto incremented
timestamp REAL unixtime milliseconds since 1970
device_id TEXT AWARE device UUID
bssid TEXT detected device’s MAC address
ssid TEXT detected device name
security TEXT active security protocols
frequency INTEGER Wi-Fi band frequency (e.g., 2427, 5180), in Hz
rssi INTEGER RSSI dB to the scanned device
label TEXT customisable label

 


icon_ios iOS

The Wi-Fi sensor scans known Access Points around the phone, and stores the information such as BSSID and SSID at specified intervals.

aware-broadcasts

  • WiFi.ACTION_AWARE_WIFI_NEW_DEVICE: new Wi-Fi device detected.
  • WiFi.ACTION_AWARE_WIFI_SCAN_STARTED: scan session has started.
  • WiFi.ACTION_AWARE_WIFI_SCAN_ENDED: scan session has ended.
  • WiFi.ACTION_AWARE_WIFI_REQUEST_SCAN: request a Wi-Fi scan as soon as possible.

aware-providers

Wi-Fi Data

Contains the scan results data.

Table field Field type Description
_id INTEGER primary key, auto incremented
timestamp REAL unixtime milliseconds since 1970
device_id TEXT AWARE device UUID
bssid TEXT detected device’s MAC address
ssid TEXT detected device name
security TEXT Not supported on iOS
frequency INTEGER Not supported on iOS
rssi INTEGER Not supported on iOS
label TEXT customisable label

Wi-Fi