1syntax = "proto3"; 2 3package bluetooth.facade; 4 5message Data { 6 bytes payload = 1; 7} 8 9message BluetoothAddress { 10 bytes address = 1; 11} 12 13enum BluetoothAddressTypeEnum { 14 PUBLIC_DEVICE_ADDRESS = 0x0; 15 RANDOM_DEVICE_ADDRESS = 0x1; 16 PUBLIC_IDENTITY_ADDRESS = 0x2; 17 RANDOM_IDENTITY_ADDRESS = 0x3; 18} 19 20enum BluetoothOwnAddressTypeEnum { 21 USE_PUBLIC_DEVICE_ADDRESS = 0x0; 22 USE_RANDOM_DEVICE_ADDRESS = 0x1; 23 RESOLVABLE_OR_PUBLIC_ADDRESS = 0x2; 24 RESOLVABLE_OR_RANDOM_ADDRESS = 0x3; 25} 26 27message BluetoothAddressWithType { 28 BluetoothAddress address = 1; 29 BluetoothAddressTypeEnum type = 2; 30} 31 32enum BluetoothPeerAddressTypeEnum { 33 PUBLIC_DEVICE_OR_IDENTITY_ADDRESS = 0x0; 34 RANDOM_DEVICE_OR_IDENTITY_ADDRESS = 0x1; 35} 36