connectivity library
A library for collecting connectivity data on:
- bluetooth info from nearby devices
- connectivity status
- wifi status
Classes
- Bluetooth
-
A
Data
holding 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 theinterval
andduration
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
Data
holding 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
-
bluetoothNameAnonymizer(
Data data) → 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.
-
wifiNameAnonymizer(
Data data) → 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.