24 lines
676 B
Protocol Buffer
24 lines
676 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bluetooth.hci;
|
|
|
|
import "google/protobuf/empty.proto";
|
|
import "facade/common.proto";
|
|
|
|
service HciFacade {
|
|
rpc SendCommand(facade.Data) returns (google.protobuf.Empty) {}
|
|
|
|
rpc RequestEvent(EventRequest) returns (google.protobuf.Empty) {}
|
|
rpc StreamEvents(google.protobuf.Empty) returns (stream facade.Data) {}
|
|
|
|
rpc RequestLeSubevent(EventRequest) returns (google.protobuf.Empty) {}
|
|
rpc StreamLeSubevents(google.protobuf.Empty) returns (stream facade.Data) {}
|
|
|
|
rpc SendAcl(facade.Data) returns (google.protobuf.Empty) {}
|
|
rpc StreamAcl(google.protobuf.Empty) returns (stream facade.Data) {}
|
|
}
|
|
|
|
message EventRequest {
|
|
uint32 code = 1;
|
|
}
|