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