Skip to content

Commit

Permalink
Merge pull request #362 from this-Aditya/pair-state
Browse files Browse the repository at this point in the history
Using PairState enum for paired status of remote bluetooth device.
  • Loading branch information
Bdegraaf1234 authored Mar 15, 2024
2 parents 2d9d1e4 + 0ee56a6 commit 7e7c4af
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion commons/passive/phone/phone_bluetooth_device_scanned.avsc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
{"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}
{"name": "isPaired", "type": ["null","boolean"], "doc": "Whether the bluetooth device is paired. This has been deprecated in favor of pairedState in newer versions.", "default": null},
{"name": "pairedState", "type": ["null", {
"name": "PairedState",
"type": "enum",
"doc": "Represent the bond state of the remote device. \nNOT_PAIRED indicates the remote device is not paired. \nPAIRING indicates pairing is in progress with the remote device. \nPAIRED Indicates the remote device is paired. \nUNKNOWN indicates the pairing status is not known.",
"symbols": ["NOT_PAIRED", "PAIRING", "PAIRED", "UNKNOWN"]
}], "doc": "Indicates the current paired status of the remote device.", "default": null }
]
}

0 comments on commit 7e7c4af

Please sign in to comment.