| syntax = "proto3"; |
| |
| package bluetooth.facade; |
| |
| enum EventSubscriptionMode { |
| UNCHANGED = 0; |
| SUBSCRIBE = 1; |
| UNSUBSCRIBE = 2; |
| } |
| |
| enum EventFetchMode { |
| NONE = 0; |
| ALL_CURRENT = 1; |
| AT_LEAST_ONE = 2; |
| } |
| |
| message EventStreamRequest { |
| EventSubscriptionMode subscription_mode = 1; |
| EventFetchMode fetch_mode = 2; |
| uint32 timeout_ms = 3; |
| } |
| |
| message BluetoothAddress { |
| bytes address = 1; |
| } |
| |
| enum BluetoothAddressTypeEnum { |
| PUBLIC_DEVICE_ADDRESS = 0x0; |
| RANDOM_DEVICE_ADDRESS = 0x1; |
| PUBLIC_IDENTITY_ADDRESS = 0x2; |
| RANDOM_IDENTITY_ADDRESS = 0x3; |
| } |
| |
| message BluetoothAddressWithType { |
| BluetoothAddress address = 1; |
| BluetoothAddressTypeEnum type = 2; |
| } |
| |
| enum BluetoothPeerAddressTypeEnum { |
| PUBLIC_DEVICE_OR_IDENTITY_ADDRESS = 0x0; |
| RANDOM_DEVICE_OR_IDENTITY_ADDRESS = 0x1; |
| } |