1syntax = "proto3"; 2 3package service.proto; 4import "src/fastpair/cache.proto"; 5 6// A device that has been Fast Paired with. 7message FastPairDeviceWithAccountKey { 8 // The account key which was written to the device after pairing completed. 9 bytes account_key = 1; 10 11 // The stored discovery item which represents the notification that should be 12 // associated with the device. Note, this is stored as a raw byte array 13 // instead of StoredDiscoveryItem because icing only supports proto lite and 14 // StoredDiscoveryItem is handed around as a nano proto in implementation, 15 // which are not compatible with each other. 16 StoredDiscoveryItem discovery_item = 3; 17 18 // SHA256 of "account key + headset's public address", this is used to 19 // identify the paired headset. Because of adding account key to generate the 20 // hash value, it makes the information anonymous, even for the same headset, 21 // different accounts have different values. 22 bytes sha256_account_key_public_address = 4; 23 24 // Deprecated fields. 25 reserved 2; 26} 27