diff --git a/commons/passive/phone/phone_bluetooth_device_scanned.avsc b/commons/passive/phone/phone_bluetooth_device_scanned.avsc new file mode 100644 index 00000000..80f52d35 --- /dev/null +++ b/commons/passive/phone/phone_bluetooth_device_scanned.avsc @@ -0,0 +1,13 @@ +{ + "namespace": "org.radarcns.passive.phone", + "type": "record", + "name": "PhoneBluetoothDeviceScanned", + "doc": "Phone Bluetooth device info.", + "fields": [ + {"name": "time", "type": "double", "doc": "Device timestamp in UTC (s)."}, + {"name": "timeReceived", "type": "double", "doc": "Device receiver timestamp in UTC (s)."}, + {"name": "macAddressHash", "type": ["null", "bytes"], "default": null, "doc":"Hash of Nearby Bluetooth device MAC address."}, + {"name": "hashSaltReference", "type": ["null", "int"], "doc": "Random identifier associated with the device or installation of the app. If the app gets reinstalled or installed on another device, it's clear during analysis that the mac addresses between iterations are not comparable.", "default": null}, + {"name": "isPaired", "type": ["null","boolean"], "doc": "Whether the bluetooth device is paired.", "default": null} + ] +} diff --git a/specifications/passive/android_phone-1.0.0.yml b/specifications/passive/android_phone-1.0.0.yml index f5226e5d..bdbce9b5 100644 --- a/specifications/passive/android_phone-1.0.0.yml +++ b/specifications/passive/android_phone-1.0.0.yml @@ -134,6 +134,12 @@ data: sample_rate: interval: 3600 configurable: true + - type: PHONE_BLUETOOTH_DEVICE_SCANNED + app_provider: .phone.PhoneBluetoothService + unit: NON_DIMENSIONAL + processing_state: RAW + topic: android_phone_bluetooth_device_scanned + value_schema: .passive.phone.PhoneBluetoothDeviceScanned # Usage - type: USAGE_EVENT app_provider: .phone.PhoneUsageProvider