1syntax = "proto3"; 2 3package bluetooth.hci; 4 5import "google/protobuf/empty.proto"; 6 7service ControllerFacade { 8 rpc GetMacAddress(google.protobuf.Empty) returns (AddressMsg) {} 9 rpc WriteLocalName(NameMsg) returns (google.protobuf.Empty) {} 10 rpc GetLocalName(google.protobuf.Empty) returns (NameMsg) {} 11 rpc GetLocalExtendedFeatures(PageNumberMsg) returns (FeaturesMsg) {} 12} 13 14message AddressMsg { 15 bytes address = 1; 16} 17 18message NameMsg { 19 bytes name = 1; 20} 21 22message PageNumberMsg { 23 uint32 page_number = 1; 24} 25 26message FeaturesMsg { 27 uint64 page = 1; 28} 29