You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
715 B
36 lines
715 B
syntax = "proto3";
|
|
|
|
package bluetooth.facade;
|
|
|
|
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;
|
|
}
|