connectivity library

A library for collecting connectivity data on:

  • bluetooth info from nearby devices
  • connectivity status
  • wifi status

Classes

BluetoothDatum
A Datum that holds information of nearby Bluetooth devices.
BluetoothDevice
Bluetooth device data.
BluetoothProbe
The BluetoothProbe scans for nearby and visible Bluetooth devices and collects a BluetoothDatum that lists each device found during the scan. Uses a PeriodicSamplingConfiguration for configuration the interval and duration of the scan.
ConnectivityDatum
A Datum that holds connectivity status of the phone.
ConnectivityProbe
The ConnectivityProbe listens to the connectivity status of the phone and collect a ConnectivityDatum every time the connectivity state changes.
ConnectivitySamplingPackage
WifiDatum
A Datum that holds wifi connectivity status in terms of connected SSID and BSSID.
WifiProbe
The WifiProbe get the wifi connectivity status of the phone and collect a WifiDatum.

Functions

blueetothNameAnoymizer(Datum datum) → Datum
A BluetoothDatum anonymizer function. Anonymizes the name and discovery name of each discovered bluetooth device. Bluetooth devices' names may contain participants' real name because people use their names to name their computers and phones.
wifiNameAnoymizer(Datum datum) → Datum
A WifiDatum anonymizer function. Anonymizes the wifi name (SSID) of the wifi network. Wifi network names may contain participants' or house holds' real name because people use their names to name their wifi.