connectivity library

A library for collecting connectivity data on:

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

Classes

Bluetooth
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 Bluetooth measurement that lists each device found during the scan. Uses a PeriodicSamplingConfiguration for configuration the interval and duration of the scan.
Connectivity
Holds connectivity status of the phone.
ConnectivityProbe
The ConnectivityProbe listens to the connectivity status of the phone and collect a Connectivity data point every time the connectivity state changes.
ConnectivitySamplingPackage
Wifi
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 Wifi.

Enums

ConnectivityStatus
Connection status of a device.

Functions

blueetothNameAnoymizer(Data datum) → Data
A Bluetooth 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(Data datum) → Data
A Wifi 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.